@charset "UTF-8";

.vote-save-status { margin: 16px 0 0; text-align: center; overflow-wrap: anywhere; }

:root {
  --ink: #192f60;
  --muted: #696775;
  --rose: #ae7d85;
  --coral: #ed4058;
  --rose-pale: #fcf4f4;
  --rose-soft: #f1dedf;
  --gold: #b28a42;
  --gold-light: #dfd1b8;
  --gold-pale: #faf7f0;
  --paper: #fffdfa;
  --paper-translucent: rgba(255, 253, 250, .85);
  --white: #fff;
  --line: rgba(155, 131, 107, .25);
  --shadow: 0 6px 20px rgba(113, 91, 77, .07);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --display: "Zen Antique Soft", var(--serif);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 2%, rgba(248, 204, 211, .58), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(233, 214, 163, .35), transparent 26rem),
    #f8edef;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}
/* Shared ambient layer stays below all page content, including translucent paper. */
.ambient-background {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ambient-background::before, .ambient-background::after {
  position: absolute;
  inset: -12%;
  content: "";
  background: radial-gradient(ellipse at 16% 28%, rgba(239, 165, 183, .72), transparent 52%), radial-gradient(ellipse at 84% 78%, rgba(244, 185, 199, .74), transparent 48%);
  animation: ambient-veil 24s ease-in-out infinite alternate;
}
.ambient-background::after {
  background: radial-gradient(ellipse at 86% 20%, rgba(228, 199, 140, .66), transparent 48%), radial-gradient(ellipse at 12% 83%, rgba(239, 216, 167, .6), transparent 46%);
  animation-duration: 32s;
  animation-delay: -16s;
  animation-direction: alternate-reverse;
}
.ambient-light {
  position: absolute;
  left: var(--light-x);
  top: var(--light-y);
  z-index: 1;
  display: block;
  width: var(--light-size, 6px);
  height: var(--light-size, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, #fffdf1 15%, #f5dda5 46%, rgba(226, 187, 112, .12) 72%);
  box-shadow: 0 0 10px 3px rgba(248, 220, 163, .5);
  opacity: .65;
  animation: ambient-light-drift var(--light-duration, 18s) ease-in-out var(--light-delay, 0s) infinite;
}
.ambient-light.is-star { --light-size: 18px; border-radius: 0; background: none; box-shadow: none; color: #fff5d8; }
.ambient-light svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 4px rgba(217, 174, 89, .7)); }
.ambient-light:nth-child(1) { --light-x: 7%; --light-y: 18%; --light-duration: 18s; --light-delay: -4s; }
.ambient-light:nth-child(2) { --light-x: 94%; --light-y: 31%; --light-duration: 21s; --light-delay: -13s; --light-size: 8px; }
.ambient-light:nth-child(3) { --light-x: 4%; --light-y: 57%; --light-duration: 20s; --light-delay: -7s; }
.ambient-light:nth-child(4) { --light-x: 91%; --light-y: 77%; --light-duration: 16s; --light-delay: -2s; }
.ambient-light:nth-child(5) { --light-x: 8%; --light-y: 88%; --light-duration: 22s; --light-delay: -15s; }
.ambient-light:nth-child(6) { --light-x: 96%; --light-y: 49%; --light-duration: 19s; --light-delay: -9s; }
.ambient-light:nth-child(7) { --light-x: 18%; --light-y: 37%; --light-duration: 17s; --light-delay: -5s; --light-size: 5px; }
.ambient-light:nth-child(8) { --light-x: 81%; --light-y: 12%; --light-duration: 22s; --light-delay: -11s; }
.ambient-light:nth-child(9) { --light-x: 15%; --light-y: 71%; --light-duration: 19s; --light-delay: -3s; --light-size: 8px; }
.ambient-light:nth-child(10) { --light-x: 84%; --light-y: 61%; --light-duration: 20s; --light-delay: -16s; }
.ambient-light:nth-child(11) { --light-x: 27%; --light-y: 91%; --light-duration: 16s; --light-delay: -8s; --light-size: 5px; }
.ambient-light:nth-child(12) { --light-x: 74%; --light-y: 43%; --light-duration: 21s; --light-delay: -6s; }
@keyframes ambient-veil {
  from { transform: translate3d(-3%, -2%, 0) scale(1); opacity: .8; }
  to { transform: translate3d(3%, 3%, 0) scale(1.06); opacity: 1; }
}
@keyframes ambient-light-drift {
  0%, 100% { transform: translate3d(0, 8px, 0) scale(.85); opacity: .4; }
  50% { transform: translate3d(5px, -18px, 0) scale(1.1); opacity: .95; }
}
body.is-modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.notice { color: var(--muted); font-size: 11px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(223, 209, 184, .42);
  background: #fcf3f2;
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.site-brand {
  display: block;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}
.site-brand img { display: block; width: auto; height: 44px; max-width: calc(100vw - 82px); object-fit: contain; }
.menu-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-button span:not(.sr-only) { display: block; width: 13px; height: 1px; background: var(--ink); transition: .25s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
.global-menu {
  position: absolute;
  top: 55px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 18px;
  border-bottom: 0 solid var(--gold-light);
  background: #fcf3f2;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .28s ease, padding .28s ease, opacity .2s ease, visibility .2s ease;
}
.global-menu.is-open {
  max-height: calc(100dvh - 55px);
  overflow-y: auto;
  grid-template-rows: repeat(3, auto);
  padding: 12px 18px 18px;
  border-bottom-width: 1px;
  box-shadow: 0 12px 24px rgba(113, 91, 77, .1);
  opacity: 1;
  visibility: visible;
}
.global-menu > a, .global-menu-toggle { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border: 0; border-bottom: 1px solid var(--gold-light); background: transparent; color: var(--ink); text-align: center; text-decoration: none; cursor: pointer; }
.global-menu > a:last-child { border-bottom: 0; }
.global-menu-number { color: var(--gold); font-size: 9px; letter-spacing: .08em; }
.global-menu-arrow { display: inline-grid; width: 14px; height: 14px; place-items: center; transition: transform .2s ease; }
.global-menu-arrow .icon-chevron { --arrow-size: 10px; --arrow-rotation: 180deg; }
.global-menu-toggle[aria-expanded="true"] .global-menu-arrow { transform: rotate(180deg); }
.global-menu-submenu { --menu-work-background: rgba(241, 222, 223, .35); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; background: transparent; }
.global-menu-submenu[hidden] { display: none; }
.global-menu-submenu a, .global-menu-submenu > span { min-width: 0; padding: 7px 4px; color: var(--ink); font-size: 11px; line-height: 1.35; text-align: center; text-decoration: none; overflow-wrap: anywhere; }
.global-menu-submenu a:hover, .global-menu-submenu a:focus-visible { color: var(--gold); }
.global-menu-submenu > :is(a, span) > span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 561px) {
  .global-menu-submenu { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; padding-top: 4px; }
  .global-menu-submenu > a, .global-menu-submenu > span { flex: 0 1 auto; max-width: min(100%, 280px); padding: 7px 12px; border-radius: 5px; background: var(--menu-work-background); white-space: nowrap; }
}
@media (max-width: 560px) {
  .global-menu-submenu { max-height: calc(100dvh - 240px); overflow-y: auto; overscroll-behavior-y: contain; }
  .global-menu-submenu > a, .global-menu-submenu > span { padding: 3px 2px; }
  .global-menu-submenu > :nth-child(4n + 1),
  .global-menu-submenu > :nth-child(4n + 2) { background: var(--menu-work-background); }
}

.page-shell {
  width: 100%;
  overflow: hidden;
  background: transparent;
}
.page-shell > section:not(.hero) { width: min(100%, 560px); margin-inline: auto; background-color: var(--paper-translucent); }
.section-pad { padding: 48px 20px; }
.page-shell > section.section-tone { background: linear-gradient(145deg, rgba(255, 240, 242, .85), rgba(251, 246, 233, .85)); }
.section-heading { margin-bottom: 26px; text-align: center; }
.section-heading.ornament-heading { margin-bottom: 16px; }
.section-heading h2 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .04em;
}
.section-heading p { max-width: 440px; margin: 0 auto; color: var(--muted); font-size: 14px; line-height: 1.8; }
.section-heading .eyebrow, .eyebrow {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
}
.section-heading h2::after {
  display: block;
  width: 74px;
  height: 10px;
  margin: 14px auto 18px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 50px 1px no-repeat,
    radial-gradient(circle, var(--gold) 0 1.5px, transparent 2px) left center / 10px 10px no-repeat,
    radial-gradient(circle, var(--gold) 0 1.5px, transparent 2px) right center / 10px 10px no-repeat;
  content: "";
}
.secondary-heading { margin-bottom: 22px; }
.secondary-heading h2 { font-size: clamp(19px, 5vw, 24px); letter-spacing: .03em; }
.secondary-heading .eyebrow { font-size: 9px; font-weight: 600; letter-spacing: .2em; }
.secondary-heading h2::after { width: 40px; height: 1px; margin: 10px auto 14px; background: var(--gold); opacity: .7; }

.hero { position: relative; min-height: 400px; overflow: hidden; background: #f2e4e4; }
.hero-marquee { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 0; }
.marquee-row { display: flex; width: max-content; min-height: 0; flex: 1 1 0; gap: 0; }
.marquee-track { display: flex; height: 100%; flex: none; gap: 0; will-change: transform; }
.marquee-row[data-direction="left"] .marquee-track { animation: marquee-left var(--marquee-duration, 28s) linear infinite; }
.marquee-row[data-direction="right"] .marquee-track { animation: marquee-right var(--marquee-duration, 31s) linear infinite; }
.marquee-track img { width: var(--marquee-cover-width); height: 100%; aspect-ratio: 1; flex: none; object-fit: cover; object-position: center top; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(25, 47, 96, .04), rgba(25, 47, 96, .18)),
    radial-gradient(circle at center, rgba(255, 253, 249, .26), rgba(174, 125, 133, .28));
  pointer-events: none;
}
.hero-title-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 24px), 460px);
  transform: translate(-50%, -50%);
}
.hero-title-image { width: 100%; height: auto; filter: drop-shadow(0 10px 22px rgba(63, 42, 62, .14)); }
@keyframes marquee-left { to { transform: translateX(-100%); } }
@keyframes marquee-right { from { transform: translateX(-100%); } to { transform: translateX(0); } }

