:root {
  --ink: #1a1512;
  --paper: #f5f0eb;
  --pink: #cd028e;
  --orange: #fc440f;
  --cyan: #6dd6da;
  --muted: #5c524a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  text-transform: uppercase;
}

p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  text-transform: none;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* Folder-tab highlighted block (homepage, etc.) */
.folder-section {
  position: relative;
  background: #f8e2bd;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
  text-transform: none;
}
.folder-section::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  width: 120px;
  height: 34px;
  background: #f8e2bd;
  border-radius: 8px 8px 0 0;
}
.folder-section > h2:first-child {
  margin-top: 0;
}

/* Misprint / corrections imagery (shared) */
.misprint-highlight {
  background: var(--orange);
  color: #fff;
  padding: 0.1em 0.25em;
  font-weight: bold;
}
.misprint-photos {
  margin-top: 1rem;
  width: 100%;
}
.misprint-photos-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}
.misprint-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-family: 'Hammersmith One', sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.misprint-badge--misprint {
  background: var(--orange);
  color: #fff;
}
.misprint-badge--intended {
  background: var(--pink);
  color: #fff;
}
.misprint-photo {
  position: relative;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.misprint-photos img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}
.misprint-caption {
  font-family: 'Cormorant Garamond', serif;
  margin: 1rem 0;
  display: block;
}

/* Corrections page – editions */
.corrections-accordions {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
details.corrections-accordion {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.corrections-accordion__summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.corrections-accordion__summary:hover {
  background: rgba(0, 0, 0, 0.04);
}
.corrections-accordion__summary::-webkit-details-marker,
.corrections-accordion__summary::marker {
  display: none;
}
.corrections-accordion__summary::after {
  content: '';
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  margin-top: -0.25rem;
  transition: transform 0.2s;
}
details.corrections-accordion[open] > .corrections-accordion__summary::after {
  transform: rotate(45deg);
  margin-top: 0.15rem;
}
.corrections-accordion__panel {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-family: 'Cormorant Garamond', serif;
  text-transform: none;
}
details.corrections-accordion[open] > .corrections-accordion__panel {
  padding-top: 1rem;
}
.corrections-accordion__panel > p {
  margin: 0;
  color: var(--muted);
}
.corrections-edition-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.corrections-edition-content > p {
  margin: 0;
}
.corrections-subheading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--cyan);
  text-transform: none;
}
.corrections-edition-content .misprint-highlight {
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-underline-offset: 0.12em;
}
.corrections-edition-content .misprint-badge--misprint {
  background: var(--muted);
  color: #fff;
}

/* Title block */
.title-block {
  text-align: center;
  margin-bottom: 2.5rem;
}
.subtitle {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.author {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--pink);
  text-transform: none;
}
.book-cover {
  margin: 1.5rem auto;
  max-width: 340px;
  border-radius: 4px;
}
.book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.title-graphic {
  margin: 0.5rem 0 1rem;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.title-graphic img {
  display: block;
  width: 100%;
  height: auto;
}
.title-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.6rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.title-nav__item {
  position: relative;
  display: inline-flex;
  transition: transform 0.1s;
}
.title-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.15rem 0.25rem 1.15rem;
  border-radius: 6px;
  border: 1px solid rgb(176, 155, 119);
  position: relative;
  overflow: hidden;
  background-image: url("/img/paper.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7),
    0 1px 3px rgba(0,0,0,0.67);
  transition: color 0.15s, box-shadow 0.15s, transform 0.1s, filter 0.15s;
}
.title-nav__btn::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fdfaf5 0%, #e3d5c0 55%, #b09b77 100%);
  box-shadow:
    inset 0 0 2px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.4);
}
.title-nav__btn::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-top: 2px dotted rgb(176, 155, 119);
  border-bottom: 2px dotted rgb(176, 155, 119);
  pointer-events: none;
}
.title-nav__item:hover {
  transform: scale(1.12) !important;
  z-index: 99;
}
.title-nav__item:hover .title-nav__btn {
  filter: contrast(1.05) saturate(1.05);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.75),
    0 2px 4px rgba(0,0,0,0.3);
  text-decoration: none;
}
.title-nav__item:active {
  transform: scale(0.99);
}
.title-nav__item:active .title-nav__btn {
  box-shadow: 0 1px 2px rgba(0,0,0,0.32);
}

