@import url("/css/family-base.css");
:root {
  --cream: #faf7f1;
  --blue: #a9cbe4;
  --yellow: #f3d68a;
  --coral: #efa9a0;
  --mint: #b9d8bc;
  --ink: #233e3c;
  --muted: #65716b;
  --line: #dddcd1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #306b80;
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
img,
video {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 700;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.55rem;
}
p {
  color: var(--muted);
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
small,
.fine-print {
  font-size: 0.8rem;
}
.dev-strip {
  text-align: center;
  background: var(--ink);
  color: #e6eadf;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 5px 12px;
}
.dev-strip span {
  padding: 0 10px;
  color: var(--yellow);
}
.site-header {
  max-width: 1400px;
  margin: auto;
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.brand-sub {
  display: block;
  font-size: 24px;
}
.brand-symbol {
  display: block;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
  position: relative;
}
.brand-symbol > span {
  position: absolute;
  color: #b24b36;
  right: -12px;
  top: -4px;
  font-family: Arial;
  font-size: 22px;
}
nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 600;
}
.button {
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 14px 25px;
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  background: #375953;
  transform: translateY(-2px);
}
.button.small {
  padding: 10px 20px;
  font-size: 12px;
}
.button.outline {
  background: transparent;
  color: var(--ink);
}
.button.outline:hover {
  background: #e5e9dc;
}
.button.full {
  width: 100%;
}
.button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.text-link {
  font-weight: 600;
  font-size: 13px;
  display: inline-block;
}
.text-link:hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 22px;
}
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 45px 5% 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
  min-height: 640px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a85b46;
  margin-right: 7px;
}
.hero-copy {
  position: relative;
}
.hero h1 {
  font-size: clamp(3.8rem, 6.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin: 22px 0;
}
.hero h1 em {
  color: #a7503c;
  letter-spacing: -0.05em;
}
.hero-star {
  display: inline-block;
  color: #c29b3c;
  font-size: 0.55em;
  position: absolute;
  margin: 10px 30px;
  transform: rotate(10deg);
}
.hero p {
  font-size: 14px;
  line-height: 1.9;
  margin: 23px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.privacy-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 30px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.privacy-note > span {
  font-size: 19px;
}
.hero-art {
  height: 480px;
  position: relative;
}
.sun {
  position: absolute;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: var(--yellow);
  right: 4%;
  top: 8px;
}
.photo-frame {
  position: absolute;
  background: #fffdf8;
  box-shadow: 0 12px 35px #233e3c16;
  padding: 12px 12px 0;
  border: 1px solid #fffef5;
}
.frame-blue {
  width: 81%;
  height: 320px;
  left: 0;
  top: 48px;
  transform: rotate(-7deg);
  z-index: 2;
}
.scene {
  height: 257px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.cloud {
  position: absolute;
  height: 20px;
  width: 65px;
  background: #edf1e9;
  border-radius: 40px;
  top: 38px;
  left: 25px;
}
.cloud:before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  top: -11px;
  left: 18px;
  background: inherit;
  border-radius: 50%;
}
.c2 {
  left: auto;
  right: 38px;
  top: 66px;
  transform: scale(0.7);
}
.hill {
  position: absolute;
  border-radius: 50%;
  width: 130%;
  height: 180px;
  left: -30%;
  bottom: -90px;
  background: #8ca98b;
  transform: rotate(-12deg);
}
.hill.front {
  left: 30%;
  bottom: -110px;
  background: var(--mint);
  z-index: 3;
}
.house {
  position: absolute;
  background: #f5d9aa;
  width: 105px;
  height: 95px;
  left: 44%;
  bottom: 51px;
  z-index: 4;
}
.roof {
  position: absolute;
  width: 132px;
  height: 80px;
  background: #bc7057;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  left: -14px;
  top: -65px;
}
.window {
  width: 23px;
  height: 25px;
  background: var(--blue);
  border: 5px solid #f8ebcc;
  position: absolute;
  left: 14px;
  top: 20px;
}
.door {
  position: absolute;
  width: 26px;
  height: 45px;
  background: #6e8673;
  right: 16px;
  bottom: 0;
  border-radius: 15px 15px 0 0;
}
.tree {
  position: absolute;
  width: 55px;
  height: 90px;
  background: #4b7861;
  border-radius: 50% 50% 40% 40%;
  bottom: 49px;
  left: 15%;
  z-index: 4;
}
.tree:after {
  content: "";
  height: 39px;
  width: 7px;
  background: #70654a;
  position: absolute;
  bottom: -17px;
  left: 25px;
}
.t2 {
  left: auto;
  right: 8%;
  transform: scale(0.65);
  bottom: 70px;
}
.path {
  position: absolute;
  width: 47px;
  height: 100px;
  background: #e8d8b9;
  left: 59%;
  bottom: -20px;
  transform: rotate(-20deg);
  z-index: 3;
}
.frame-caption {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}
.frame-caption span {
  font-size: 22px;
  line-height: 1;
  color: #aa5749;
}
.frame-peach {
  width: 49%;
  height: 224px;
  right: 0;
  bottom: 10px;
  transform: rotate(12deg);
  z-index: 3;
}
.flower-art {
  height: 168px;
  background: var(--coral);
  overflow: hidden;
  position: relative;
}
.flower {
  color: #f9edb1;
  position: absolute;
  font-size: 125px;
  line-height: 1;
  top: 0;
  left: 27%;
  z-index: 2;
}
.flower-stem {
  height: 90px;
  width: 6px;
  background: #526e4e;
  position: absolute;
  bottom: -10px;
  left: 55%;
  transform: rotate(5deg);
}
.flower-leaf {
  font-size: 65px;
  position: absolute;
  left: 31%;
  bottom: -12px;
  color: #526e4e;
  transform: rotate(30deg);
}
.frame-peach .frame-caption {
  font-size: 10px;
}
.art-spark {
  position: absolute;
  font-size: 55px;
  color: #bd745c;
}
.spark-one {
  left: 7px;
  bottom: 49px;
  transform: rotate(20deg);
}
.spark-two {
  right: -13px;
  top: 130px;
  font-size: 32px;
  color: #526c56;
}
.floating-label {
  position: absolute;
  left: 7%;
  bottom: 44px;
  border-radius: 30px;
  background: var(--yellow);
  padding: 12px 19px;
  font-size: 11px;
  transform: rotate(-8deg);
  z-index: 4;
  box-shadow: 0 4px 8px #233e3c0a;
}
.floating-label span {
  font-size: 17px;
  margin-right: 7px;
}
.tiny-label {
  font-size: 7px;
  letter-spacing: 0.13em;
  position: absolute;
  top: 3px;
  left: 18%;
  transform: rotate(-7deg);
}
.ribbon {
  display: flex;
  gap: 45px;
  justify-content: center;
  align-items: center;
  background: var(--yellow);
  padding: 15px 20px;
  font-size: 18px;
  color: var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.ribbon span {
  font-size: 11px;
  letter-spacing: 0.03em;
}
.section-wrap {
  max-width: 1280px;
  margin: auto;
  padding: 78px 5%;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.section-heading h2 {
  margin-bottom: 0;
  font-size: 2.7rem;
}
.section-heading .eyebrow {
  margin-bottom: 14px;
}
.section-heading p {
  font-size: 12px;
  margin: 0 0 5px;
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.discovery {
  border-radius: 15px;
  padding: 26px;
  position: relative;
  min-height: 310px;
  transition: transform 0.2s;
}
.discovery:hover {
  transform: translateY(-5px);
}
.blue,
.tone-0 {
  background: var(--blue);
}
.yellow,
.tone-1 {
  background: var(--yellow);
}
.mint,
.tone-2 {
  background: var(--mint);
}
.tile-number {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tile-icon {
  font-size: 65px;
  position: relative;
  font-family: Georgia;
  line-height: 1.2;
  margin: 28px 0 20px;
}
.tile-icon > span {
  font-size: 27px;
  position: absolute;
  left: 48px;
  top: -7px;
  color: #8b4e39;
}
.discovery h3 {
  font-size: 25px;
  margin-bottom: 10px;
}
.discovery p {
  font-size: 11px;
  max-width: 85%;
  color: #425952;
}
.round-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  border: 1px solid #233e3c66;
  border-radius: 50%;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 27px;
}
.family-callout {
  max-width: 1150px;
  margin: 15px auto 90px;
  padding: 37px 45px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 35px;
  align-items: center;
}
.family-callout h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.family-callout .eyebrow {
  margin-bottom: 10px;
}
.family-callout p {
  font-size: 12px;
  margin: 0;
}
.family-callout .button {
  margin-left: auto;
  white-space: nowrap;
}
.callout-art {
  font-size: 85px;
  line-height: 1;
  color: #a95d4b;
  position: relative;
}
.callout-art span {
  position: absolute;
  font-size: 30px;
  color: #ba963e;
  top: -8px;
  right: -15px;
}
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: auto;
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 20px;
}
.footer-brand span {
  color: #a95d4b;
}
.site-footer p,
.site-footer small {
  font-size: 10px;
  margin: 6px 0;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 11px;
}
.auth-layout {
  max-width: 1100px;
  padding: 65px 5% 100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.auth-intro h1 {
  font-size: 4.3rem;
}
.auth-intro em {
  color: #a7503c;
}
.auth-intro p {
  font-size: 14px;
}
.auth-ornament {
  font-size: 110px;
  color: var(--coral);
  line-height: 1.4;
}
.auth-ornament span {
  font-size: 60px;
  color: #c3a24e;
}
.form-card,
.panel {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
}
.form-card h1 {
  font-size: 2.5rem;
}
.form-card h2 {
  font-size: 2rem;
  margin: 20px 0 12px;
}
.form-card > p {
  font-size: 13px;
}
.pill {
  display: inline-block;
  background: #e7eedf;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.notice {
  background: #edf0e4;
  border-left: 3px solid #789678;
  padding: 15px 18px;
  border-radius: 5px;
  font-size: 13px;
  margin: 20px 0;
}
form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 17px;
}
input,
textarea,
select {
  display: block;
  border: 1px solid #cfd4c8;
  border-radius: 8px;
  padding: 11px 13px;
  width: 100%;
  background: #fffefb;
  color: var(--ink);
  margin-top: 6px;
  font-size: 14px;
}
input[type="hidden"] {
  display: none;
}
textarea {
  resize: vertical;
}
.fine-print {
  color: var(--muted);
  font-weight: 400;
  margin: 20px 0 0;
}
.form-card .text-link {
  margin-top: 20px;
}
.otp-input {
  font-size: 26px;
  letter-spacing: 0.4em;
}
.narrow {
  max-width: 740px;
  min-height: 65vh;
}
.narrow h1 {
  margin-bottom: 25px;
}
.page-heading {
  margin-bottom: 40px;
  max-width: 850px;
}
.page-heading h1 {
  margin-bottom: 20px;
}
.page-heading p {
  max-width: 650px;
  font-size: 14px;
}
.heading-dot {
  color: #a5503c;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.album-card {
  border: 1px solid #233e3c16;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s;
}
.album-card:hover {
  transform: translateY(-4px);
}
.album-art {
  height: 200px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.album-art > span {
  font-size: 100px;
  line-height: 1;
  color: #233e3cb3;
  transform: rotate(-12deg);
  z-index: 1;
}
.album-lines {
  position: absolute;
  bottom: -130px;
  left: -30%;
  width: 160%;
  height: 220px;
  border: 1px solid #233e3c44;
  border-radius: 50%;
  box-shadow:
    0 -20px 0 0 #ffffff22,
    0 -40px 0 0 #ffffff22;
}
.album-info {
  background: #fffdf8;
  padding: 25px;
}
.album-info .eyebrow {
  font-size: 8px;
  margin-bottom: 14px;
}
.album-info h2 {
  font-size: 24px;
}
.album-info p {
  font-size: 12px;
  min-height: 35px;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
}
.empty-state > span {
  font-size: 50px;
  color: #a75f4b;
}
.empty-state h2 {
  font-size: 24px;
}
.empty-state p {
  font-size: 13px;
}
.page-tabs {
  display: flex;
  gap: 23px;
  margin: 24px 0;
  font-size: 13px;
  font-weight: 600;
}
.search-form {
  display: flex;
  gap: 8px;
  max-width: 500px;
}
.search-form input {
  margin: 0;
}
.search-form .button {
  white-space: nowrap;
}
.family-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.family-media-card {
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.media-visual {
  height: 240px;
  position: relative;
  background: #e8e9dc;
  overflow: hidden;
}
.media-visual img,
.media-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-caption {
  padding: 22px;
}
.media-caption .eyebrow {
  font-size: 8px;
  margin-bottom: 12px;
}
.media-caption h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.media-caption p {
  font-size: 12px;
  margin-bottom: 0;
}
.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fffdf8cc;
  padding: 10px 19px;
  font-size: 23px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 45px;
  align-items: center;
  margin: 30px 0 60px;
}
.media-stage {
  background: #e9e8de;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 300px;
}
.media-stage img,
.media-stage video {
  max-height: 600px;
  width: 100%;
  object-fit: contain;
}
.detail-copy h1 {
  font-size: 2.8rem;
}
.detail-copy p {
  font-size: 14px;
}
.detail-copy h3 {
  font-size: 15px;
  margin-top: 35px;
}
.reactions {
  display: flex;
  gap: 9px;
}
.reactions button {
  font-size: 22px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
}
.comments {
  max-width: 760px;
}
.comments h2 {
  font-size: 28px;
}
.comments article {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 20px;
}
.comments article p {
  white-space: pre-wrap;
}
.comments form {
  margin-top: 20px;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 12px;
  text-decoration: underline;
  color: var(--ink);
}
.timeline {
  max-width: 900px;
}
.timeline-entry {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 25px;
  border-left: 1px solid #aab5a7;
  padding: 0 0 45px 25px;
  position: relative;
}
.timeline-entry:before {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #a85b46;
  left: -6px;
  top: 17px;
  border: 3px solid var(--cream);
}
.timeline-date {
  font-size: 12px;
  padding-top: 15px;
}
.timeline-card {
  border-radius: 13px;
  padding: 30px;
}
.timeline-card h2 {
  font-size: 28px;
}
.timeline-card p {
  font-size: 13px;
}
.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.member-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-align: center;
  padding: 30px 20px;
}
.avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 36px Georgia;
}
.member-card h2 {
  font-size: 22px;
}
.member-card p {
  font-size: 12px;
}
.admin-tabs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 30px;
  font-size: 12px;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.panel {
  margin-bottom: 25px;
  scroll-margin-top: 25px;
}
.admin-grid .panel {
  margin: 0;
}
.panel h2 {
  font-size: 28px;
}
.panel > h3 {
  margin-top: 28px;
  font-size: 21px;
}
.admin-grid + .panel {
  margin-top: 25px;
}
details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
details form {
  margin-top: 20px;
}
summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 550px;
  text-align: left;
  font-size: 12px;
}
th,
td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
th {
  font-size: 10px;
  letter-spacing: 0.05em;
}
td select {
  font-size: 12px;
  padding: 8px;
}
.upload-zone {
  border: 1px dashed #8b9b89;
  border-radius: 12px;
  padding: 20px;
  background: #f0f1e8;
}
.upload-zone span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  margin: 8px 0;
}
.upload-zone input {
  font-size: 11px;
}
.action-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.danger {
  background: #8e3e31;
  border-color: #8e3e31;
}
.danger-text {
  color: #8e3e31;
}
.external-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.external-card {
  padding: 30px;
  border-radius: 15px;
}
.external-card h2 {
  font-size: 27px;
}
.external-card p,
.external-card > span:last-child {
  font-size: 12px;
}
.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;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 90px;
  }
}
@media (max-width: 1000px) {
  nav {
    gap: 16px;
  }
  .site-header {
    padding: 23px 5%;
  }
  .hero {
    min-height: 570px;
  }
  .hero-art {
    height: 405px;
  }
  .frame-blue {
    height: 280px;
  }
  .scene {
    height: 220px;
  }
  .frame-peach {
    height: 205px;
  }
  .flower-art {
    height: 148px;
  }
  .hero h1 {
    font-size: 4.7rem;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .family-callout {
    margin-left: 5%;
    margin-right: 5%;
    padding: 30px 0;
  }
  .callout-art {
    display: none;
  }
  .album-grid,
  .family-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-layout {
    gap: 40px;
  }
  .auth-intro h1 {
    font-size: 3.7rem;
  }
  .members-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .dev-strip {
    font-size: 8px;
    letter-spacing: 0.05em;
  }
  .site-header {
    position: relative;
    padding: 20px 6%;
    z-index: 10;
  }
  .brand {
    font-size: 15px;
  }
  .brand-sub {
    font-size: 20px;
  }
  .brand-symbol {
    font-size: 40px;
  }
  .menu-toggle {
    display: block;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 4%;
    right: 4%;
    background: #fffdf8;
    border: 1px solid var(--line);
    box-shadow: 0 15px 25px #233e3c12;
    border-radius: 14px;
    padding: 20px;
    align-items: stretch;
    gap: 16px;
  }
  #main-nav.open {
    display: flex;
    flex-direction: column;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 7% 45px;
    gap: 0;
  }
  .hero h1 {
    font-size: 4.4rem;
    margin: 20px 0;
  }
  .hero-star {
    margin: 11px 24px;
  }
  .hero p {
    font-size: 13px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-art {
    width: 100%;
    max-width: 450px;
    justify-self: center;
    height: 390px;
    margin-top: 30px;
  }
  .frame-blue {
    top: 37px;
    width: 80%;
    height: 275px;
  }
  .scene {
    height: 215px;
  }
  .frame-peach {
    width: 47%;
    height: 196px;
    bottom: 4px;
  }
  .flower-art {
    height: 141px;
  }
  .flower {
    font-size: 110px;
    left: 24%;
  }
  .floating-label {
    bottom: 25px;
    font-size: 10px;
    padding: 10px 14px;
    left: 1%;
  }
  .sun {
    width: 100px;
    height: 100px;
  }
  .tiny-label {
    font-size: 6px;
    top: 3px;
  }
  .spark-two {
    right: 0;
  }
  .ribbon {
    justify-content: flex-start;
    gap: 25px;
    padding: 12px 20px;
  }
  .ribbon span {
    font-size: 10px;
  }
  .section-wrap {
    padding: 50px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 2.1rem;
  }
  .section-heading p {
    margin-top: 18px;
  }
  .discovery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .discovery {
    min-height: 240px;
    padding: 24px;
  }
  .tile-icon {
    float: right;
    font-size: 77px;
    margin: 25px 16px;
  }
  .tile-icon > span {
    font-size: 29px;
  }
  .discovery h3 {
    margin: 50px 0 12px;
    font-size: 25px;
  }
  .discovery p {
    font-size: 12px;
    max-width: 75%;
  }
  .family-callout {
    margin: 0 6% 50px;
    display: block;
    padding: 28px 0;
  }
  .family-callout h2 {
    font-size: 27px;
  }
  .family-callout p br {
    display: none;
  }
  .family-callout .button {
    margin: 23px 0 0;
  }
  .site-footer {
    padding: 30px 6%;
    gap: 22px;
    display: block;
  }
  .footer-links {
    margin: 24px 0;
    gap: 25px;
    flex-wrap: wrap;
  }
  .auth-layout {
    display: block;
    padding: 40px 6% 60px;
  }
  .auth-intro h1 {
    font-size: 3.3rem;
  }
  .auth-intro p {
    font-size: 13px;
  }
  .auth-ornament {
    display: none;
  }
  .auth-intro {
    margin-bottom: 30px;
  }
  .form-card,
  .panel {
    padding: 23px;
  }
  .album-grid,
  .family-media-grid {
    grid-template-columns: 1fr;
  }
  .album-art {
    height: 190px;
  }
  .page-heading h1 {
    font-size: 2.8rem;
  }
  .page-heading .eyebrow {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-copy h1 {
    font-size: 2.4rem;
  }
  .media-stage {
    min-height: 220px;
  }
  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 20px;
  }
  .timeline-date {
    padding-top: 5px;
  }
  .timeline-card {
    padding: 24px;
  }
  .timeline-card h2 {
    font-size: 25px;
  }
  .members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .member-card {
    padding: 23px 12px;
  }
  .member-card h2 {
    font-size: 19px;
  }
  .admin-grid,
  .external-grid {
    grid-template-columns: 1fr;
  }
  .admin-tabs {
    gap: 14px;
  }
  .panel h2 {
    font-size: 26px;
  }
  .page-tabs {
    gap: 18px;
    font-size: 12px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .privacy-note {
    font-size: 9px;
  }
  .section .container {
    width: 90%;
  }
  h1 {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }
}
/* Living family world — private data remains server-authorized. */
.home-edition {
  max-width: 1260px;
  margin: 8px auto 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.home-edition time {
  color: var(--muted);
  letter-spacing: 0.02em;
  font-size: 11px;
  text-transform: capitalize;
}
.living-hero {
  padding-top: 54px;
  padding-bottom: 44px;
  min-height: 620px;
}
.living-hero h1 {
  font-size: clamp(4.5rem, 6.4vw, 6.1rem);
}
.living-hero .hero-art {
  isolation: isolate;
}
.hero-footnote {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 33px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-footnote strong {
  color: var(--ink);
  font-weight: 500;
}
.little-faces {
  display: flex;
  padding-left: 6px;
}
.little-faces i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--blue);
  font-size: 15px;
  margin-left: -6px;
  color: var(--ink);
}
.little-faces i:nth-child(2) {
  background: var(--yellow);
}
.little-faces i:nth-child(3) {
  background: var(--coral);
}
.story-selector {
  max-width: 1260px;
  margin: 0 auto 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0;
}
.story-selector > span:first-child {
  font-size: 8px;
  letter-spacing: 0.12em;
  margin-right: auto;
}
.story-selector button {
  border: 0;
  border-top: 2px solid transparent;
  background: none;
  color: var(--muted);
  padding: 18px 22px;
  font-size: 10px;
  margin-top: -1px;
  display: flex;
  gap: 12px;
}
.story-selector button span {
  font-size: 11px;
}
.story-selector button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 700;
}
.story-selector button:hover {
  background: #f1ecdf;
}
.world-dock {
  max-width: none;
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 210px));
  gap: 0;
  margin: 0;
  background: var(--yellow);
  padding: 21px 6%;
  font-size: 12px;
}
.world-dock a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 24px;
  border-right: 1px solid #233e3c33;
  transition: background 0.2s;
}
.world-dock a:first-child {
  padding-left: 0;
}
.world-dock a:last-child {
  border: 0;
}
.world-dock a > span {
  font-size: 25px;
  line-height: 1;
}
.world-dock b {
  font-weight: 400;
  margin-left: auto;
}
.world-dock a:hover {
  background: #fff5d455;
}
.personal-world .family-media-grid {
  grid-template-columns: repeat(4, 1fr);
}
.personal-world .media-visual {
  height: 200px;
}
.private-badge {
  border: 1px solid #aabbad;
  background: #edf1e6;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 10px;
  white-space: nowrap;
}
.world-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 0 0 54px;
}
.world-stats a {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.world-stats a:first-child {
  padding-left: 0;
}
.world-stats a:last-child {
  border: 0;
}
.world-stats strong {
  font-size: 35px;
  letter-spacing: -0.06em;
  line-height: 1.3;
  font-weight: 600;
}
.world-stats span {
  font-size: 11px;
  color: var(--muted);
}
.section-heading.compact h2 {
  font-size: 30px;
}
.section-heading.compact .eyebrow {
  font-size: 8px;
}
.memory-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 55px 0;
}
.day-memory,
.first-memory {
  border-radius: 18px;
  padding: 32px;
  background: #efdfad;
}
.first-memory {
  background: #e4ede1;
}
.memory-duo h2 {
  font-size: 31px;
  margin-bottom: 22px;
}
.memory-duo p {
  font-size: 13px;
}
.memory-duo > .day-memory > .eyebrow,
.memory-duo > .first-memory > .eyebrow {
  font-size: 8px;
}
.memory-mini {
  display: block;
  border-top: 1px solid #233e3c33;
  padding-top: 16px;
  margin-top: 18px;
}
.memory-mini > span {
  font: italic 32px Georgia;
  color: #8a5a3e;
}
.memory-mini h3 {
  font-size: 21px;
  margin: 12px 0;
}
.memory-mini b {
  font-size: 11px;
}
.first-mini {
  display: flex;
  gap: 13px;
  align-items: center;
  border-top: 1px solid #233e3c22;
  padding: 17px 0;
}
.first-mini > span {
  color: #8e6940;
  font-size: 25px;
}
.first-mini h3 {
  font-size: 18px;
  margin: 0 0 5px;
}
.first-mini small {
  color: var(--muted);
  font-size: 10px;
}
.first-mini b {
  margin-left: auto;
  font-weight: 400;
}
.home-notes {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.home-notes h2 {
  font-size: 32px;
}
.home-notes blockquote {
  margin: 0 0 20px;
  padding: 20px 25px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.home-notes blockquote p {
  font: italic 20px/1.5 Georgia;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.home-notes blockquote footer {
  font-size: 10px;
  color: var(--muted);
}
.firsts-teaser {
  background: #e7eee3;
  display: grid;
  grid-template-columns: 0.65fr 1.2fr 1fr;
  gap: 45px;
  align-items: center;
  padding: 60px max(6%, calc((100vw - 1150px) / 2));
  margin: 15px 0;
}
.teaser-symbol {
  font-size: 170px;
  color: #ac614a;
  position: relative;
  line-height: 1;
  text-align: center;
  transform: rotate(-9deg);
}
.teaser-symbol > span {
  font: italic 38px Georgia;
  color: var(--cream);
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(9deg);
}
.firsts-teaser h2 {
  font-size: 43px;
}
.firsts-teaser p {
  font-size: 12px;
  line-height: 1.8;
}
.teaser-list > span {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #233e3c33;
  font-size: 15px;
}
.teaser-list i {
  font-style: normal;
  font-size: 9px;
  color: var(--muted);
  padding-top: 6px;
}
.teaser-list b {
  font-weight: 400;
  margin-left: auto;
}
.teaser-list small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 15px;
}
.play-editorial {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  padding-top: 65px;
  padding-bottom: 75px;
}
.play-editorial h2 {
  font-size: 35px;
  line-height: 1.2;
}
.play-editorial h2 em {
  color: #a7503c;
}
.play-editorial p {
  font-size: 12px;
}
.mini-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.mini-game-grid a {
  background: #e5e9dd;
  border-radius: 15px;
  padding: 22px 18px;
  position: relative;
  transition: transform 0.2s;
}
.mini-game-grid a:nth-child(2) {
  background: #f0d6c9;
}
.mini-game-grid a:nth-child(3) {
  background: #d7e6ee;
}
.mini-game-grid a > span {
  display: block;
  font-size: 48px;
  letter-spacing: -0.07em;
  font-family: Georgia;
  line-height: 1.5;
  margin-bottom: 28px;
  color: #435c4e;
}
.mini-game-grid strong {
  display: block;
  font-size: 16px;
}
.mini-game-grid small {
  font-size: 9px;
  color: var(--muted);
}
.mini-game-grid b {
  position: absolute;
  right: 15px;
  top: 17px;
  font-weight: 400;
}
.mini-game-grid a:hover {
  transform: translateY(-5px);
}
.album-art.has-cover {
  display: block;
}
.album-art.has-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.album-card:hover .has-cover img {
  transform: scale(1.035);
}
.album-art.has-cover .cover-badge {
  position: absolute;
  left: 15px;
  bottom: 15px;
  line-height: 1;
  background: #fffdf8e8;
  color: var(--ink);
  font:
    9px "Segoe UI",
    sans-serif;
  padding: 8px 12px;
  border-radius: 20px;
  transform: none;
}
.cover-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 25px;
}
.cover-admin-grid form {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  min-width: 0;
}
.cover-admin-grid strong {
  font-size: 13px;
  display: block;
  margin-bottom: 15px;
}
.cover-admin-grid img {
  height: 125px;
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}
.login-switch {
  display: flex;
  gap: 5px;
  background: #eeede5;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 25px;
  font-size: 12px;
}
.login-switch a {
  width: 50%;
  padding: 10px 6px;
  text-align: center;
  border-radius: 7px;
}
.login-switch a[aria-current] {
  background: var(--ink);
  color: #fff;
}
.dev-login-help {
  margin-top: 26px;
  padding-bottom: 0;
}
.dev-login-help p {
  font-size: 11px;
  line-height: 1.8;
}
.dev-login-help code {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.command-line {
  display: block;
  background: #eef1e8;
  padding: 13px;
  border-radius: 8px;
}
.auth-layout:has(.login-switch) .auth-intro h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.3rem);
}
.admin-entry {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.first-number {
  display: block;
  color: #ac614a;
  font: italic 43px Georgia;
  margin-bottom: 15px;
}
.firsts-timeline {
  margin-top: 50px;
}
.favorite-form {
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.favorite-button {
  border: 1px solid #c5b4a5;
  border-radius: 30px;
  padding: 10px 17px;
  background: #fffdf8;
  color: #7d4136;
  font-size: 12px;
}
.favorite-button[aria-pressed="true"] {
  background: #f3d7cd;
  border-color: #dda59a;
}
.favorite-form a {
  font-size: 10px;
  text-decoration: underline;
}
.notes-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 35px;
  align-items: start;
}
.notes-layout > .panel {
  position: sticky;
  top: 20px;
}
.notes-layout h2 {
  font-size: 29px;
}
.notes-layout .fine-print {
  margin-bottom: 18px;
}
.notes-wall {
  display: grid;
  gap: 20px;
}
.note-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffdf8;
}
.note-card:nth-child(3n + 2) {
  background: #f6e9c5;
}
.note-card:nth-child(3n + 3) {
  background: #e7eee3;
}
.note-card > p {
  font: italic 23px/1.5 Georgia;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.note-card footer strong {
  font-size: 12px;
}
.note-card footer small {
  display: block;
  font-size: 9px;
  margin-top: 6px;
  color: var(--muted);
}
.note-card footer > span:last-child {
  font-size: 29px;
  color: #a75f4b;
}
.note-card details {
  margin-top: 20px;
  font-size: 11px;
}
.memory-mini p {
  overflow-wrap: anywhere;
}
.home-edition + .living-hero .frame-blue {
  animation: photo-arrival 0.7s ease-out both;
}
.home-edition + .living-hero .frame-peach {
  animation: second-photo-arrival 0.9s ease-out both;
}
.living-hero .hero-star {
  animation: star-arrival 0.9s ease-out both;
}
.story-changing .frame-blue .scene {
  filter: saturate(1.1);
}
@keyframes photo-arrival {
  from {
    opacity: 0;
    transform: translateY(22px) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-7deg);
  }
}
@keyframes second-photo-arrival {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(17deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(12deg);
  }
}
@keyframes star-arrival {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-30deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(10deg);
  }
}
@media (max-width: 1400px) {
  .home-edition,
  .story-selector {
    margin-left: 5%;
    margin-right: 5%;
  }
  .world-dock a {
    padding-right: 18px;
    padding-left: 18px;
  }
  .site-header nav {
    gap: 20px;
  }
}
@media (max-width: 1100px) {
  .home-notes {
    gap: 30px;
  }
  .firsts-teaser {
    grid-template-columns: 0.5fr 1.2fr 1fr;
    gap: 25px;
    padding: 45px 5%;
  }
  .teaser-symbol {
    font-size: 130px;
  }
  .teaser-symbol > span {
    font-size: 30px;
  }
  .firsts-teaser h2 {
    font-size: 33px;
  }
  .world-dock {
    padding: 17px 4%;
    font-size: 11px;
  }
  .personal-world .family-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-header nav {
    gap: 13px;
    font-size: 12px;
  }
  .site-header nav .button {
    padding: 9px 14px;
  }
  .play-editorial {
    gap: 25px;
  }
  .mini-game-grid {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 4%;
    right: 4%;
    background: #fffdf8;
    border: 1px solid var(--line);
    box-shadow: 0 15px 25px #233e3c12;
    border-radius: 14px;
    padding: 20px;
    align-items: stretch;
    gap: 16px;
  }
  #main-nav.open {
    display: flex;
    flex-direction: column;
  }
  .site-header {
    position: relative;
    z-index: 10;
  }
  .world-stats a {
    gap: 12px;
    padding: 0 14px;
  }
  .world-stats strong {
    font-size: 30px;
  }
  .cover-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .home-edition {
    margin: 5px 6% 0;
    padding: 11px 0;
    font-size: 7px;
    letter-spacing: 0.07em;
  }
  .home-edition time {
    font-size: 9px;
  }
  .living-hero {
    min-height: 0;
    padding-top: 35px;
    padding-bottom: 28px;
  }
  .living-hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }
  .living-hero .hero-art {
    height: 365px;
    margin-top: 32px;
  }
  .hero-footnote {
    margin-top: 25px;
  }
  .story-selector {
    margin: 0 6% 20px;
    gap: 0;
  }
  .story-selector > span:first-child {
    display: none;
  }
  .story-selector button {
    flex: 1;
    display: block;
    padding: 14px 4px;
    font-size: 8px;
    text-align: left;
  }
  .story-selector button span {
    display: block;
    font-size: 9px;
    margin-top: 3px;
  }
  .world-dock {
    display: flex;
    padding: 13px 6%;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 20px;
    scrollbar-width: thin;
  }
  .world-dock a {
    flex: 0 0 auto;
    padding: 5px 20px 5px 0;
    gap: 8px;
    font-size: 11px;
  }
  .world-dock a > span {
    font-size: 21px;
  }
  .world-dock b {
    display: none;
  }
  .world-stats {
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-bottom: 37px;
    padding: 20px 0;
  }
  .world-stats a {
    padding: 0 12px;
    gap: 12px;
  }
  .world-stats a:nth-child(2) {
    border-right: 0;
  }
  .world-stats a:nth-child(3) {
    padding-left: 0;
  }
  .world-stats span {
    font-size: 10px;
  }
  .section-heading:has(.private-badge) {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .section-heading.compact {
    display: flex;
    align-items: end;
    gap: 12px;
  }
  .section-heading.compact h2 {
    font-size: 25px;
  }
  .section-heading.compact > a {
    font-size: 10px;
    white-space: nowrap;
  }
  .personal-world .family-media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .personal-world .media-visual {
    height: 150px;
  }
  .personal-world .media-caption {
    padding: 14px;
  }
  .personal-world .media-caption h3 {
    font-size: 16px;
    overflow-wrap: anywhere;
  }
  .personal-world .media-caption p {
    display: none;
  }
  .personal-world .media-caption .eyebrow {
    font-size: 7px;
  }
  .memory-duo {
    grid-template-columns: 1fr;
    gap: 17px;
    margin: 30px 0;
  }
  .day-memory,
  .first-memory {
    padding: 26px;
  }
  .home-notes {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 30px;
  }
  .home-notes h2 {
    font-size: 30px;
  }
  .home-notes h2 br {
    display: none;
  }
  .home-notes blockquote p {
    font-size: 19px;
  }
  .firsts-teaser {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 6%;
    position: relative;
  }
  .teaser-symbol {
    position: absolute;
    right: 8%;
    top: 26px;
    font-size: 80px;
    opacity: 0.7;
  }
  .teaser-symbol > span {
    font-size: 20px;
  }
  .firsts-teaser .eyebrow {
    max-width: 75%;
    font-size: 8px;
  }
  .firsts-teaser h2 {
    font-size: 38px;
  }
  .teaser-list > span {
    font-size: 15px;
  }
  .play-editorial {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .play-editorial h2 {
    font-size: 31px;
  }
  .mini-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .mini-game-grid a {
    padding: 15px 10px;
  }
  .mini-game-grid a > span {
    font-size: 36px;
    margin-bottom: 20px;
  }
  .mini-game-grid strong {
    font-size: 14px;
  }
  .mini-game-grid small {
    font-size: 8px;
    display: block;
    line-height: 1.4;
    margin-top: 5px;
  }
  .mini-game-grid b {
    right: 9px;
    top: 9px;
    font-size: 11px;
  }
  .notes-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .notes-layout > .panel {
    position: static;
  }
  .note-card {
    padding: 25px;
  }
  .note-card > p {
    font-size: 21px;
  }
  .cover-admin-grid {
    grid-template-columns: 1fr;
  }
  .cover-admin-grid img {
    height: 180px;
  }
  .login-switch {
    font-size: 11px;
  }
  .auth-layout:has(.login-switch) .auth-intro h1 {
    font-size: 2.8rem;
  }
  .firsts-timeline .timeline-date {
    display: flex;
    align-items: center;
    gap: 18px;
  }
  .first-number {
    font-size: 30px;
    margin: 0;
  }
  .favorite-form {
    display: block;
  }
  .favorite-form a {
    display: block;
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .living-hero .frame-blue,
  .living-hero .frame-peach,
  .living-hero .hero-star {
    animation: none !important;
  }
}
.frame-caption [data-story-caption] {
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 400;
}
.admin-entry {
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fffdf8;
}
.admin-entry:hover {
  background: #e7eee3;
}
@media (max-width: 760px) {
  .frame-caption [data-story-caption] {
    font-size: 10px;
  }
  .admin-entry {
    text-align: center;
  }
}
