/* Bea: the ship's cat band. Boop her nose. */
.bea-band { position: relative; margin-top: 130px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-2); overflow: hidden; }
.beasec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 380px; }
.beatx { display: flex; flex-direction: column; gap: 18px; padding: 56px 0 60px; }
.bea-k { color: var(--accent); }
.bea-h { font-size: 96px; color: var(--bea-title, var(--text)); }
.bea-p { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.7; color: var(--text-3); }
.bea-count { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.odo { position: relative; display: flex; gap: 4px; }
.odo > span { width: 34px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--bg-4); border: 1px solid var(--line);
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 600; font-size: 30px; color: var(--title); }
.odo > span.tick { animation: odo .35s ease-out; }
@keyframes odo { 0% { transform: translateY(-6px); color: var(--pink); } 100% { transform: none; } }
.bea-cl { font-size: 12px; letter-spacing: .18em; line-height: 1.6; color: var(--text-5); }
.bea-mood { font-size: 12px; letter-spacing: .16em; color: var(--pink); }

.beaimg { position: relative; display: flex; justify-content: center; align-items: center; height: 380px; }
.bea-art { position: relative; width: 360px; max-width: 100%; color: var(--bea-ink, var(--tent)); }   /* her own ink (themes can set --bea-ink); falls back to the tentacles' */
.bea-art .br { color: inherit; }
.bea-art svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: currentColor; stroke-width: var(--bea-stroke, var(--tent-stroke, 1.5)); stroke-linecap: round; }
.bea-art .br-g1 { opacity: .86; } .bea-art .br-g2 { opacity: .7; }
.hf { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; }
.hf.f0 { position: relative; opacity: 1; }
.bea-art.turning .hf.f0 { animation: hf0 .4s steps(1) forwards; }
.bea-art.turning .hf.f1 { animation: hf1 .4s steps(1) forwards; }
.bea-art.turning .hf.f2 { animation: hf2 .4s steps(1) forwards; }
.bea-art.turning .hf.f3 { animation: hf3 .4s steps(1) forwards; }
.bea-art.turning .hf.f4 { animation: hf4 .4s steps(1) forwards; }
@keyframes hf0 { 0% { opacity: 0; } 80%, 100% { opacity: 1; } }
@keyframes hf1 { 0% { opacity: 1; } 20%, 100% { opacity: 0; } }
@keyframes hf2 { 0% { opacity: 0; } 20% { opacity: 1; } 40%, 100% { opacity: 0; } }
@keyframes hf3 { 0% { opacity: 0; } 40% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes hf4 { 0% { opacity: 0; } 60% { opacity: 1; } 80%, 100% { opacity: 0; } }
.nose3 { position: absolute; left: 52.7%; top: 37%; z-index: 2; width: 22%; height: 18%; margin: 0; padding: 0; transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nose3:focus-visible { outline: 1px dashed color-mix(in srgb, var(--pink) 70%, transparent); outline-offset: 2px; }
.pop { position: absolute; left: 61%; top: 22%; font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .1em;
  color: var(--pink); pointer-events: none; opacity: 0; }
.pop.pa { animation: popa .7s ease-out; }
.pop.pb { animation: popb .7s ease-out; }
@keyframes popa { 0% { opacity: 1; transform: translate(0, 0) rotate(-6deg); } 100% { opacity: 0; transform: translate(26px, -40px) rotate(-12deg); } }
@keyframes popb { 0% { opacity: 1; transform: translate(0, 0) rotate(6deg); } 100% { opacity: 0; transform: translate(30px, -44px) rotate(10deg); } }

@media (max-width: 959px) {
  .beasec { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-top: 44px; padding-bottom: 48px; }
  .beatx { display: contents; }
  .beatx > * { margin-bottom: 16px; }
  .bea-k { order: 1; } .bea-h { order: 2; margin-bottom: 4px; }
  .beaimg { order: 3; height: auto; margin: -18px 0 36px; }
  .beatx > *:not(.bea-k):not(.bea-h) { order: 4; }
  .bea-p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .bea-art.turning .hf { animation-duration: .01s; } .odo > span.tick { animation: none; } }

/* Bea's wardrobe (takeover mode) */
.wd { padding-top: 130px; }
.wd-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.wd-p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 1.7; color: var(--text-3); }
.wd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 18px; margin-top: 40px; }
.wd-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line-2); }
.wd-pics { height: 170px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.wd-pics img { justify-self: center; max-width: 100%; max-height: 170px; object-fit: contain; }
.wd-br { color: var(--bea-ink, var(--tent)); }
.wd-br svg { max-height: 170px; width: auto !important; margin-left: auto; stroke-width: var(--bea-stroke, var(--tent-stroke, 1.5)) !important; }
.wd-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wd-name { font-size: 15px; letter-spacing: .2em; color: var(--title); }
.wd-when { font-size: 11px; letter-spacing: .16em; color: var(--text-5); }
.wd-rule { margin-top: 110px; height: 1px; background: var(--line-2); }

/* wardrobe: how many of each the visitor has found */
.wd-name { display: flex; align-items: baseline; gap: 10px; }
.wd-count { font-size: 12px; letter-spacing: .1em; color: var(--pink); }
.wd-stats { margin-top: 40px; padding: 20px; background: var(--bg-2); border: 1px solid var(--line-2); }
.wd-stats-h { margin: 0 0 12px; font-size: 13px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--text-4); }