/* Slight jaunty offsets for nav buttons */
.title-nav__item:nth-child(1) {
  transform: rotateZ(-2deg);
}
.title-nav__item:nth-child(2) {
  transform: rotateZ(3deg);
}
.title-nav__item:nth-child(3) {
  transform: rotateZ(-1deg);
}
.title-nav__item:nth-child(4) {
  transform: rotateZ(1deg);
}
.title-nav__item:nth-child(5) {
  transform: rotateZ(-2deg);
}
.title-nav__item:nth-child(6) {
  transform: rotateZ(2deg);
}

/* Section headings */
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--cyan);
  text-transform: none;
}
/* Explanation section */
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  text-transform: none;
}
.hero-stats {
  text-align: center;
  margin: 1.5rem 0 0 0;
}
.hero-stats p {
  font-family: 'Hammersmith One', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.hero-stats .hero-stats__cta {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  margin: 1rem 0 0 0;
  padding: 0.75rem 1rem;
  background: var(--pink);
  color: #fff;
  text-transform: uppercase;
}
.hero-question {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  background: var(--pink);
  color: #fff;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}
.clues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.clue-card {
  background: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 8px solid var(--pink);
}
.clue-card:nth-child(2) { border-top-color: var(--cyan); }
.clue-card:nth-child(3) { border-top-color: var(--orange); }
.clue-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

/* FAQ */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: 'Cormorant Garamond', serif;
}
.faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.faq-a {
  color: var(--muted);
  margin: 0;
  text-transform: none;
}
.faq-a code,
.faq-a em {
  color: var(--ink);
  font-style: normal;
}

/* Footer banner */
.banner {
  font-family: 'Hammersmith One', sans-serif;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2.5rem;
  padding: 1rem 1rem 0.6rem 1rem;
  background: var(--pink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.banner span { opacity: 0.9; }
.banner .dot { margin: 0 0.5rem; opacity: 0.6; }

/* Example clues */
#example-clues-heading {
  text-align: left;
}
.example-clues-box {
  background: #fff;
  padding: 1.25rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  position: relative;
  margin-bottom: 0;
  margin-top: 2rem;
}
.example-clues-box .clue-line {
  margin: 0.75rem 0;
}
.example-clues-box .clue-line:first-of-type {
  margin-top: 0;
}
.example-clues-box .clue-line:last-of-type {
  margin-bottom: 0;
}
.clue-clarifications-static {
  margin: 0 2.25rem 3rem;
  background: #f2ffff;;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 0.85rem 1.5rem 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--muted);
  text-transform: none;
}
.clue-clarifications-static p {
  margin: 0.2rem 0;
}
.clue-clarifications-static p:first-of-type {
  margin-top: 0.1rem;
}
.clue-clarifications-static p:last-of-type {
  margin-bottom: 0.2rem;
}
.clue-badge {
  position: absolute;
  top: -0.9rem;
  left: 1rem;
  background: var(--pink);
  color: #fff;
  font-family: 'Hammersmith One', sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem 0.25rem;
  border-radius: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.clue-highlight {
  background: rgba(0, 0, 0, 0.08);
  padding: 0.1em 0.2em;
}
.clue-clarifications-static a {
  color: var(--pink);
  font-weight: 600;
  text-decoration: underline;
}
.clue-clarifications-static a:hover {
  text-decoration: none;
}
.clue-clarifications-static .clue-clarification-visual {
  text-align: center;
  margin: 0.35rem 0 0.5rem;
}
.clue-clarifications-static .clue-clarification-visual img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Clue 18 – own section; width shared by bar + revealed text */
.clue-eighteenth-section {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
  text-transform: none;
  --clue-spoiler-block-width: clamp(11.5rem, 42vw, 15.5rem);
}
.clue-eighteenth-intro {
  margin: 0 0 1.25rem;
  text-transform: none;
}
/* Clue 18: whole line built from inline-block pieces (details may not sit inside <p>) */
.clue-line--inline-spoiler {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.clue-inline-spoiler__row {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.4rem;
  white-space: nowrap;
  vertical-align: middle;
}
.clue-inline-spoiler__prefix {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  text-transform: none;
  line-height: 1.3;
}
details.clue-inline-spoiler {
  display: block;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
details.clue-inline-spoiler[open] {
  display: block;
}
.clue-inline-spoiler__bar {
  list-style: none;
  display: block;
  /* Wider than “isn’t Alice” so length isn’t a giveaway; matches revealed .clue-inline-spoiler__text */
  width: var(--clue-spoiler-block-width, clamp(11.5rem, 42vw, 15.5rem));
  min-height: 1.45em;
  height: 1.45em;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background-color: #2c2825;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.06) 3px,
    rgba(255, 255, 255, 0.06) 4px
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.15);
}
.clue-inline-spoiler__bar:hover,
.clue-inline-spoiler__bar:focus-visible {
  background-color: #3d3834;
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.clue-inline-spoiler__bar::-webkit-details-marker,
.clue-inline-spoiler__bar::marker {
  display: none;
}
.clue-inline-spoiler__text {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  text-transform: none;
}
details.clue-inline-spoiler[open] > .clue-inline-spoiler__bar {
  display: none;
}
details.clue-inline-spoiler[open] > .clue-inline-spoiler__text {
  display: block;
  width: var(--clue-spoiler-block-width, clamp(11.5rem, 42vw, 15.5rem));
  box-sizing: border-box;
  text-align: left;
  min-height: 1.45em;
  line-height: 1.45em;
}

.faq-rule-quote {
  background: #fff;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Buy on Amazon */
section[aria-labelledby="amazon-heading"] {
  margin-top: 2.5rem;
}
.amazon-heading-banner {
  background: var(--pink);
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  margin: 0 0 1rem;
  border-radius: 4px;
  text-align: center;
}
.amazon-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
  align-items: center;
}
.amazon-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.amazon-buttons--primary {
  margin-bottom: 0;
}
.amazon-buttons--other {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.amazon-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  color: #fff;
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 16px;
  border: none;
  box-shadow:
    2px 2px 0 rgba(0,0,0,0.06),
    4px 6px 16px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.25);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  min-width: 140px;
}
.amazon-btn:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    2px 4px 0 rgba(0,0,0,0.06),
    6px 10px 24px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.amazon-btn:active {
  transform: translateY(0);
  box-shadow:
    1px 1px 0 rgba(0,0,0,0.08),
    2px 4px 12px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.amazon-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}
.amazon-btn__label {
  font-size: 0.7rem;
  opacity: 0.95;
  letter-spacing: 0.06em;
}
.amazon-btn__region {
  font-size: 1.15rem;
  line-height: 1.2;
}
.amazon-btn__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.amazon-btn__arrow svg {
  width: 14px;
  height: 14px;
}
/* US – magenta/pink */
.amazon-btn--us {
  background: linear-gradient(180deg, #e5007f 0%, #c70067 50%, #a80055 100%);
}
/* UK – cyan/teal */
.amazon-btn--uk {
  background: linear-gradient(180deg, #00e5e5 0%, #00c7c7 50%, #00a8a8 100%);
}
/* Other countries – dark blue */
.amazon-btn--other {
  background: linear-gradient(180deg, #2a3e4c 0%, #1f2f3a 50%, #1a2e3c 100%);
}
/* Expanded list items – simple link style */
.amazon-buttons--other .amazon-btn {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  background: linear-gradient(180deg, #2a3e4c 0%, #1a2e3c 100%);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.15);
}
.amazon-buttons--other .amazon-btn .amazon-btn__text {
  flex-direction: row;
  gap: 0.25rem;
}
.amazon-buttons--other .amazon-btn .amazon-btn__label {
  display: none;
}
.amazon-buttons--other .amazon-btn .amazon-btn__region {
  font-size: 0.85rem;
}
.amazon-buttons--other .amazon-btn .amazon-btn__arrow {
  width: 28px;
  height: 28px;
}
.amazon-buttons--other .amazon-btn .amazon-btn__arrow svg {
  width: 10px;
  height: 10px;
}
.amazon-other-toggle {
  list-style: none;
  margin: 0;
  padding: 0;
}
.amazon-other-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem 1rem 1.5rem;
  color: #fff;
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  border-radius: 16px;
  border: none;
  box-shadow:
    2px 2px 0 rgba(0,0,0,0.06),
    4px 6px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 140px;
  background: linear-gradient(180deg, #2a3e4c 0%, #1f2f3a 50%, #1a2e3c 100%);
}
.amazon-other-toggle summary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    2px 4px 0 rgba(0,0,0,0.06),
    6px 10px 24px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.25);
}
.amazon-other-toggle summary .amazon-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}
.amazon-other-toggle summary .amazon-btn__label {
  font-size: 0.7rem;
  opacity: 0.95;
  letter-spacing: 0.06em;
}
.amazon-other-toggle summary .amazon-btn__region {
  font-size: 1.15rem;
  line-height: 1.2;
}
.amazon-other-toggle summary .amazon-btn__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.amazon-other-toggle summary .amazon-btn__arrow svg {
  width: 14px;
  height: 14px;
}
.amazon-other-toggle[open] {
  flex-basis: 100%;
}
.amazon-other-toggle[open] summary {
  display: none;
}
.amazon-other-toggle summary::-webkit-details-marker,
.amazon-other-toggle summary::marker {
  display: none;
}

/* Global text links (inline) */
a {
  color: var(--pink);
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

/* Contact */
section[aria-labelledby="contact-heading"] a {
  font-weight: 600;
}

@media (max-width: 500px) {
  .clue-clarifications-static {
    margin: 0 0.75rem 2rem;
    padding: 0.75rem 1rem 0.9rem;
  }
  .corrections-accordion__summary { font-size: 0.9rem; }
  .corrections-edition-content .misprint-photos,
  .misprint-photos {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .corrections-edition-content .misprint-photos-row,
  .misprint-photos-row {
    grid-template-columns: 1fr;
  }
}

/* Check Answer form */
.check-answer-form {
  margin-top: 1rem;
  background: #f8e2bd;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 2px solid rgba(0,0,0,0.06);
}
.check-answer-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.check-answer-label {
  font-family: 'Hammersmith One', sans-serif;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.check-answer-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 2px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.75);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  text-transform: none;
}
.check-answer-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(205, 2, 142, 0.18);
}
.check-answer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
  min-width: 220px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #cd028e 0%, #a60172 50%, #82005b 100%);
  box-shadow:
    2px 2px 0 rgba(0,0,0,0.06),
    4px 6px 16px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.1s, box-shadow 0.2s, filter 0.2s;
}
.check-answer-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}
.check-answer-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.check-answer-status {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  text-transform: none;
  background: rgba(255,255,255,0.5);
  border: 2px dashed rgba(0,0,0,0.18);
  min-height: 2.5rem;
}
.check-answer-status[data-kind="error"] {
  border-color: rgba(252, 68, 15, 0.65);
  background: rgba(252, 68, 15, 0.08);
}
.check-answer-status[data-kind="success"] {
  border-color: rgba(109, 214, 218, 0.95);
  background: rgba(109, 214, 218, 0.16);
}

/* Privacy page */
section[aria-labelledby="privacy-heading"] .privacy-subheading {
  font-family: 'Hammersmith One', sans-serif;
  font-size: 1.05rem;
  font-weight: normal;
  margin: 1.5rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: none;
  padding: 0;
}
section[aria-labelledby="privacy-heading"] .privacy-subheading:first-of-type {
  margin-top: 1rem;
}

/* Missing letters locations table */
section[aria-labelledby="missing-letters-locations"] .table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 2.5rem;
}

section[aria-labelledby="missing-letters-locations"] table.missing-letters-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.95rem;
}

section[aria-labelledby="missing-letters-locations"] thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
  text-align: left;
  padding: 0.6rem 0.6rem;
  border-bottom: 2px solid rgba(26, 21, 18, 0.25);
  font-family: 'Hammersmith One', sans-serif;
  font-weight: bold;
  letter-spacing: 0.04em;
}

section[aria-labelledby="missing-letters-locations"] td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(26, 21, 18, 0.14);
}

section[aria-labelledby="missing-letters-locations"] tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

section[aria-labelledby="missing-letters-locations"] td.num {
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Name column: keep proper capitalization and slightly more readable font */
section[aria-labelledby="missing-letters-locations"] td:nth-child(3) {
  text-transform: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}