.intro-section, .pre-hero {
  position: relative;
  padding-top: 42px;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .72) 0 2px, transparent 2.5px),
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .72) 0 2px, transparent 2.5px),
    linear-gradient(45deg, transparent 49.2%, rgba(255, 255, 255, .52) 49.35% 50.65%, transparent 50.8%),
    linear-gradient(-45deg, transparent 49.2%, rgba(255, 255, 255, .52) 49.35% 50.65%, transparent 50.8%),
    linear-gradient(to bottom, var(--intro-background-start, rgba(249, 220, 226, .72)), var(--intro-background-end, rgba(252, 233, 236, .72)));
  background-position: 0 0;
  background-size: 56px 56px, 56px 56px, 56px 56px, 56px 56px, auto;
}
.intro-section::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: 0; height: 120px; background: linear-gradient(to bottom, rgba(252, 233, 236, 0), rgba(252, 239, 240, .98)); content: ""; pointer-events: none; }
.intro-section > * { position: relative; z-index: 1; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.feature-more { margin: 16px 0 0; color: var(--gold); font-family: var(--serif); font-size: 14px; letter-spacing: .08em; text-align: center; }
.feature-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 9px 48px;
  overflow: hidden;
  border: 2px solid rgba(178, 138, 66, .72);
  border-radius: 80px 80px 12px 12px;
  background: linear-gradient(180deg, #fff 15%, #fff0f2 100%);
  box-shadow: 0 8px 22px rgba(113, 91, 77, .08);
  text-align: center;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card::before {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(178, 138, 66, .72);
  border-radius: 77px 77px 10px 10px;
  content: "";
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(113, 91, 77, .09); }
.feature-number { position: absolute; top: 10px; color: var(--gold); font-family: var(--serif); font-size: 10px; letter-spacing: .16em; }
.feature-icon { display: block; width: 64px; height: auto; flex-shrink: 0; object-fit: contain; }
.feature-card strong { margin: 12px 0 9px; color: var(--ink); font-family: var(--display); font-size: 14px; font-weight: 400; line-height: 1.55; }
.feature-card small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.feature-card-link-arrow { position: absolute; bottom: 20px; left: 50%; display: flex; width: 84px; height: 16px; align-items: center; gap: 8px; color: var(--gold); transform: translateX(-50%); animation: feature-arrow-sway 2.4s ease-in-out infinite; }
.feature-card-link-arrow::before { display: block; width: 60px; height: 4px; flex: none; background: radial-gradient(circle, currentColor 0 2px, transparent 2px) left center / 12px 4px repeat-x; content: ""; }
.feature-card-link-arrow .icon-chevron { --arrow-size: 16px; position: relative; left: 0; }
@keyframes feature-arrow-sway {
  0%, 100% { translate: 0 0; }
  50% { translate: 4px 0; }
}
.lead-copy { max-width: 420px; margin: 30px auto 0; color: var(--muted); text-align: center; }

.author-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0; list-style: none; }
.author-grid li { min-width: 0; }
.author-card {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(178, 138, 66, .5);
  border-radius: 4px;
  background: var(--white);
  text-decoration: none;
  transition: .25s ease;
}
.author-card::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(142, 83, 96, .55), rgba(142, 83, 96, 0) 55%); content: ""; pointer-events: none; }
.author-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.author-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .3s ease; }
.author-card:hover .author-thumb { transform: scale(1.035); }
.author-card-copy { position: relative; z-index: 2; display: grid; min-width: 0; width: 100%; align-self: flex-end; padding: 20px 6px 7px; color: var(--white); text-align: center; }
.author-name, .author-work { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-name { font-family: var(--display); font-size: 10px; line-height: 1.4; }
.author-work { overflow: hidden; font-size: 7px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.coming-note { margin: 18px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.signed-book-detail-link { display: flex; margin: 0 auto 24px; }
.component-sample { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 18px; width: 100%; margin: 8px auto 0; padding: 16px; border: 1px solid var(--gold); border-radius: 4px; background: rgba(255, 255, 255, .86); }
.component-sample-panel { display: grid; grid-template-rows: minmax(0, 1fr); align-self: stretch; contain: size; min-width: 0; }
.component-sample-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.component-sample-copy { color: var(--ink); font-size: 13px; line-height: 1.9; }
.component-sample-copy p { margin: 0; }
.component-sample-copy p + p { margin-top: 24px; }
.subsection-title { margin: 0 0 5px; color: var(--ink); font-family: var(--display); font-size: 20px; font-weight: 400; text-align: center; }
.subsection-copy { max-width: 420px; margin: 0 auto 22px; color: var(--muted); font-size: 14px; text-align: center; }

.sheet-heading h2 { display: block; }
.sheet-heading p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; }
.sheet-toc { width: 100%; margin: 24px auto; }
.sheet-toc h3 { margin: 0 0 16px; color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 600; text-align: center; }
.sheet-toc-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 4px; }
.sheet-toc-list button { flex: 0 1 auto; width: auto; min-width: 0; max-width: 100%; padding: 3px 6px; border: 1px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink); cursor: pointer; font-family: var(--serif); font-size: 10px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; overflow-wrap: anywhere; transition: background-color .2s ease; }
.sheet-toc-list button:hover, .sheet-toc-list button:focus-visible { border-color: var(--ink); color: var(--ink); background: var(--gold-pale); }
.sheet-toc-list button { display: inline-flex; flex-wrap: wrap; gap: 0 3px; }
.sheet-toc-list button > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.sheet-toc-list button[aria-current="true"] { border-color: var(--ink); color: var(--white); background: var(--ink); box-shadow: none; }
.creator-sheet-slider { width: 100%; margin: 0 auto; padding: 16px 12px; border-radius: 8px; background: rgba(255, 255, 255, .5); scroll-margin-top: 76px; outline: 0; }
.creator-sheet-context { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 20px; }
.creator-context-link { display: flex; min-width: 0; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; }
.creator-context-link.is-next { justify-content: flex-end; text-align: right; }
.creator-context-link > span:not(.creator-context-arrow) { display: grid; min-width: 0; }
.creator-context-link strong, .creator-context-link small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creator-context-link strong { font-family: var(--serif); font-size: 9px; font-weight: 600; }
.creator-context-link small { color: var(--muted); font-size: 9px; }
.creator-context-arrow { display: grid; width: 26px; height: 26px; flex: 0 0 26px; place-items: center; border: 0; background: transparent; color: var(--ink); line-height: 1; }
.creator-context-arrow .icon-chevron { --arrow-size: 14px; }
.creator-sheet-context > p { display: flex; align-items: baseline; margin: 0; color: var(--muted); font-family: var(--serif); line-height: 1; white-space: nowrap; }
.creator-sheet-context > p strong { color: var(--ink); font-size: 24px; }
.creator-sheet-context > p span { margin-left: 3px; font-size: 10px; }
.creator-sheet-context > p b { font-weight: 400; }
.creator-sheet-stage { position: relative; width: calc(100% - 72px); margin: 0 auto; }
.creator-sheet-image, .author-sheet {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(113, 91, 77, .12);
  cursor: zoom-in;
  transition: transform .25s ease, border-color .25s ease;
}
.creator-sheet-image { display: block; width: 100%; margin: 0 auto; }
.creator-sheet-image:hover, .creator-sheet-image:focus-visible, .author-sheet:hover, .author-sheet:focus-visible { border-color: var(--gold); transform: translateY(-4px); }
.creator-sheet-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.creator-sheet-overlay-arrow { position: absolute; top: 50%; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 1px solid var(--gold-light); border-radius: 50%; background: rgba(255, 255, 255, .96); box-shadow: 0 5px 14px rgba(113, 91, 77, .14); color: var(--ink); cursor: pointer; font-family: var(--serif); transform: translateY(-50%); transition: .2s ease; }
.creator-sheet-overlay-arrow.is-prev { left: -36px; }
.creator-sheet-overlay-arrow.is-next { right: -36px; }
.creator-sheet-overlay-arrow:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--ink); }
.button.creator-shop-link { display: flex; width: fit-content; min-width: 280px; margin: 18px auto 0; }
.creator-shop-link[hidden] { display: none; }

