:root {
  color-scheme: light;
  --ink: #24324a;
  --ink-soft: #5c667a;
  --paper: #fffdfa;
  --canvas: #f2f0e9;
  --line: #d9d8d0;
  --indigo: #364a72;
  --indigo-dark: #253757;
  --amber: #efaa32;
  --amber-soft: #ffedc3;
  --sage: #6b8e7d;
  --red: #b54a45;
  --shadow: 0 24px 70px rgb(37 55 87 / 0.11);
  font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-synthesis: none;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 0%, rgb(239 170 50 / 0.1), transparent 28rem),
    linear-gradient(rgb(36 50 74 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(36 50 74 / 0.025) 1px, transparent 1px), var(--canvas);
  background-size:
    auto,
    28px 28px,
    28px 28px,
    auto;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.skip-link {
  background: #fff;
  left: 1rem;
  padding: 0.6rem 1rem;
  position: fixed;
  top: -4rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
body > footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: auto;
  max-width: 1200px;
  padding: 1.35rem 2rem;
}

.site-header {
  position: relative;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 0.65rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  height: 2rem;
  place-items: center;
  position: relative;
  width: 2rem;
}

.brand-mark::before {
  border: 1px solid var(--indigo);
  border-radius: 50%;
  content: "";
  height: 1.75rem;
  position: absolute;
  width: 1.75rem;
}

.brand-mark i {
  background: var(--amber);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px var(--amber),
    0 0 14px rgb(239 170 50 / 0.65);
  height: 0.55rem;
  position: absolute;
  right: 0.02rem;
  top: 0.2rem;
  width: 0.55rem;
}

.brand-mark b {
  background: var(--indigo);
  height: 0.85rem;
  transform: rotate(45deg);
  width: 0.7rem;
}

.site-header nav,
body > footer nav {
  align-items: center;
  display: flex;
  gap: 1.5rem;
}

.site-header nav a,
body > footer a {
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-button {
  border: 1px solid rgb(36 50 74 / 0.3);
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.nav-button:hover {
  background: var(--ink);
  color: white;
}

main {
  overflow: hidden;
}

.lantern-stage {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(11rem, 0.8fr) minmax(24rem, 1.5fr) minmax(12rem, 0.7fr);
  margin: 2rem auto 5rem;
  max-width: 1180px;
  min-height: 520px;
  padding: 2rem;
  position: relative;
}

.lantern-stage::before {
  background: radial-gradient(circle, rgb(255 237 195 / 0.8), transparent 65%);
  content: "";
  height: 36rem;
  left: 50%;
  position: absolute;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 36rem;
}

.stage-copy,
.stage-meter,
.light-ring {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--indigo);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-copy {
  align-self: end;
  border-left: 1px solid var(--ink);
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.stage-copy p {
  color: var(--ink-soft);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0.75rem 0 0;
  max-width: 12rem;
}

.light-ring {
  aspect-ratio: 1;
  margin: auto;
  max-width: 31rem;
  width: 100%;
}

.ring-line {
  border: 1px dashed rgb(54 74 114 / 0.48);
  border-radius: 50%;
  inset: 11%;
  position: absolute;
}

.ring-line::before,
.ring-line::after {
  background: var(--canvas);
  border: 1px solid rgb(54 74 114 / 0.25);
  border-radius: 50%;
  content: "";
  inset: 9%;
  position: absolute;
}

.ring-line::after {
  background: transparent;
  border-color: rgb(54 74 114 / 0.13);
  inset: 21%;
}

.house-light {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.house-light i {
  background: var(--paper);
  border: 1px solid #a9adab;
  border-radius: 2px;
  box-shadow: 0 7px 18px rgb(36 50 74 / 0.08);
  display: block;
  height: 2.6rem;
  position: relative;
  width: 2.9rem;
}

.house-light i::before {
  background: inherit;
  border-left: 1px solid #a9adab;
  border-top: 1px solid #a9adab;
  content: "";
  height: 1.85rem;
  left: 0.48rem;
  position: absolute;
  top: -0.95rem;
  transform: rotate(45deg);
  width: 1.85rem;
}

.house-light i::after {
  background: #c5c7c3;
  bottom: 0;
  content: "";
  height: 1.35rem;
  left: 1.05rem;
  position: absolute;
  width: 0.72rem;
}

.house-light b {
  background: var(--canvas);
  border: 1px solid #b9bdb8;
  border-radius: 50%;
  color: #9ba09c;
  display: grid;
  font-size: 0.58rem;
  height: 1.2rem;
  margin-top: 0.45rem;
  place-items: center;
  width: 1.2rem;
}

.house-light[data-lit="true"] i {
  background: #fff6dc;
  border-color: var(--amber);
  box-shadow:
    0 0 28px rgb(239 170 50 / 0.52),
    0 8px 18px rgb(36 50 74 / 0.1);
}

.house-light[data-lit="true"] i::before {
  border-color: var(--amber);
}

.house-light[data-lit="true"] i::after {
  background: var(--amber);
}

.house-light[data-lit="true"] b {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
}

.house-light.h1 {
  left: 50%;
  top: 5%;
}
.house-light.h2 {
  left: 81%;
  top: 18%;
}
.house-light.h3 {
  left: 95%;
  top: 50%;
}
.house-light.h4 {
  left: 81%;
  top: 82%;
}
.house-light.h5 {
  left: 50%;
  top: 95%;
}
.house-light.h6 {
  left: 19%;
  top: 82%;
}
.house-light.h7 {
  left: 5%;
  top: 50%;
}
.house-light.h8 {
  left: 19%;
  top: 18%;
}

.notice-center {
  align-items: center;
  background: var(--paper);
  border: 1px solid #d7cfbd;
  box-shadow: 0 22px 55px rgb(36 50 74 / 0.13);
  display: flex;
  flex-direction: column;
  inset: 27% 29%;
  justify-content: center;
  padding: 1rem;
  position: absolute;
  text-align: center;
  transform: rotate(-1.2deg);
  z-index: 2;
}

.notice-center::before {
  background: var(--amber);
  content: "";
  height: 0.35rem;
  left: -0.4rem;
  position: absolute;
  right: -0.4rem;
  top: 1.1rem;
}

.notice-center span {
  border: 1px solid var(--ink);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin-bottom: 0.8rem;
  padding: 0.2rem 0.35rem 0.2rem 0.55rem;
}

.notice-center strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.notice-center small {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.55rem;
  margin-top: 0.65rem;
  padding-top: 0.45rem;
  width: 80%;
}

.stage-meter {
  align-self: end;
  background: rgb(255 253 250 / 0.76);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  padding: 1.2rem;
}

.stage-meter header,
.progress-copy > strong {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.stage-meter header span,
.progress-copy > span,
.reader-panel header > span,
.completion-panel header > span {
  color: var(--ink-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.stage-meter header strong {
  font-size: 1.25rem;
}

.meter-track {
  background: #deddd5;
  height: 0.35rem;
  margin: 0.8rem 0;
  overflow: hidden;
  width: 100%;
}

.meter-track i {
  background: linear-gradient(90deg, var(--indigo), var(--amber));
  display: block;
  height: 100%;
  width: 58%;
}

.stage-meter dl {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 1rem 0;
}

.stage-meter dl div {
  border-right: 1px solid var(--line);
  text-align: center;
}

.stage-meter dl div:last-child {
  border: 0;
}

.stage-meter dt {
  color: var(--ink-soft);
  font-size: 0.6rem;
}

.stage-meter dd {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.stage-meter > p {
  font-size: 0.72rem;
  margin: 0;
}

.stage-meter > p span {
  color: var(--amber);
}

.maker-shell {
  background: var(--indigo-dark);
  color: white;
  display: grid;
  gap: 5rem;
  grid-template-columns: 0.85fr 1.15fr;
  padding: clamp(4rem, 8vw, 7rem) max(2rem, calc((100vw - 1080px) / 2));
}

.maker-intro {
  align-self: start;
  position: sticky;
  top: 2rem;
}

.maker-intro .eyebrow {
  color: var(--amber);
}

.maker-intro h1,
.guide-board h1,
.prose h1,
.not-found h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.65rem, 2.6vw, 2rem);
  line-height: 1.45;
  margin: 0.9rem 0 1.25rem;
}

.maker-intro > p {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.88rem;
  max-width: 28rem;
}

.maker-intro ol {
  border-top: 1px solid rgb(255 255 255 / 0.16);
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.maker-intro li {
  border-bottom: 1px solid rgb(255 255 255 / 0.16);
  color: rgb(255 255 255 / 0.76);
  display: flex;
  font-size: 0.8rem;
  gap: 1rem;
  padding: 1rem 0;
}

.maker-intro li span {
  color: var(--amber);
  font-size: 0.65rem;
  font-weight: 800;
}

.maker {
  background: var(--paper);
  box-shadow: 16px 18px 0 rgb(12 25 48 / 0.42);
  color: var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  position: relative;
}

.maker::before {
  background: repeating-linear-gradient(90deg, var(--amber) 0 2rem, transparent 2rem 2.5rem);
  content: "";
  height: 0.35rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.maker > header,
.response-card > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.2rem;
}

.maker header small,
.response-card header small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.maker h2,
.response-card h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.25rem;
  margin: 0.15rem 0 0;
}

.paper-icon {
  border: 1px solid var(--ink);
  display: grid;
  height: 2.8rem;
  place-items: center;
  width: 2.3rem;
}

.paper-icon i,
.paper-icon i::before,
.paper-icon i::after {
  background: var(--ink);
  display: block;
  height: 1px;
  width: 1.15rem;
}

.paper-icon i::before,
.paper-icon i::after {
  content: "";
  transform: translateY(-0.35rem);
}

.paper-icon i::after {
  transform: translateY(0.3rem);
}

.field {
  display: block;
  margin: 0 0 1.15rem;
}

.field > span,
.segmented legend {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.field > span small {
  color: var(--ink-soft);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  background: #faf8f2;
  border: 1px solid #cbc9c0;
  border-radius: 0;
  outline: none;
  padding: 0.75rem 0.85rem;
  resize: vertical;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgb(54 74 114 / 0.12);
}

.field-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.6rem;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  min-height: 3.3rem;
  width: 100%;
}

.button.primary:disabled {
  filter: grayscale(1);
  opacity: 0.65;
}

.button.compact {
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
}

.action-status {
  font-size: 0.75rem;
  min-height: 1.4rem;
}

.action-status[data-state="error"] {
  color: var(--red);
}

.action-status[data-state="success"] {
  color: #38705b;
}

.private-page body {
  background: var(--canvas);
}

.notice-shell,
.manage-shell,
.guide-board,
.prose,
.not-found {
  margin: 3rem auto 6rem;
  max-width: 980px;
  padding: 0 2rem;
}

.notice-heading,
.manage-header {
  align-items: end;
  border-bottom: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.notice-heading h1,
.manage-header h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.manage-header p {
  color: var(--ink-soft);
  font-size: 0.74rem;
  margin: 0.25rem 0 0;
}

.state-pill {
  background: var(--ink);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  white-space: nowrap;
}

.notice-grid {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1.15fr 0.85fr;
}

.notice-paper {
  background:
    linear-gradient(
      90deg,
      transparent 2.6rem,
      rgb(181 74 69 / 0.14) 2.6rem 2.68rem,
      transparent 2.68rem
    ),
    repeating-linear-gradient(#fffdfa 0 2rem, #e8e3d8 2rem 2.05rem);
  border: 1px solid #d4cdbf;
  box-shadow: var(--shadow);
  min-height: 24rem;
  padding: 2rem 2.5rem 2rem 3.6rem;
  position: relative;
  transform: rotate(-0.35deg);
}

.notice-paper::before {
  background: var(--amber);
  content: "";
  height: 0.3rem;
  left: -0.5rem;
  position: absolute;
  right: -0.5rem;
  top: 1rem;
}

.notice-paper header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.notice-paper header span {
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  padding: 0.2rem 0.35rem 0.2rem 0.7rem;
}

.notice-paper header small {
  color: var(--ink-soft);
  font-size: 0.68rem;
}

.notice-paper > p {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 0.94rem;
  line-height: 2.15rem;
  margin: 0;
  min-height: 14rem;
  white-space: pre-wrap;
}

.notice-paper footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.6rem;
  padding-top: 0.65rem;
}

.progress-panel {
  padding: 1rem;
}

.light-ring.compact {
  max-width: 19rem;
}

.light-ring.compact .house-light i {
  height: 1.6rem;
  width: 1.8rem;
}

.light-ring.compact .house-light i::before {
  height: 1.1rem;
  left: 0.3rem;
  top: -0.58rem;
  width: 1.1rem;
}

.light-ring.compact .house-light i::after {
  height: 0.8rem;
  left: 0.65rem;
  width: 0.45rem;
}

.light-ring.compact .house-light b {
  font-size: 0.5rem;
  height: 1rem;
  margin-top: 0.25rem;
  width: 1rem;
}

.light-ring.compact .notice-center {
  inset: 28% 30%;
  padding: 0.4rem;
}

.light-ring.compact .notice-center strong {
  font-size: 0.65rem;
}

.light-ring.compact .notice-center span {
  font-size: 0.45rem;
  margin-bottom: 0.4rem;
}

.light-ring.compact .notice-center small {
  font-size: 0.42rem;
  margin-top: 0.35rem;
}

.progress-copy {
  margin: 1rem auto 0;
  max-width: 15rem;
}

.progress-copy > strong {
  font-size: 1.4rem;
}

.progress-copy p,
.completion-panel > p {
  color: var(--ink-soft);
  font-size: 0.72rem;
  margin: 0;
  text-align: center;
}

.summary-tiles {
  display: grid;
  gap: 1px;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  margin: 2.5rem 0;
}

.summary-tiles article {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  gap: 0.6rem;
  min-height: 5rem;
  padding: 1rem 1.2rem;
}

.summary-tiles small {
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.summary-tiles strong {
  font-size: 1.5rem;
  margin-left: auto;
}

.summary-tiles em {
  font-size: 0.55rem;
  font-style: normal;
  margin-left: 0.2rem;
}

.status-dot {
  border-radius: 50%;
  height: 0.55rem;
  width: 0.55rem;
}

.status-dot.yes {
  background: var(--sage);
}
.status-dot.maybe {
  background: var(--amber);
}
.status-dot.no {
  background: #a6aab2;
}

.response-card {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 8px 8px 0 rgb(54 74 114 / 0.1);
  margin: 3rem auto 1rem;
  max-width: 580px;
  padding: 2rem;
}

.segmented {
  border: 0;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 1.15rem;
  padding: 0;
}

.segmented legend {
  grid-column: 1 / -1;
}

.segmented label {
  cursor: pointer;
  display: block;
  position: relative;
}

.segmented input {
  opacity: 0;
  position: absolute;
}

.segmented span {
  border: 1px solid var(--line);
  display: block;
  font-size: 0.75rem;
  padding: 0.65rem;
  text-align: center;
}

.segmented input:checked + span {
  background: var(--indigo);
  border-color: var(--indigo);
  color: white;
}

.report-link,
.text-button {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 0.68rem;
  padding: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.report-link {
  display: block;
  margin: auto;
}

.owner-links {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.owner-links article {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: auto 1fr auto;
  padding: 1rem;
}

.owner-links article > span {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
}

.owner-links small {
  color: var(--ink-soft);
  display: block;
  font-size: 0.58rem;
}

.owner-links strong {
  font-size: 0.85rem;
}

.manage-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.25fr 0.75fr;
}

.reader-panel,
.completion-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.reader-panel > header,
.completion-panel > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
}

.reader-panel header strong,
.completion-panel header strong {
  font-size: 0.85rem;
  margin-left: auto;
}

.reader-list {
  display: grid;
  gap: 0.55rem;
}

.reader-person {
  border-left: 3px solid #a6aab2;
  background: #f7f5ef;
  padding: 0.7rem 0.85rem;
}

.reader-person[data-response="yes"] {
  border-color: var(--sage);
}
.reader-person[data-response="maybe"] {
  border-color: var(--amber);
}
.reader-person[data-response="no"] {
  border-color: #a6aab2;
}
.reader-person[data-response="read"] {
  border-color: var(--indigo);
}

.reader-person > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.reader-person strong {
  font-size: 0.78rem;
}

.reader-badge {
  color: var(--ink-soft);
  font-size: 0.62rem;
}

.reader-person p {
  color: var(--ink-soft);
  font-size: 0.68rem;
  margin: 0.35rem 0 0;
}

.empty-state {
  color: var(--ink-soft);
  font-size: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.completion-panel .light-ring {
  margin: 1rem auto;
}

.manage-actions {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.manage-actions .danger {
  color: var(--red);
  margin-left: auto;
}

.guide-board > header,
.prose > header {
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
}

.guide-board > header p,
.prose p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.guide-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: relative;
}

.guide-steps li > span {
  color: var(--amber);
  font-size: 0.65rem;
  font-weight: 800;
}

.guide-icon {
  align-items: center;
  border: 1px solid var(--ink);
  display: flex;
  font-size: 1.3rem;
  height: 3rem;
  justify-content: center;
  margin: 1.5rem 0;
  width: 3rem;
}

.guide-steps h2,
.prose h2 {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  margin: 0;
}

.guide-steps p {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.guide-note {
  background: var(--indigo-dark);
  color: white;
  margin-top: 2rem;
  padding: 1.5rem;
}

.guide-note strong {
  font-size: 0.85rem;
}

.guide-note p {
  color: rgb(255 255 255 / 0.68);
  font-size: 0.74rem;
  margin: 0.5rem 0 0;
}

.prose {
  max-width: 760px;
}

.prose section {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.not-found {
  padding-bottom: 8rem;
  padding-top: 6rem;
  text-align: center;
}

.not-found > span {
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.not-found p {
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

body > footer {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.7rem;
  margin-top: 2rem;
}

@media (max-width: 820px) {
  .lantern-stage {
    grid-template-columns: 1fr 2fr;
    margin-top: 0;
  }

  .lantern-stage .light-ring {
    grid-column: 1 / -1;
    grid-row: 1;
    max-width: 29rem;
  }

  .stage-copy,
  .stage-meter {
    grid-row: 2;
  }

  .maker-shell,
  .notice-grid,
  .manage-grid {
    gap: 2rem;
    grid-template-columns: 1fr;
  }

  .maker-intro {
    position: static;
  }

  .progress-panel,
  .completion-panel {
    margin: auto;
    max-width: 24rem;
    width: 100%;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  body > footer {
    padding: 1rem;
  }

  .site-header nav > a:first-child {
    display: none;
  }

  .brand {
    font-size: 0.9rem;
  }

  .lantern-stage {
    display: block;
    min-height: 0;
    padding: 1rem 1.3rem 3rem;
  }

  .lantern-stage::before {
    height: 25rem;
    width: 25rem;
  }

  .stage-copy {
    display: none;
  }

  .lantern-stage .light-ring {
    margin: 1rem auto 2.5rem;
  }

  .stage-meter {
    margin: 0 auto;
    max-width: 20rem;
  }

  .maker-shell {
    padding: 3.5rem 1.2rem;
  }

  .maker {
    padding: 1.6rem 1.25rem;
  }

  .field-pair,
  .owner-links {
    grid-template-columns: 1fr;
  }

  .notice-shell,
  .manage-shell,
  .guide-board,
  .prose,
  .not-found {
    margin-top: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .notice-heading,
  .manage-header {
    align-items: start;
    gap: 1rem;
  }

  .notice-paper {
    min-height: 21rem;
    padding: 1.7rem 1.2rem 1.5rem 2.7rem;
  }

  .summary-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .summary-tiles .read-tile {
    grid-column: 1 / -1;
  }

  .summary-tiles article {
    display: grid;
    gap: 0.2rem;
    justify-items: center;
    min-height: 4rem;
    padding: 0.7rem 0.4rem;
  }

  .summary-tiles strong {
    margin: 0;
  }

  .response-card {
    padding: 1.4rem 1rem;
  }

  .manage-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .manage-actions .danger {
    margin: 0;
  }

  body > footer {
    align-items: start;
    flex-direction: column;
    gap: 1rem;
  }

  body > footer nav {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .house-light[data-lit="true"] {
    animation: glow-in 0.6s ease both;
  }

  @keyframes glow-in {
    from {
      filter: brightness(0.8);
      opacity: 0.7;
    }
    to {
      filter: brightness(1);
      opacity: 1;
    }
  }
}
