*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #222;
}

.page {
  width: 100%;
  max-width: 480px;
  background: #f0ece4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lang-toggle-bar {
  display: flex;
  justify-content: center;
  padding: 10px 14px 2px;
}
.lang-toggle {
  display: inline-flex;
  gap: 2px;
  background: #fff;
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.lang-toggle__btn {
  min-width: 46px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #888;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}
.lang-toggle__btn.active {
  background: #C13584;
  color: #fff;
  box-shadow: 0 2px 6px rgba(193, 53, 132, 0.4);
}
.lang-toggle__btn:hover:not(.active):not(.disabled) {
  color: #C13584;
  background: rgba(193, 53, 132, 0.08);
}
.lang-toggle__btn:active { transform: scale(0.95); }
.lang-toggle__btn.disabled {
  color: #bbb;
  cursor: not-allowed;
  opacity: 0.6;
}

@media (min-width: 600px) {
  .lang-toggle-bar {
    position: fixed;
    top: 16px;
    right: 16px;
    padding: 0;
    z-index: 100;
  }
  .lang-toggle__btn { height: 40px; font-size: 14px; min-width: 52px; padding: 0 18px; }
}

.header-link { display: block; }
.header-img { width: 100%; display: block; }

.tagline {
  text-align: center;
  font-size: 22px;
  line-height: 1.35;
  color: #555;
  padding: 16px 22px 2px;
}

.title-bar { padding: 18px 18px 6px; text-align: center; }

.strip-counter {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.strip-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #222;
  line-height: 1.15;
  min-width: 0;
  flex: 0 1 auto;
}

.title-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

.title-row .strip-title { text-align: center; }

.title-arrow {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #C13584;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(193,53,132,0.25);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.title-arrow:hover {
  background: #a02b6e;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(193,53,132,0.35);
}
.title-arrow:active { transform: scale(1); }

.strip-art { padding: 14px 18px 4px; }

.strip-full {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
}

.strip-panel {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.strip-panel + .strip-panel { margin-top: 10px; }

.nav-section { padding: 20px 18px 8px; }

.nav-eyebrow {
  text-align: center;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #222;
  font-weight: 800;
  margin-bottom: 14px;
  padding-top: 8px;
}

.nav-row { display: flex; gap: 10px; }

.nav-btn {
  flex: 1;
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #ffffff;
  border-radius: 14px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(193,53,132,0.18);
  background: #fff8fb;
}
.nav-btn:active { transform: translateY(0); }

.nav-btn .nav-arrow {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #C13584;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-btn:hover .nav-arrow {
  background: #a02b6e;
  transform: scale(1.08);
}

.nav-btn .nav-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.nav-btn.prev .nav-text { align-items: flex-start; text-align: left; }
.nav-btn.next .nav-text { align-items: flex-end;  text-align: right; }

.nav-btn .nav-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  font-weight: 700;
}

.nav-btn .nav-target {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.archive-link-row {
  display: flex;
  justify-content: center;
  padding: 14px 18px 4px;
}

.archive-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(193, 53, 132, 0.35);
  color: #C13584;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.archive-pill:hover {
  background: #C13584;
  border-color: #C13584;
  color: #fff;
  transform: translateY(-1px);
}

.archive-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.archive-pill__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(193, 53, 132, 0.12);
  color: #C13584;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.archive-pill:hover .archive-pill__count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Archive page */
.archive-heading {
  text-align: center;
  padding: 18px 24px 6px;
}

.archive-title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.archive-sub {
  font-size: 16px;
  color: #666;
  margin: 0;
}

.archive-list {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0 16px;
  counter-reset: archive;
}

.archive-item {
  margin: 0 0 8px;
}

.archive-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.archive-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.archive-thumb {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.archive-meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.archive-item-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.archive-item-num {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  .archive-list { padding: 0 24px; }
  .archive-thumb { width: 88px; height: 88px; }
  .archive-item-title { font-size: 19px; }
  .archive-title { font-size: 34px; }
}

.gallery-section {
  padding: 22px 0 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 12px;
}

.gallery-heading { padding: 0 18px 10px; text-align: center; }

.gallery-eyebrow {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C13584;
  font-weight: 700;
  margin-bottom: 6px;
}

.gallery-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.gallery-sub {
  font-size: 17px;
  color: #777;
  margin-top: 6px;
  padding: 0 18px;
}

.gallery-row {
  display: flex;
  gap: 10px;
  padding: 8px 18px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-row::-webkit-scrollbar { height: 6px; }
.gallery-row::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }
.gallery-row::-webkit-scrollbar-track { background: transparent; }

.gallery-item {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  scroll-snap-align: start;
  border: none;
  padding: 0;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-item:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.16); }
.gallery-item:focus-visible { outline: 3px solid #C13584; outline-offset: 2px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-btn {
  position: absolute;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox-btn:hover { background: rgba(255,255,255,0.18); }

.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev  { left: 18px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 18px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  letter-spacing: 0.06em;
}

@media (max-width: 599px) {
  .lightbox { padding: 0; }
  .lightbox-img {
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }
  .lightbox-counter {
    bottom: max(12px, env(safe-area-inset-bottom));
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  }
  .lightbox-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
  .lightbox-prev  { left: 8px; }
  .lightbox-next  { right: 8px; }
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(180%);
  width: calc(100% - 24px);
  max-width: 520px;
  background: #ffffff;
  color: #333;
  padding: 12px 14px 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 900;
  font-size: 13px;
  line-height: 1.4;
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateX(-50%) translateY(0); }

.cookie-text { flex: 1; min-width: 0; color: #444; }

.cookie-accept {
  flex: 0 0 auto;
  background: #C13584;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-accept:hover { background: #a02b6e; }

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px 4px;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.qr-label {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.qr-code { width: 140px; height: 140px; display: block; }

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  padding: 6px 14px;
  background: transparent;
  color: #888;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease,
              background 0.18s ease, transform 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.copy-link-btn:hover {
  border-color: #C13584;
  color: #C13584;
}

.copy-link-btn:active { transform: translateY(0.5px); }

.copy-link-btn.copied {
  background: #C13584;
  border-color: #C13584;
  color: #fff;
  transform: scale(1.04);
}

.copy-link-btn__icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.copy-link-btn__icon--check { display: none; }
.copy-link-btn.copied .copy-link-btn__icon--link { display: none; }
.copy-link-btn.copied .copy-link-btn__icon--check { display: inline-block; }

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 24px;
  margin-top: auto;
}

.follow-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 18px 18px;
}

.subscribe-section {
  width: 100%;
  max-width: 480px;
  text-align: center;
  background: #faf8f4;
  border-radius: 18px;
  padding: 22px 20px 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  margin-bottom: 8px;
}

.subscribe-section.subscribe-success {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100%;
  max-width: none;
  background: #faf8f4;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.subscribe-success-inner {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 4px 24px;
}

.subscribe-success-icon {
  width: 88px;
  height: 88px;
  color: #C13584;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.subscribe-section.subscribe-success .subscribe-title {
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.subscribe-section.subscribe-success .subscribe-sub {
  font-size: 19px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 14px;
  max-width: 420px;
}

.subscribe-section.subscribe-success .subscribe-sub--hint {
  font-size: 17px;
  color: #555;
  margin-bottom: 0;
}

.subscribe-success-dismiss {
  margin-top: 28px;
  background: #C13584;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 16px 36px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(193,53,132,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.subscribe-success-dismiss:hover {
  background: #a02c70;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(193,53,132,0.3);
}

.subscribe-success-dismiss:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(193,53,132,0.22);
}

@media (min-height: 760px) {
  .subscribe-section.subscribe-success .subscribe-title { font-size: 38px; }
  .subscribe-success-icon { width: 104px; height: 104px; }
}

.subscribe-eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C13584;
  font-weight: 700;
  margin-bottom: 8px;
}

.subscribe-title {
  font-size: 30px;
  font-weight: 800;
  color: #C13584;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

@media (min-width: 520px) {
  .subscribe-title { font-size: 34px; }
}

.subscribe-sub {
  font-size: 14px;
  color: #777;
  margin: 0 0 16px;
  line-height: 1.4;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.subscribe-email {
  width: 100%;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  box-sizing: border-box;
}

.subscribe-email:focus {
  outline: 2px solid #C13584;
  outline-offset: 0;
  border-color: transparent;
}

.subscribe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.subscribe-math-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 8px auto 14px;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid #C13584;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(193,53,132,0.10);
}

.subscribe-math-box.is-invalid {
  border-color: #c0392b;
  background: #fff7f6;
  box-shadow: 0 2px 8px rgba(192,57,43,0.15);
}

.subscribe-math {
  font-size: 20px;
  color: #222;
  font-weight: 700;
  line-height: 1.2;
}

.subscribe-math-input {
  width: 96px;
  font-size: 22px;
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  text-align: center;
  box-sizing: border-box;
}

.subscribe-math-input:focus {
  outline: 2px solid #C13584;
  outline-offset: 0;
  border-color: transparent;
}

.subscribe-math-input.is-invalid {
  border-color: #c0392b;
}

.subscribe-math-input.is-invalid:focus {
  outline-color: #c0392b;
}

.subscribe-math-error {
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: #c0392b;
  background: #fff7f6;
  border: 1px solid #f5c7c1;
  border-radius: 10px;
  text-align: center;
  line-height: 1.35;
}

.subscribe-btn {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #C13584;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.subscribe-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(193,53,132,0.35);
}

.subscribe-btn:active {
  transform: translateY(0);
}

/* Contact form */
.contact-section {
  width: 100%;
  max-width: 560px;
  text-align: center;
  margin: 0 auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.contact-heading {
  margin-bottom: 32px;
}

.contact-title {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin: 0 0 12px;
}

.contact-sub {
  font-size: 16px;
  color: #777;
  margin: 0;
  line-height: 1.4;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

.contact-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.contact-label {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-align: left;
}

.contact-input,
.contact-textarea {
  width: 100%;
  font-size: 18px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: 2px solid #C13584;
  outline-offset: 0;
  border-color: transparent;
}

.contact-input.is-invalid,
.contact-textarea.is-invalid {
  border-color: #c0392b;
  background: #fff7f6;
}

.contact-input.is-invalid:focus,
.contact-textarea.is-invalid:focus {
  outline-color: #c0392b;
}

.contact-field-error {
  margin: 4px 0 0;
  font-size: 14px;
  color: #c0392b;
  text-align: left;
  line-height: 1.3;
}

.contact-math-input {
  width: 100%;
  max-width: 200px;
}

.contact-challenge-sub {
  font-size: 14px;
  color: #555;
  margin: 0 0 20px;
  font-weight: 500;
}

.contact-btn {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: #C13584;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  align-self: flex-start;
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(193,53,132,0.35);
}

.contact-btn:active {
  transform: translateY(0);
}

.contact-success,
.contact-error {
  text-align: center;
  padding: 28px 20px;
}

.contact-success-title,
.contact-error-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 0 0 12px;
}

.contact-success-sub,
.contact-error-sub {
  font-size: 16px;
  color: #777;
  margin: 0 0 20px;
  line-height: 1.4;
}

.contact-back-link {
  font-size: 16px;
  font-weight: 600;
  color: #C13584;
  text-decoration: none;
  border-bottom: 1px solid #C13584;
}

.contact-back-link:hover {
  opacity: 0.8;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.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;
}

.legal-page {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  margin: 16px 16px 32px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  color: #2a2a2a;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

.legal-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 0.4em;
  color: #1a1a1a;
}

.legal-lead {
  font-size: 17px;
  color: #555;
  margin: 0 0 1.4em;
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
  color: #1a1a1a;
}

.legal-card h2:first-of-type { margin-top: 1.2em; }

.legal-card p { margin: 0 0 0.9em; }

.legal-card ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.legal-card li { margin-bottom: 0.4em; }

.legal-card a {
  color: #C13584;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-card a:hover { text-decoration: none; }

.legal-card code {
  background: #f4f1ec;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13.5px;
}

.legal-meta {
  color: #999;
  font-size: 13px;
  margin-top: 1.4em;
}

.legal-back {
  margin-top: 1.6em;
  padding-top: 1.4em;
  border-top: 1px solid #eee;
  text-align: center;
}

.about-page .legal-card {
  font-size: 21px;
  line-height: 1.65;
}
.about-page .legal-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 0.6em;
}
.about-page .legal-card p { margin: 0 0 1.1em; }
.about-page .legal-back { font-size: 18px; }
@media (min-width: 700px) {
  .about-page .legal-card { font-size: 22px; }
  .about-page .legal-title { font-size: 42px; }
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
}

.footer-meta__sep { color: #ccc; }

.status-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  background: #faf8f4;
  border-radius: 18px;
  padding: 32px 24px 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  margin-top: 24px;
}

.status-title {
  font-size: 26px;
  font-weight: 800;
  color: #222;
  margin: 0 0 10px;
}

.status-sub {
  font-size: 15px;
  color: #777;
  line-height: 1.5;
  margin: 0 0 20px;
}

.status-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #C13584;
  border-radius: 10px;
  padding: 10px 18px;
  text-decoration: none;
}

.follow-heading {
  text-align: center;
  padding: 4px 0 2px;
}

.follow-eyebrow {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C13584;
  font-weight: 700;
  margin-bottom: 6px;
}

.follow-title {
  font-size: 24px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
}

.follow-sub {
  font-size: 15px;
  color: #777;
  margin-top: 6px;
}

.social-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 480px;
}

.linkcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px 13px 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.13);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.linkcard:hover  { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }
.linkcard:active { transform: translateY(0);    box-shadow: 0 4px 12px rgba(0,0,0,0.13); }

.linkcard.instagram {
  background: linear-gradient(135deg, #405DE6 0%, #833AB4 30%, #C13584 55%, #E1306C 75%, #FD1D1D 88%, #FCAF45 100%);
}
.linkcard.tiktok   { background: #111111; }
.linkcard.facebook { background: #1877F2; }

.card-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.card-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg { width: 28px; height: 28px; fill: #fff; }

.card-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
}

.card-sub {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-arrow {
  flex: 0 0 auto;
  font-size: 26px;
  line-height: 1;
  color: rgba(255,255,255,0.75);
}

.footer-links { display: flex; align-items: center; gap: 16px; }

.max-video {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9 / 16;
  display: block;
  margin: 6px auto 8px;
  border-radius: 14px;
  background: #000;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
@media (min-width: 600px) {
  .max-video { border-radius: 16px; }
}
.max-video--top {
  margin-top: 12px;
  margin-bottom: 24px;
}
@media (max-width: 599px) {
  .max-video--top {
    margin-left: 12px;
    margin-right: 12px;
    width: calc(100% - 24px);
  }
}

.home-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #C13584;
  text-decoration: none;
}

.home-link:hover { text-decoration: underline; }

@media (min-width: 600px) {
  .strip-panel { display: none; }
  .page { max-width: 880px; }
  .strip-title { font-size: 30px; }
  .title-row { gap: 18px; }
  .title-arrow { padding: 10px 18px; font-size: 15px; }
  .tagline { font-size: 22px; padding: 22px 32px 4px; }
  .tagline-break { display: none; }
  .strip-art { padding: 18px 24px 6px; }
  .nav-section { padding: 24px 24px 8px; }
  .nav-eyebrow { font-size: 28px; margin-bottom: 18px; }
  .nav-btn { min-height: 80px; padding: 14px 18px; gap: 14px; }
  .nav-btn .nav-arrow { width: 42px; height: 42px; font-size: 26px; }
  .nav-btn .nav-target { font-size: 17px; }
  .footer { padding: 18px 24px 32px; }
  .gallery-eyebrow { font-size: 17px; }
  .gallery-title { font-size: 30px; }
  .gallery-sub { font-size: 19px; }
  .follow-eyebrow { font-size: 17px; }
  .follow-title { font-size: 30px; }
  .follow-sub { font-size: 17px; }
  .gallery-row { padding: 10px 24px 6px; gap: 12px; }
  .gallery-item { width: 170px; height: 170px; }
}

@media (max-width: 599px) {
  .strip-full { display: none; }
}


@media (min-width: 480px) {
  .page {
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.12);
  }
}

/* ── Admin ── */
.admin-wrap {
  width: 100%;
  max-width: 980px;
  padding: 24px 18px 60px;
}
.admin-nav {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  flex-wrap: wrap;
}
.admin-nav a { color: #C13584; font-weight: 700; text-decoration: none; }
.admin-nav a.current { color: #222; }
.admin-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.admin-card h2 { font-size: 18px; margin-bottom: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}
.admin-table th { background: #faf8f4; color: #555; font-weight: 700; }
.admin-table tr.unpublished { opacity: 0.55; }
.admin-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }
.admin-form label { display: block; margin-bottom: 8px; font-size: 13px; color: #555; font-weight: 700; }
.admin-form input[type=text], .admin-form input[type=file] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-top: 4px;
  margin-bottom: 12px;
}
.admin-form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.admin-form .row > * { flex: 1; min-width: 220px; }
.admin-btn {
  background: #C13584;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.admin-btn:hover { background: #a02b6e; }
.admin-btn.danger { background: #b00; }
.admin-btn.danger:hover { background: #800; }
.admin-btn.secondary { background: #555; }
.admin-flash {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
}
.drag-handle { cursor: grab; color: #aaa; padding: 0 8px; }
.drag-handle:active { cursor: grabbing; }
tr.dragging { opacity: 0.4; }

.preview-banner {
  background: #fff8e1;
  color: #6d4c00;
  border-bottom: 1px solid #f1d680;
  padding: 10px 18px;
  font-size: 14px;
  text-align: center;
}
.preview-banner strong { color: #5a3e00; }

.queue-naming-block {
  background: #faf8f4;
  border: 1px solid #ece9e2;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.55;
  color: #333;
  white-space: pre;
  overflow-x: auto;
  margin: 0 0 12px 0;
}
.queue-row {
  display: flex;
  gap: 18px;
  padding: 16px;
  border: 1px solid #ece9e2;
  border-radius: 10px;
  margin-bottom: 14px;
  background: #fff;
}
.queue-row__preview { flex: 0 0 220px; min-width: 0; }
.queue-row__preview .queue-thumb {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
  background: #faf8f4;
  border: 1px solid #ece9e2;
  display: block;
}
.queue-row__filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #555;
  margin-top: 6px;
  word-break: break-all;
}
.queue-row__og-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  word-break: break-all;
}
.queue-row__fields { flex: 1; min-width: 0; }
.queue-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}
.queue-field-grid label {
  font-size: 12px;
  color: #555;
  font-weight: 700;
  margin: 0;
}
.queue-field-grid input[type=text],
.queue-field-grid select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-top: 4px;
}
.queue-warn {
  background: #fff8e1;
  color: #8a6d00;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 8px;
}
.queue-publish-row,
.queue-og-row,
.queue-skip-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 13px;
}
.queue-publish-label { font-weight: 700; color: #555; }
.queue-radio { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.queue-publish-at {
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}
@media (max-width: 720px) {
  .queue-row { flex-direction: column; }
  .queue-row__preview { flex: 1; }
  .queue-field-grid { grid-template-columns: 1fr; }
}

.queue-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.queue-badge--draft     { background: #ececec; color: #555; }
.queue-badge--preview   { background: #fff8e1; color: #6d4c00; }
.queue-badge--scheduled { background: #e3efff; color: #1f4ea1; }

.queue-copy-row {
  display: flex;
  gap: 6px;
  align-items: center;
  max-width: 380px;
}
.queue-copy-input {
  flex: 1;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #444;
  background: #faf8f4;
}
.queue-copy-btn { padding: 6px 12px; font-size: 12px; }
.queue-copy-btn--ok { background: #2e7d32; }
.queue-copy-btn--ok:hover { background: #2e7d32; }

/* ── /sms keypad page ───────────────────────────────────────────────── */
.sms-body {
  margin: 0;
  background: #faf8f4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a1a;
  -webkit-tap-highlight-color: transparent;
}
.sms-page {
  max-width: 420px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.sms-title { margin: 0 0 4px; font-size: 26px; color: #C13584; }
.sms-sub   { margin: 0 0 18px; color: #888; font-size: 14px; }

.sms-display {
  background: #fff;
  border: 2px solid #eadfd1;
  border-radius: 14px;
  padding: 18px 16px;
  margin-bottom: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #222;
  min-height: 64px;
  display: flex;
  align-items: center;
  word-break: break-all;
}
.sms-display__placeholder { color: #c8b8a0; font-weight: 400; font-size: 18px; }

.sms-mode {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.sms-plus-toggle {
  appearance: none;
  border: 2px solid #eadfd1;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.sms-plus-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #faf2e6;
  color: #C13584;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}
.sms-plus-toggle:hover { border-color: #C13584; color: #C13584; }
.sms-plus-toggle--on {
  background: #C13584;
  border-color: #C13584;
  color: #fff;
}
.sms-plus-toggle--on .sms-plus-toggle__icon {
  background: #fff;
  color: #C13584;
}
.sms-mode__hint {
  font-size: 12px;
  color: #999;
}

.sms-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.sms-key {
  appearance: none;
  border: 1px solid #eadfd1;
  background: #fff;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 600;
  color: #222;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
  transition: transform 60ms ease, background 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.sms-key:active {
  transform: scale(0.96);
  background: #faf2e6;
}
.sms-key--back { color: #b86060; font-size: 22px; }
.sms-key--ok   {
  background: #C13584;
  color: #fff;
  border-color: #C13584;
}
.sms-key--ok:active { background: #a72b73; }

.sms-body-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}
.sms-body-input {
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #eadfd1;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  line-height: 1.45;
  resize: vertical;
  background: #fff;
  color: #1a1a1a;
}
.sms-body-input:focus {
  outline: 2px solid #C13584;
  outline-offset: 1px;
  border-color: #C13584;
}
.sms-body-meta {
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.sms-footnote {
  margin-top: 24px;
  font-size: 12px;
  color: #999;
  line-height: 1.55;
}

/* Confirmation overlay */
.sms-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
  backdrop-filter: blur(2px);
}
/* `hidden` attribute sets display:none via UA stylesheet, but our display:flex
   above wins on specificity. Force it back when hidden. */
.sms-confirm-overlay[hidden] { display: none; }
.sms-confirm-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 22px 18px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.sms-confirm-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #C13584;
}
.sms-confirm-to {
  margin: 0 0 12px;
  font-size: 15px;
}
.sms-confirm-to strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
}
.sms-confirm-body {
  background: #faf8f4;
  border: 1px solid #eadfd1;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 18px;
  color: #444;
}
.sms-confirm-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.sms-btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.sms-btn--cancel {
  background: #f0eadf;
  color: #555;
}
.sms-btn--cancel:hover { background: #e6dccb; }
.sms-btn--send {
  background: #C13584;
  color: #fff;
}
.sms-btn--send:hover { background: #a72b73; }
.sms-btn--send:disabled {
  background: #d8a4c4;
  cursor: not-allowed;
}

/* Toast */
.sms-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #2c2620;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  max-width: 90vw;
  z-index: 1100;
}
.sms-toast--ok    { background: #2e7d32; }
.sms-toast--error { background: #b3261e; }

/* Backstory section on strip pages */
.backstory {
  margin: 32px auto 24px;
  padding: 24px 18px 4px;
  border-top: 1px solid #eee;
  max-width: 720px;
}
.backstory-title {
  font-size: 22px;
  margin: 0 0 16px;
  font-weight: 700;
}
.backstory-body {
  font-size: 16px;
  line-height: 1.6;
  color: #2a2a2a;
  max-width: 65ch;
}
.backstory-body p { margin: 0 0 0.9em; }
.backstory-body p:last-child { margin-bottom: 0; }
.backstory-body a {
  color: #C13584;
  text-decoration: underline;
}
.backstory-body ul,
.backstory-body ol { margin: 0 0 0.9em 1.2em; padding: 0; }
.backstory-body li { margin: 0.2em 0; }
.backstory-photos {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 18px;
}
.backstory-photo {
  margin: 0;
  text-align: center;
}
.backstory-photo img,
.backstory-photo video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  /* Cap vertical photos so a portrait doesn't dominate the section. */
  max-height: 60vh;
  width: auto;
  height: auto;
  border-radius: 8px;
}
.backstory-caption {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
  text-align: center;
  font-style: italic;
}

/* Backstory: collapsed state (set by JS only if there is content to hide).
   Line-clamp is applied to the FIRST child only (the first paragraph or
   list); subsequent children are hidden. This avoids quirky cross-paragraph
   clamping behavior in webkit. */
.backstory.is-collapsed .backstory-body > :first-child {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}
.backstory.is-collapsed .backstory-body > :not(:first-child) {
  display: none;
}
.backstory.is-collapsed .backstory-photos { display: none; }

/* Backstory: toggle button */
.backstory-toggle {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #d8c9c1;
  color: #5a3f3a;
  padding: 7px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.backstory-toggle:hover,
.backstory-toggle:focus-visible {
  background: rgba(193, 53, 132, 0.06);
  border-color: #C13584;
  color: #C13584;
  outline: none;
}
.backstory-toggle__chev {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  transition: transform 160ms ease;
}
.backstory:not(.is-collapsed) .backstory-toggle__chev {
  transform: rotate(180deg);
}

/* Archive page: small story indicator next to the title */
.archive-item-story {
  color: #999;
  font-size: 12px;
  margin-left: 6px;
  font-weight: 400;
}

/* UA#48 (2026-09-07): keeps the title centred when one arrow is hidden on the newest/oldest strip */
.title-arrow-spacer { display: inline-block; min-width: 88px; }