.template-grid { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; margin: 0 auto; gap: 16px; }
.sheet-section > .template-section { margin-top: 48px; }
.template-section .section-heading h2 { font-size: clamp(22px, 6vw, 25px); }
.template-card { width: 100%; min-width: 0; margin-inline: auto; padding: 16px 12px 14px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .5); text-align: center; }
.template-card a { display: block; width: min(76%, 320px); margin-inline: auto; background: var(--white); text-decoration: none; }
.template-card img { width: 100%; aspect-ratio: 4 / 5; border: 1px solid var(--gold-light); object-fit: cover; }
.template-save-note { margin: 6px 0 0; color: var(--muted); font-family: var(--serif); font-size: 10px; }
.template-card h3 { margin: 0 0 10px; color: var(--ink); font-family: var(--display); font-size: 14px; font-weight: 400; line-height: 1.55; }
.button {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-width: 280px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: none; border-color: var(--gold); background: var(--gold-pale); box-shadow: 0 3px 10px rgba(113, 91, 77, .06); }
.button-primary, .button-outline, .button-dark { border-color: var(--gold); background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: none; }
.button-block { display: flex; width: fit-content; margin-inline: auto; }
.button:disabled { border-color: var(--line); background: #f2eeea; color: #8a8281; box-shadow: none; cursor: not-allowed; transform: none; }

.vote-participation { margin: 0 0 14px; font-size: 14px; text-align: center; }
.vote-participation h3 { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 6px; font-size: 14px; }
.vote-participation h3::before, .vote-participation h3::after { width: 20px; height: 1px; background: var(--gold); content: ""; }
.vote-participation-steps { display: grid; gap: 3px; width: fit-content; max-width: 100%; margin: 0 auto; padding: 0; list-style: none; text-align: left; }
.vote-participation-steps li { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: baseline; gap: 7px; }
.vote-step-number { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--gold-light); border-radius: 50%; background: var(--rose-pale); color: var(--gold); font-size: 12px; font-weight: 700; line-height: 1; }
.vote-participation-steps strong { background: linear-gradient(transparent 65%, var(--rose-soft) 65%); font-weight: 700; }
.vote-participation-complete { color: #ba2946; font-weight: 700; white-space: nowrap; }
.vote-deadline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin: 10px 0 0; padding: 6px 8px; border-radius: 4px; background: #f9dce3; color: #ba2946; font-weight: 700; }
.vote-deadline-label { padding: 1px 7px; border-radius: 3px; background: #ba2946; color: var(--white); font-size: 12px; white-space: nowrap; }
.vote-deadline time { font-size: 14px; white-space: nowrap; }
.vote-form { display: grid; gap: 18px; }
.vote-questions { overflow: hidden; border: 1px solid rgba(178, 138, 66, .42); border-radius: 10px; background: rgba(255, 255, 255, .75); }
.vote-form fieldset { display: grid; grid-template-columns: 1fr 32px 1fr; align-items: center; gap: 6px; margin: 0; padding: 16px; border: 0; border-radius: 0; background: transparent; }
.vote-form fieldset + fieldset { border-top: 1px solid rgba(178, 138, 66, .28); }
.vote-form legend { grid-column: 1 / -1; float: left; width: 100%; margin-bottom: 10px; padding: 0; color: var(--ink); font-family: var(--serif); font-size: 12px; text-align: center; }
.vote-form label { position: relative; cursor: pointer; }
.vote-form input { position: absolute; opacity: 0; pointer-events: none; }
.vote-form label span { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); transition: .2s ease; }
.vote-form input:checked + span { border-color: var(--gold); background: var(--gold-pale); color: var(--ink); box-shadow: inset 0 0 0 1px var(--gold); }
.vote-form input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.vote-form fieldset b { color: var(--gold); font-family: var(--serif); font-size: 10px; font-weight: 500; text-align: center; }
.vote-form > .button { justify-self: center; margin-top: 8px; border-color: var(--gold); background: linear-gradient(90deg, #ed4058, #efa6b0); color: var(--white); }
.vote-form > .button:hover { border-color: var(--gold); background: linear-gradient(90deg, #ed4058, #efa6b0); color: var(--white); }
.vote-form > .button:disabled { border-color: var(--line); background: #f2eeea; color: #8a8281; cursor: not-allowed; }
.vote-message { min-height: 1.8em; margin: 0; color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .08em; text-align: center; }
.vote-message:not(:empty) { display: flex; align-items: center; justify-content: center; gap: 10px; }
.vote-message:not(:empty)::before, .vote-message:not(:empty)::after { display: block; width: auto; height: auto; flex: 0 0 auto; background: none; color: var(--gold); content: "✦ ･ ✧"; font-size: 15px; letter-spacing: .08em; opacity: .86; -webkit-mask: none; mask: none; text-shadow: 0 0 8px rgba(214, 183, 104, .4); }
.vote-message:not(:empty)::after { content: "✧ ･ ✦"; }
.vote-result[hidden] { display: none; }
.vote-result { margin-top: 28px; padding: 20px; border: 1px solid var(--gold); border-radius: 10px; background: var(--white); text-align: center; }
.vote-result .vote-message { margin-bottom: 14px; }
.vote-result-download { display: block; width: min(100%, 430px); margin: 0 auto; overflow: hidden; border: 1px solid var(--gold-light); background: var(--paper); text-decoration: none; }
.vote-result-download img { display: block; width: 100%; height: auto; }
.vote-result-download:hover { border-color: var(--gold); }
.vote-result-save-note { width: min(100%, 430px); margin: 6px auto 0; color: var(--muted); font-family: var(--serif); font-size: 11px; text-align: center; }
.vote-result-text { display: block; width: min(100%, 430px); margin: 18px auto 0; padding: 14px 16px; border: 1px solid #b7b3b2; border-radius: 6px; background: #faf9f7; color: var(--ink); font-family: var(--serif); font-size: 13px; line-height: 1.8; text-align: left; resize: none; overflow: hidden; cursor: text; transition: background-color .2s ease, box-shadow .2s ease; }
.vote-result-text:hover { border-color: #96918f; background: #f5f3f1; box-shadow: inset 0 0 0 1px rgba(150, 145, 143, .18); }
.vote-result-text:focus-visible { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }
.vote-copy-note { margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.vote-share-heading { margin: 18px 0 0; color: var(--gold); font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: .08em; text-align: center; }
.vote-share-button { margin-top: 10px; border-color: var(--gold); background: linear-gradient(90deg, #ed4058, #efa6b0); color: var(--white); }
.vote-share-button::before { width: var(--arrow-size, 16px); flex: 0 0 var(--arrow-size, 16px); margin-right: 12px; content: ""; }
.vote-share-button:hover { border-color: var(--gold); background: linear-gradient(90deg, #ed4058, #efa6b0); color: var(--white); }
.vote-share-note { margin: 9px 0 0; color: var(--muted); font-size: 10px; }

.release-preview { max-width: 430px; margin: 0 auto 22px; }
.release-image-button { display: block; width: 100%; padding: 0; border: 1px solid var(--gold-light); background: var(--white); box-shadow: var(--shadow); cursor: pointer; text-decoration: none; }
.release-preview img { width: 100%; }
.release-preview figcaption { margin-top: 6px; color: var(--muted); font-family: var(--serif); font-size: 11px; letter-spacing: .08em; text-align: center; }
.usage-rules { width: 100%; max-width: 430px; margin: 24px auto 0; border: 0; border-radius: 8px; background: #fcf3f2; scroll-margin-top: 76px; }
.usage-rules > h3 { margin: 0; padding: 12px 16px 4px; color: var(--ink); font-family: var(--serif); font-size: 14px; font-weight: 500; text-align: center; }
.usage-rules div { padding: 0 16px 12px; color: var(--muted); font-size: 11px; }
.usage-rules div p { margin: 10px 0 5px; }
.usage-rules ul { margin: 0 0 12px; padding-left: 1.6em; }
.usage-rules li + li { margin-top: 5px; }
.usage-rules strong { color: var(--gold); }

.content-carousel { position: relative; margin: 22px -24px 24px; overflow: hidden; }
.content-carousel-track { display: flex; gap: 12px; padding: 5px 42px 18px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.content-carousel-track::-webkit-scrollbar { display: none; }
.content-carousel-slide { flex: 0 0 auto; overflow: hidden; scroll-snap-align: center; }
.content-carousel-feature .content-carousel-slide { width: min(82%, 390px); border: 1px solid var(--gold-light); border-radius: 7px; background: var(--white); box-shadow: 0 8px 20px rgba(113, 91, 77, .08); }
.content-carousel-feature img { width: 100%; transition: transform .35s ease; }
.content-carousel-feature a:hover img { transform: scale(1.025); }
.content-carousel-sns .content-carousel-slide { width: calc((100% - 62px) / 2); }
.content-carousel-sns img { display: block; width: 100%; height: auto; box-shadow: 0 5px 12px rgba(113, 91, 77, .08); }
.carousel-arrow { position: absolute; top: 50%; z-index: 4; display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--gold-light); border-radius: 50%; background: rgba(255, 253, 250, .94); box-shadow: 0 4px 12px rgba(113, 91, 77, .12); color: var(--ink); cursor: pointer; transform: translateY(-50%); transition: border-color .2s ease, background .2s ease; }
.carousel-arrow.is-prev { left: 18px; }
.carousel-arrow.is-next { right: 18px; }
.carousel-arrow:hover { border-color: var(--gold); background: var(--gold-pale); }
.carousel-arrow .icon-chevron { --arrow-size: 15px; }

.site-footer {
  width: 100%;
  padding: 34px 20px;
  border-top: 1px solid rgba(255,255,255,.7);
  background: #292b3f;
  color: var(--white);
  text-align: center;
}
.site-footer > p { margin: 0 0 14px; font-family: var(--serif); }
.share-links { display: flex; justify-content: center; gap: 14px; margin-bottom: 22px; }
.share-links a { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.1); text-decoration: none; transition: transform .2s ease; }
.share-links a img { width: 32px; height: 32px; object-fit: contain; }
.share-links a img.bluesky-icon { border-radius: 50%; }
.share-links a:hover { transform: translateY(-3px); }
.site-footer small { color: rgba(255, 255, 255, .7); font-size: 9px; }
.compact-footer { padding-block: 28px; }
.floating-actions { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: flex; flex-direction: column; align-items: center; width: 90px; padding-bottom: 0; pointer-events: none; transition: padding-bottom .25s ease; }
.floating-actions.has-back-to-top { padding-bottom: 60px; }
.back-to-top { position: absolute; left: 50%; bottom: 0; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; background: linear-gradient(135deg, #ed4058, #efa6b0); box-shadow: 0 3px 12px rgba(113, 91, 77, .09); color: var(--white); cursor: pointer; opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; visibility: hidden; pointer-events: none; }
.back-to-top.is-visible { opacity: 1; transform: translate(-50%, 0); visibility: visible; pointer-events: auto; }
.floating-vote-link { display: block; width: 100%; pointer-events: auto; }
.floating-vote-link img { display: block; width: 100%; height: auto; animation: vote-stamp-hop 2.8s ease-in-out infinite; }
.floating-vote-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 50%; }
@media (min-width: 561px) {
  .floating-actions { width: 120px; }
}
@keyframes vote-stamp-hop {
  0%, 40%, 54%, 68%, 100% { transform: translateY(0); }
  47% { transform: translateY(-6px); }
  61% { transform: translateY(-3px); }
}

/* Author page */
.author-page { --purchase-bar-space: calc(62px + env(safe-area-inset-bottom, 0px)); background-color: #f8edef; }
.author-page .compact-footer { padding-bottom: calc(var(--purchase-bar-space) + 16px); }
.author-page .floating-actions { bottom: calc(var(--purchase-bar-space) + 12px); }
.author-shell { width: min(100%, 560px); min-height: calc(100vh - 56px); margin-inline: auto; padding: 20px 20px 48px; background: var(--paper-translucent); }
.author-pager { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; max-width: 520px; margin: 0 auto 12px; padding: 0 0 12px; border-bottom: 1px solid var(--ink); }
.author-pager > :is(a, .author-pager-link) { display: flex; min-width: 0; align-items: center; gap: 7px; text-decoration: none; }
.author-pager > .is-next { justify-content: flex-end; }
.author-pager-arrow { display: grid; width: 18px; height: 24px; flex: 0 0 18px; place-items: center; color: var(--ink); }
.author-pager-arrow .icon-chevron { --arrow-size: 11px; }
.author-pager-copy { display: grid; min-width: 0; font-family: var(--serif); line-height: 1.35; }
.author-pager-copy small, .author-pager-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-pager-copy small { font-size: 8px; font-weight: 400; }
.author-pager-copy strong { color: var(--ink); font-size: 9px; font-weight: 500; }
.author-pager .is-next .author-pager-copy { text-align: right; }
.author-pager p { margin: 0; line-height: 1; }
.author-pager p strong { color: var(--ink); font-family: var(--serif); font-size: 24px; }
.author-pager p span { margin-left: 3px; color: #aaa0ad; font-size: 11px; }
@media (min-width: 561px) {
  .author-pager, .creator-sheet-context { gap: 12px; }
}
.author-back-link { display: flex; width: max-content; align-items: center; margin: 40px auto 0; color: var(--ink); font-family: var(--serif); font-size: 14px; text-decoration: none; }
.author-back-link .icon-chevron { --arrow-rotation: -90deg; --arrow-size: 12px; position: relative; left: 0; margin-right: 8px; transition: left .2s ease; }
.author-back-link:hover .icon-chevron, .author-back-link:focus-visible .icon-chevron { left: -3px; }
.author-article { max-width: 520px; margin: 0 auto; }
.author-title { margin-bottom: 18px; overflow-wrap: anywhere; }
.author-title a { text-decoration: none; }
.author-title h1 { margin: 3px 0 1px; color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.5; }
.author-title > p:last-child { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 14px; }
.book-visuals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: 14px; }
.book-visuals a { display: block; overflow: hidden; border: 1px solid var(--gold-light); border-radius: 7px; background: #fff; box-shadow: 0 9px 22px rgba(113, 91, 77, .08); text-decoration: none; }
.book-visuals img { width: 100%; height: 100%; aspect-ratio: 200 / 297; object-fit: cover; }
.book-visuals-stacked { grid-template-columns: minmax(0, 1fr); }
.book-visuals-stacked img { display: block; height: auto; aspect-ratio: auto; object-fit: contain; }
@media (min-width: 561px) {
  .book-visuals-stacked { width: min(100%, 400px); margin-inline: auto; }
}
.author-purchase-bar { position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; z-index: 45; display: flex; justify-content: center; width: min(100%, 560px); padding: 0 20px; transform: translateX(-50%); pointer-events: none; }
.author-purchase-primary { width: min(100%, 320px); min-width: 0; }
.is-purchase-confirm-open { overflow: hidden; }
.purchase-confirm-dialog { position: fixed; width: min(400px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 32px 24px 24px; overflow-y: auto; border: 1px solid var(--gold); border-radius: 12px; background: var(--paper); color: var(--ink); text-align: center; box-shadow: var(--shadow); }
.purchase-confirm-dialog::backdrop { background: rgba(25, 47, 96, .5); }
.purchase-confirm-dialog h2 { margin: 0 0 16px; font-size: 20px; }
.purchase-confirm-dialog p { margin: 0 0 20px; font-size: 14px; }
.purchase-confirm-close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 26px; cursor: pointer; }
.purchase-confirm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.purchase-confirm-actions .button { width: 100%; min-width: 0; margin: 0; padding-inline: 12px; }
.purchase-confirm-actions [aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.purchase-confirm-dialog .purchase-confirm-unavailable { color: var(--muted); font-size: 12px; }
.author-fair-cell { display: flex; min-width: 0; align-items: center; justify-content: center; margin-top: 16px; }
.author-fair-link { display: inline-flex; align-items: center; color: var(--ink); font-family: var(--serif); font-size: 13px; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.author-fair-link .icon-chevron { position: relative; left: 0; margin-left: 4px; transition: left .2s ease; }
.author-fair-link:hover .icon-chevron, .author-fair-link:focus-visible .icon-chevron { left: 3px; }
.author-purchase-primary .button { width: 100%; flex-direction: row; align-items: center; justify-content: center; gap: 0; border-color: var(--gold); background: linear-gradient(90deg, #ed4058, #efa6b0); color: var(--white); pointer-events: auto; }
.author-purchase-copy { display: block; white-space: nowrap; }
.author-purchase-primary .icon-chevron { animation: purchase-arrow-sway 2.4s ease-in-out infinite; }
@keyframes purchase-arrow-sway {
  0%, 100% { left: 0; }
  50% { left: 4px; }
}
.author-purchase-primary .notice { margin: 0; color: inherit; text-align: center; }
.book-description { margin: 24px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.sign-note { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; overflow: hidden; border: 1px solid rgba(178, 138, 66, .42); background: linear-gradient(135deg, var(--gold-pale), var(--rose-pale)); }
.sign-note-mark { color: var(--gold); font-family: var(--serif); font-size: 9px; font-weight: 700; letter-spacing: .15em; writing-mode: vertical-rl; }
.sign-note strong { color: var(--ink); font-family: var(--serif); }
.sign-note p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.detail-section { margin-top: 24px; }
.detail-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.detail-heading > span { width: 3px; height: 22px; background: var(--gold); }
.detail-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 16px; font-weight: 600; }
.ingredient-box { display: grid; gap: 9px; padding: 16px; border: 1px solid rgba(174, 125, 133, .16); border-radius: 9px; background: var(--rose-pale); }
.ingredient-row { display: grid; grid-template-columns: minmax(70px, 1fr) auto 48px; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.85); }
.ingredient-row > span { color: var(--muted); font-size: 12px; }
.ingredient-row strong { color: var(--coral); font-size: 11px; text-align: right; }
.heart-meter { display: flex; align-items: center; gap: 3px; color: var(--coral); }
.heart-meter i { display: inline-flex; gap: 3px; font-style: normal; }
.heart-meter .empty { color: #e0d8d4; }
.heart-meter .small-heart.is-half { background: linear-gradient(to right, currentColor 50%, #e0d8d4 50%); }
.author-comment { margin: 0; padding: 17px 18px; border: 1px solid rgba(174, 125, 133, .16); border-radius: 9px; background: var(--rose-pale); color: var(--muted); font-family: var(--serif); font-size: 14px; }
.author-comment span { color: var(--gold); }
.author-sheet-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.author-sheet { display: block; width: min(72%, 330px); margin: 0 auto; }
.author-sheet img { width: 100%; }
.author-share-box { margin-top: 40px; padding: 22px 18px; border: 1px solid var(--gold-light); border-radius: 10px; background: linear-gradient(145deg, rgba(255,240,242,.94), rgba(251,246,233,.92)); box-shadow: var(--shadow); text-align: center; }
.author-share-box p { margin: 0 0 18px; color: var(--ink); font-family: var(--display); font-size: 16px; line-height: 1.5; }
.author-share-cheer { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink); }
.author-share-box .author-share-cheer .small-heart { align-self: center; margin: 0; color: var(--coral); }
.author-share-box p strong { font-size: 20px; font-weight: 400; }


/* One upward-pointing SVG: color inherits from the control, direction uses rotation.
   Override --arrow-color / --arrow-size on a control when needed. */
.icon-chevron, .back-to-top-arrow {
  display: inline-block;
  width: var(--arrow-size, 16px);
  height: var(--arrow-size, 16px);
  flex: 0 0 var(--arrow-size, 16px);
  background-color: var(--arrow-color, currentColor);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.636 10.706a1 1 0 0 0 1.414 0L8 5.756l4.95 4.95a1 1 0 0 0 1.414-1.414L8.708 3.636a1 1 0 0 0-1.414 0L1.636 9.292a1 1 0 0 0 0 1.414Z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.636 10.706a1 1 0 0 0 1.414 0L8 5.756l4.95 4.95a1 1 0 0 0 1.414-1.414L8.708 3.636a1 1 0 0 0-1.414 0L1.636 9.292a1 1 0 0 0 0 1.414Z"/></svg>') center / contain no-repeat;
  transform: rotate(var(--arrow-rotation, 90deg));
}
.is-prev .icon-chevron { --arrow-rotation: -90deg; }
.is-next .icon-chevron { --arrow-rotation: 90deg; }
.back-to-top-arrow { --arrow-rotation: 0deg; }
.creator-sheet-overlay-arrow { --arrow-size: 18px; }
/* J.GARDEN59 heart SVG and J.GARDEN58 star. */
.icon-close { position: relative; display: block; width: 16px; height: 16px; }
.icon-close::before, .icon-close::after { position: absolute; top: 7px; left: 0; width: 16px; height: 1px; background: currentColor; content: ""; transform: rotate(45deg); }
.icon-close::after { transform: rotate(-45deg); }
.small-heart { display: inline-block; width: 14px; height: 14px; flex-shrink: 0; background: currentColor; vertical-align: middle; -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') center / contain no-repeat; mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') center / contain no-repeat; }
.button .icon-chevron { position: relative; left: 0; margin-left: 12px; transition: left .2s ease; }
.button:hover .icon-chevron, .button:focus-visible .icon-chevron { left: 3px; }
a:not(.button) { transition: color .2s ease; }
a:not(.button):hover, a:not(.button):focus-visible { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.creator-context-link:hover strong, .creator-context-link:hover small, .creator-context-link:hover .creator-context-arrow { color: var(--gold); }
.back-to-top:hover { background: linear-gradient(135deg, #e93650, #ec929f); }

@media (max-width: 560px) {
  .feature-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .feature-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    grid-template-rows: auto auto;
    align-items: center;
    align-content: center;
    gap: 4px 10px;
    min-height: 104px;
    padding: 16px 14px;
    border-radius: 12px;
    text-align: left;
  }
  .feature-card::before { border-radius: 8px; }
  .feature-number { position: static; grid-column: 1; grid-row: 1; justify-self: center; line-height: 1; }
  .feature-card .feature-icon { grid-column: 1; grid-row: 2; justify-self: center; width: 48px; height: auto; }
  .feature-card strong { grid-column: 2; grid-row: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
  .feature-card small { grid-column: 2; grid-row: 2; min-width: 0; overflow-wrap: anywhere; }
  .feature-card strong br, .feature-card small br { display: none; }
  .feature-card-link-arrow { position: static; grid-column: 3; grid-row: 1 / 3; width: 42px; gap: 5px; transform: none; }
  .feature-card-link-arrow::before { width: 25px; height: 3px; background: radial-gradient(circle, currentColor 0 1.25px, transparent 1.25px) left center / 5px 3px repeat-x; }
  .feature-card-link-arrow .icon-chevron { --arrow-size: 12px; }
  /* A warmer core stays perceptible through the edge-to-edge cream surface. */
  .ambient-light:not(.is-star) { background: radial-gradient(circle, #fff8df 15%, #d9b466 50%, rgba(217, 180, 102, .18) 74%); }
  .ambient-light.is-star { color: #d9b466; }
  .ambient-light:nth-child(n + 7) { display: none; }
}

@media (max-width: 420px) {
  .section-pad { padding: 42px 20px; }
  .button, .button.creator-shop-link, .button.button-block { width: 100%; min-width: 0; }
  .hero { min-height: 320px; }
  .component-sample { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 14px; }
  .component-sample-panel { contain: none; grid-template-rows: auto; }
  .component-sample-image { height: auto; }
  .component-sample-copy p + p { margin-top: 12px; }
  .author-grid { gap: 7px; }
  .author-card { padding: 5px; }
  .author-name { font-size: 10px; }
  .author-shell { padding-inline: 20px; }
  .author-purchase-primary { width: 100%; }
  .detail-section { margin-top: 16px; }
  .author-pager small { font-size: 8px; }
  .ingredient-row { grid-template-columns: minmax(62px, 1fr) auto 40px; padding-inline: 11px; }
  .heart-meter .small-heart { width: 11px; height: 11px; }
}

/* プレ公開だけに適用。フル公開時は既存のレイアウト・内容へ戻る。 */
.release-coming-soon, .pre-hero { display: none; }
html[data-release-phase="pre"] .pre-hero { display: block; }
html[data-release-phase="pre"] [data-full-release-only],
html[data-release-phase="pre"] .author-page,
html[data-release-phase="pre"] [data-menu-authors-list],
html[data-release-phase="pre"] .hero,
html[data-release-phase="pre"] [data-menu-authors-toggle] .global-menu-arrow,
html[data-release-phase="pre"] [data-full-release-link] .feature-card-link-arrow { display: none; }
html[data-release-phase="pre"] .release-coming-soon { display: inline-block; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
html[data-release-phase="pre"] [data-full-release-link],
html[data-release-phase="pre"] [data-menu-authors-toggle] { pointer-events: none; cursor: default; }
html[data-release-phase="pre"] [data-full-release-link]:hover { transform: none; }
html[data-release-phase="pre"] .feature-coming-soon { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; }
html[data-release-phase="pre"] .menu-coming-soon { flex-shrink: 0; }
html[data-release-phase="pre"] .sheet-section > .template-section { margin-top: 0; }
.pre-hero {
  --intro-background-start: #efb5c5;
  --intro-background-end: rgba(249, 220, 226, .72);
  padding: 28px 20px 0;
  background-position: 0 bottom;
}
.pre-hero img { display: block; width: 100%; height: auto; margin: 0 auto; }
@media (min-width: 561px) {
  .pre-hero img { max-width: 450px; }
}
html[data-release-phase="pre"] .pre-hero + .intro-section { padding-top: 16px; padding-bottom: 0; }
html[data-release-phase="pre"] .intro-section::after { background: linear-gradient(to bottom, rgba(252, 239, 240, 0), #fceff0); }
html[data-release-phase="pre"] .page-shell > .sheet-section { background: linear-gradient(to bottom, #fceff0 0 48px, rgba(251, 246, 233, .85) 100%); }
@media (max-width: 560px) {
  html[data-release-phase="pre"] .feature-coming-soon { position: static; grid-column: 3; grid-row: 1 / 3; width: 42px; font-size: 9px; line-height: 1.5; }
  html[data-release-phase="pre"] .menu-coming-soon { font-size: 9px; letter-spacing: .03em; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-vote-link img { animation: none; }
  .author-purchase-primary .icon-chevron { animation: none; }
  .feature-card-link-arrow { animation: none; }
  .ambient-background::before, .ambient-background::after, .ambient-light { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
