/* 30 Shrimp — SolyMar Games
   Hand-drawn pencil style. No external resources, no cookies. */

@font-face {
  font-family: "Comic Relief";
  src: url("../fonts/ComicRelief-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Comic Relief";
  src: url("../fonts/ComicRelief-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --paper: #DFF2F5;
  --teal: #68BBC6;
  --ink: #143941;
  --orange: #F68402;
  --yellow: #FDC530;
  --red: #FE4C41;
  --sheet: #F7FCFD;
  --note: #FFF2C2;
  --font: "Comic Relief", "Comic Sans MS", "Comic Sans", "Chalkboard SE", casual, cursive;
  --texture: url("../img/paper.svg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper) var(--texture);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #0b2329; text-decoration-color: var(--orange); }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .45em; font-weight: 700; }
h1 { font-size: clamp(54px, 9vw, 104px); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 23px; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px dashed var(--orange); outline-offset: 4px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.muted { opacity: .85; }
.small { font-size: 15px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Languages: every text exists as .en and .es ---------- */
html[lang="es"] .en { display: none !important; }
html:not([lang="es"]) .es { display: none !important; }

/* ---------- Pencil-drawn outlines ----------
   Without JavaScript: a plain ink border.
   With JavaScript: the border turns invisible and site.js draws a
   wobbly, pencil-textured outline around each .sketch element.      */
.sketch { position: relative; border: 2px solid var(--ink); }
.js .sketch { border-color: transparent; }
.sk { position: absolute; pointer-events: none; overflow: visible; z-index: 1; }

.line { height: 12px; border-top: 2px solid var(--ink); position: relative; }
.js .line { border-top-color: transparent; }
.line .sk { left: 0; top: -6px; }

/* Icons: simple line drawings (see the sprite at the top of each page) */
.icon {
  width: 1.5em; height: 1.5em; flex: none; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.icon-lg { width: 64px; height: 64px; stroke-width: 2.4; }
.icon-md { width: 46px; height: 46px; stroke-width: 2.7; }

/* Marker highlight behind words */
.mark {
  background: linear-gradient(100deg, transparent 1%, rgba(253,197,48,.9) 3%, rgba(253,197,48,.7) 50%, rgba(253,197,48,.85) 96%, transparent 99%) 0 88% / 100% .42em no-repeat;
  padding: 0 .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Paper sheets (cards) ---------- */
.sheet {
  background: var(--sheet) var(--texture);
  border-radius: 12px;
  padding: 26px 26px 22px;
  box-shadow: 1px 2px 0 rgba(20,57,65,.08), 0 10px 18px -10px rgba(20,57,65,.30);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .25s ease, box-shadow .25s ease;
}
.tilt-l { --tilt: -.8deg; }
.tilt-r { --tilt: .7deg; }
@media (hover: hover) {
  .lift:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 2px 4px 0 rgba(20,57,65,.08), 0 24px 34px -14px rgba(20,57,65,.42);
  }
}
.tape::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; margin-left: -48px;
  background: rgba(253,197,48,.62); transform: rotate(-3deg); z-index: 2;
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%);
}
.sheet.teal { background-color: var(--teal); }
.sheet.yellow { background-color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .6em 1.2em .62em;
  font: 700 18px/1.2 var(--font);
  color: var(--ink); background: var(--orange) var(--texture);
  border-radius: 14px; text-decoration: none; cursor: pointer;
  box-shadow: 1px 3px 0 rgba(20,57,65,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 1.35em; height: 1.35em; stroke-width: 3.2; }
.btn:hover { color: var(--ink); transform: translateY(-3px) rotate(-.6deg); box-shadow: 2px 9px 14px -4px rgba(20,57,65,.35); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 0 rgba(20,57,65,.2); }
.btn-yellow { background-color: var(--yellow); }
.btn-teal { background-color: var(--teal); }
.btn-paper { background-color: var(--sheet); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(223,242,245,.94) var(--texture);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 6px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; }
.brand img { width: auto; height: 50px; }
.menu { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; }
.menu a { text-decoration: none; font-weight: 700; padding: 4px 2px; }
.menu a:hover, .menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.lang { display: inline-flex; border-radius: 10px; overflow: visible; background: var(--sheet); }
.lang button {
  font: 700 15px var(--font); color: var(--ink); background: none; border: 0; padding: 5px 11px; cursor: pointer; border-radius: 8px;
}
.lang button[aria-pressed="true"] { background: var(--yellow); }
.site-header .line { margin: 0 22px; }
@media (max-width: 640px) {
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
  .nav { justify-content: center; }
  .menu { justify-content: center; gap: 4px 16px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 34px; align-items: center; padding-top: 46px; padding-bottom: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: 16px; padding: .25em .85em; border-radius: 10px;
  background: var(--yellow) var(--texture); margin: 0 0 12px;
}
.eyebrow .icon { width: 1.25em; height: 1.25em; }
.num30 { color: var(--red); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.lead { font-size: clamp(19px, 2.2vw, 23px); max-width: 30ch; }
.chips { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .32em .9em .32em .7em;
  border-radius: 12px; background: var(--sheet) var(--texture); font-weight: 700; font-size: 17px;
}
.chip .icon { width: 1.6em; height: 1.6em; stroke-width: 2.8; }
.chip:nth-child(odd) { transform: rotate(-1.2deg); }
.chip:nth-child(even) { transform: rotate(1deg); }

.hero-cards { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; justify-self: center; }
.gc {
  position: absolute; width: 43%;
  transform: rotate(var(--r));
  filter: drop-shadow(3px 7px 8px rgba(20,57,65,.30));
  transition: transform .3s ease, filter .3s ease;
}
.gc1 { --r: -10deg; left: 1%; top: 13%; }
.gc2 { --r: -1.5deg; left: 28.5%; top: 2%; z-index: 2; }
.gc3 { --r: 9deg; left: 56%; top: 13%; }
@media (hover: hover) {
  .gc:hover { transform: translateY(-18px) rotate(var(--r)) scale(1.04); z-index: 3; filter: drop-shadow(8px 20px 18px rgba(20,57,65,.35)); }
}
.bubbles { position: absolute; inset: -6% -4% auto auto; width: 30%; color: var(--teal); stroke-width: 2.6; z-index: 0; }
.bubbles-2 { inset: auto auto -2% -6%; width: 22%; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-cards { max-width: 470px; }
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.sub { font-size: 19px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.step { padding-top: 30px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: 24px; background: var(--orange) var(--texture);
}
.step:nth-child(2) .badge { background-color: var(--yellow); }
.step:nth-child(3) .badge { background-color: var(--red); }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }
.more { margin-top: 34px; text-align: center; }

/* Video */
.video-card { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 32px 34px; }
.video-card h2 { margin-bottom: .2em; }
.video-card p { margin: 0; }
.play-doodle { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--sheet) var(--texture); }
.play-doodle .icon { width: 56px; height: 56px; stroke-width: 2.3; color: var(--red); }
@media (max-width: 760px) { .video-card { grid-template-columns: 1fr; justify-items: start; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.mail-line { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 19px; word-break: break-all; }
.mail-line .icon { width: 1.8em; height: 1.8em; stroke-width: 2.6; color: var(--orange); flex: none; }
.form label { display: block; font-weight: 700; margin: 0 0 6px; }
.field { display: block; border-radius: 12px; background: #fff; margin-bottom: 20px; }
.field input, .field textarea {
  display: block; width: 100%; border: 0; background: transparent; color: var(--ink);
  font: 18px/1.5 var(--font); padding: .6em .85em; border-radius: 12px; resize: vertical;
}
.field textarea { min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; }
.field:focus-within { box-shadow: 0 0 0 5px rgba(253,197,48,.55); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-note { font-size: 15px; margin: 14px 0 0; }
.form-done { background: var(--note) var(--texture); border-radius: 10px; padding: 12px 14px; margin-top: 16px; font-size: 16px; }
.form-done[hidden] { display: none; }

/* Footer */
.site-footer { padding: 18px 0 44px; font-size: 15px; }
.site-footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; }
.site-footer details { margin-top: 14px; max-width: 760px; }
.site-footer summary { cursor: pointer; font-weight: 700; }
.nocookies { display: inline-flex; align-items: center; gap: .4em; }
.nocookies .icon { width: 1.4em; height: 1.4em; stroke-width: 2.8; }

/* ---------- Rules page ---------- */
.page-head { padding: 40px 0 10px; }
.page-head h1 { font-size: clamp(42px, 7vw, 78px); }
.rules-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.toc { position: sticky; top: 100px; padding: 22px 22px 18px; }
.toc h2 { font-size: 22px; margin-bottom: .5em; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin: .25em 0; }
.toc a { text-decoration: none; font-weight: 700; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
@media (max-width: 900px) {
  .rules-layout { grid-template-columns: 1fr; }
  .toc { position: relative; top: 0; }
}
.rule-block { padding: 0 0 46px; }
.rule-title { display: flex; align-items: center; gap: 14px; }
.rule-title .icon { width: 50px; height: 50px; stroke-width: 2.6; color: var(--ink); }
.rule-title h2 { margin: 0; }
.rule-block > .sheet { margin-top: 18px; }
.big-goal { font-size: 22px; font-weight: 700; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; margin-top: 22px; }
.card-info { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: start; }
.card-info img { width: 128px; border-radius: 10px; filter: drop-shadow(2px 5px 6px rgba(20,57,65,.28)); transform: rotate(-3deg); transition: transform .25s ease; }
.card-info:hover img { transform: rotate(0deg) scale(1.04); }
.card-info h3 { margin-bottom: .2em; }
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-info { grid-template-columns: 92px 1fr; gap: 14px; padding: 20px 18px; }
  .card-info img { width: 92px; }
}
.corner { display: inline-flex; align-items: center; gap: .4em; font-size: 15px; font-weight: 700; background: var(--paper); border-radius: 8px; padding: .1em .6em; margin-bottom: 10px; }
.card-empty { display: grid; place-items: center; text-align: center; min-height: 230px; }
.card-empty .icon { width: 56px; height: 56px; stroke-width: 2.4; margin: 0 auto 8px; }

/* "To fill in" notes — for the site owner, remove when the text is written */
.todo {
  display: block; background: var(--note) var(--texture); border-radius: 8px;
  padding: 10px 14px 10px 12px; font-size: 16px; margin: 12px 0 0;
}
.todo b { color: #9a4a00; }
.todo .icon { width: 1.35em; height: 1.35em; vertical-align: -.32em; margin-right: .15em; color: #9a4a00; stroke-width: 3; }

/* 404 */
.oops { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =================== Added: home page sections =================== */
.icon-xl { width: 74px; height: 74px; stroke-width: 2.2; }

/* Meet the shrimp */
.shrimp-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 26px; }
.shrimp-fig { margin: 0; width: 180px; text-align: center; }
.shrimp-fig a { display: block; transform: rotate(var(--r, 0deg)); transition: transform .25s ease, filter .25s ease; filter: drop-shadow(3px 6px 7px rgba(20,57,65,.28)); }
.shrimp-fig:nth-child(odd) a { --r: -3deg; }
.shrimp-fig:nth-child(even) a { --r: 2.5deg; }
@media (hover: hover) {
  .shrimp-fig a:hover { transform: translateY(-10px) rotate(0deg) scale(1.04); filter: drop-shadow(6px 16px 14px rgba(20,57,65,.32)); }
}
.shrimp-fig img { width: 100%; border-radius: 12px; }
.shrimp-fig figcaption { margin-top: 14px; display: grid; justify-items: center; gap: 6px; }
.shrimp-fig b { font-size: 19px; line-height: 1.2; }
@media (max-width: 640px) { .shrimp-fig { width: calc(50% - 14px); max-width: 180px; } }

.tag { display: inline-flex; align-items: center; gap: .35em; font-size: 15px; font-weight: 700; padding: .12em .65em; border-radius: 9px; background: var(--yellow) var(--texture); white-space: nowrap; }
.tag.teal { background-color: var(--teal); }
.tag.red { background-color: var(--red); }
.tag.paper { background-color: var(--sheet); }

/* Feature cards */
.feature { text-align: left; }
.feature .icon { color: var(--ink); margin-bottom: 10px; }
.feature h3 { margin-bottom: .25em; }
.feature p { margin: 0; }

/* Story letter */
.story { max-width: 820px; margin: 0 auto; padding: 38px 40px 30px; }
.story p { font-size: 19px; }
.story .icon-xl { color: var(--red); display: block; margin: -6px auto 6px; }
.story .thanks { font-weight: 700; font-size: 22px; margin-top: 6px; }
.story .sign { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-weight: 700; margin: 0; }
.story .sign .icon { color: var(--red); width: 1.4em; height: 1.4em; }
@media (max-width: 640px) { .story { padding: 30px 22px 22px; } }

/* Who are we */
.team { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: center; }
.team-logo { width: 230px; justify-self: center; filter: drop-shadow(3px 6px 8px rgba(20,57,65,.25)); transform: rotate(-4deg); transition: transform .3s ease; }
.team-logo:hover { transform: rotate(3deg) scale(1.03); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } .team-logo { width: 170px; } }

/* Social buttons */
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.socials .btn { font-size: 17px; padding: .5em 1em; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.social-links a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.social-links a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.social-links .icon { width: 1.4em; height: 1.4em; stroke-width: 2.6; }

/* =================== Added: rules page =================== */
.toc ol ol { padding-left: 1.1em; margin: .1em 0 .3em; font-size: 16px; list-style: lower-alpha; }
.lead-in { font-size: 19px; max-width: 64ch; }
h4 { font-size: 21px; line-height: 1.15; margin: 0 0 .35em; }
.sub-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 34px 0 6px; }
.sub-title h3 { margin: 0; font-size: 27px; }

/* What's in the box */
.box-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 18px; }
.stat { text-align: center; padding: 20px 14px 16px; }
.stat img { width: 92px; margin: 0 auto 10px; border-radius: 8px; filter: drop-shadow(2px 4px 5px rgba(20,57,65,.25)); transform: rotate(-3deg); }
.stat .n { font-size: 40px; font-weight: 700; line-height: 1; color: var(--red); -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke fill; }
.stat .l { font-weight: 700; margin-top: 4px; line-height: 1.25; }
.stat .s { font-size: 15px; margin-top: 2px; }
@media (max-width: 1100px) { .box-grid { grid-template-columns: repeat(2, 1fr); } }

.tip { display: flex; gap: 14px; align-items: flex-start; background: var(--note) var(--texture); border-radius: 10px; padding: 14px 16px; margin-top: 22px; }
.tip > .icon { width: 34px; height: 34px; flex: none; color: var(--orange); stroke-width: 2.6; }
.tip p { margin: 0; }
.symbols { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.symbols span { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: 16px; }
.symbols .icon { width: 1.7em; height: 1.7em; stroke-width: 2.6; }
.sym-num { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 2px solid var(--ink); font-weight: 700; font-size: 15px; }

/* Numbered steps */
.steps-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; }
.steps-list > li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.steps-list .badge { width: 46px; height: 46px; font-size: 21px; }
.steps-list h4 { margin: 4px 0 .2em; }
.steps-list p { margin: 0 0 .5em; }
.steps-list p:last-child { margin-bottom: 0; }
.phase:nth-child(2) .badge { background-color: var(--yellow); }
.phase:nth-child(3) .badge { background-color: var(--teal); }
.phase:nth-child(4) .badge { background-color: var(--red); }
.phase:nth-child(5) .badge { background-color: var(--sheet); }

.callout { display: flex; gap: 12px; align-items: flex-start; border-radius: 10px; padding: 12px 14px; margin: 12px 0 4px; background: var(--sheet) var(--texture); }
.callout > .icon { width: 30px; height: 30px; flex: none; stroke-width: 2.6; }
.callout p { margin: 0; }
.callout.warn { background-color: #FFE1DD; }
.callout.warn > .icon { color: var(--red); }
.callout.info > .icon { color: var(--teal); }

/* Card entries */
.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; margin-top: 18px; }
.card-entry { padding: 20px 20px 18px; }
.card-entry::after { content: ""; display: table; clear: both; }
.card-entry .zoom { float: left; width: 112px; margin: 2px 16px 6px 0; display: block; border-radius: 10px; }
.card-entry .zoom img { width: 112px; border-radius: 10px; filter: drop-shadow(2px 5px 6px rgba(20,57,65,.28)); transform: rotate(-3deg); transition: transform .25s ease; }
.card-entry:hover .zoom img { transform: rotate(0deg) scale(1.04); }
.card-entry h4 { margin-top: 2px; }
.card-entry .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.card-entry p { margin: 0; font-size: 17px; }
.card-entry p + p { margin-top: .6em; }
.zoom-hint { font-size: 14px; opacity: .8; margin-top: 4px; }
@media (max-width: 520px) {
  .card-list { grid-template-columns: 1fr; }
  .card-entry .zoom, .card-entry .zoom img { width: 92px; }
}

/* End of game tie-breakers */
.ties { list-style: none; padding: 0; margin: 10px 0 0; }
.ties li { position: relative; padding-left: 30px; margin: .45em 0; }
.ties li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); }

/* FAQ */
.faq { display: grid; gap: 14px; margin-top: 18px; }
.faq-item { padding: 0; border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; font-weight: 700; padding: 16px 52px 16px 20px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); border: 2px solid var(--ink); font-size: 20px; line-height: 1; transition: transform .2s ease;
}
.faq-item details[open] summary::after { content: "–"; background: var(--teal); }
.faq-a { padding: 0 20px 18px; }
.faq-a p, .faq-a ul { margin: 0 0 .6em; }
.faq-a p:last-child, .faq-a ul:last-child { margin-bottom: 0; }

/* Card zoom */
.zoom-dialog { border: 0; padding: 0; background: transparent; width: min(90vw, 440px); max-height: 94vh; overflow: visible; }
.zoom-dialog::backdrop { background: rgba(20,57,65,.6); }
.zoom-dialog img { width: 100%; border-radius: 18px; filter: drop-shadow(4px 12px 18px rgba(0,0,0,.35)); }
.zoom-dialog .btn { margin: 16px auto 0; display: flex; width: max-content; }

.big-goal { margin-bottom: .7em !important; }
.follow { margin-top: 34px; }
.follow h3 { margin-bottom: .1em; }
.sheet .callout:last-child { margin-bottom: 0; }

/* Keep everything inside the screen on small phones */
.rules-layout > *, .card-list > *, .box-grid > *, .grid3 > *, .contact > * { min-width: 0; }
p, li, h1, h2, h3, h4, summary { overflow-wrap: break-word; }
body { overflow-x: clip; }
.steps-list > li { grid-template-columns: 52px minmax(0, 1fr); }
.callout > div, .tip > div { min-width: 0; }
@media (max-width: 420px) {
  .sheet { padding: 22px 18px 18px; }
  .steps-list > li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .steps-list .badge { width: 38px; height: 38px; font-size: 18px; }
  .callout { padding: 10px 12px; gap: 10px; }
  .callout > .icon { width: 24px; height: 24px; }
  .card-entry p, .callout p, .steps-list p, .faq-a { -webkit-hyphens: auto; hyphens: auto; }
}

/* =================== Round 4 =================== */
/* Headings: --display will point to the brush font once its file is in /fonts */
:root { --display: var(--font); }
h1, h2, .sub-title h3 { font-family: var(--display); font-synthesis: none; }

/* Hero: the 30 Shrimp logo is the main title */
.hero-logo { margin: 0 0 16px; line-height: 0; }
.hero-logo img { width: min(100%, 430px); height: auto; filter: drop-shadow(2px 4px 0 rgba(20,57,65,.10)); }
@media (max-width: 860px) { .hero-logo img { width: min(100%, 340px); } }

/* Wild Shrimp: the special Action card */
.card-entry.special { background-color: #FFF1C4; }
.card-entry.special h4 { font-size: 23px; }
.tag .icon { width: 1.15em; height: 1.15em; stroke-width: 3; }
.tag.red { color: var(--ink); }

/* Wild Shrimp block under the Action cards */
.special-block { margin-top: 30px; }
.special-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.special-title .icon { width: 40px; height: 40px; color: var(--orange); stroke-width: 2.6; }
.special-title h4 { margin: 0; font-size: 24px; }
.card-entry.special { max-width: 720px; }
.card-entry.special .zoom, .card-entry.special .zoom img { width: 150px; }
.card-entry.special h4 { font-size: 26px; }
@media (max-width: 520px) { .card-entry.special .zoom, .card-entry.special .zoom img { width: 110px; } }
@media (max-width: 520px) { .card-entry.special .zoom, .card-entry.special .zoom img { width: 92px; } }
@media (max-width: 380px) { .card-entry .tags .tag { white-space: normal; } }
