/* wildlifelist.com: the website. Pangolin's brand: brown #653600 (earth), yellow #E9A713 (African sunlight). */

:root {
  --white: #ffffff;
  --paper: #faf7f2;
  --border: #e6ddd0;
  --ink: #3d2100;
  --ink-soft: #6b4a26;
  --ink-faint: #8f7d6c;
  --brand: #653600;
  --brand-deep: #4a2700;
  --sun: #e9a713;
  --sun-dim: #fdf3dc;
  --sun-ink: #7a5500;
  --radius: 14px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.small { font-size: 0.85rem; color: var(--ink-faint); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-ink); margin-bottom: 0.6em; }
.eyebrow--sun { color: var(--sun); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }

.draft {
  background: var(--sun);
  color: var(--brand-deep);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--big { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--sun { background: var(--sun); color: var(--brand-deep); }
.btn--sun:hover { background: #f3b62a; }
.btn--line { border-color: var(--brand); color: var(--brand); background: transparent; }

/* Header */
.site-head { border-bottom: 1px solid var(--border); background: var(--white); position: sticky; top: 0; z-index: 5; }
/* The logo is 720 × 440, so 150px wide is about 92px tall: 16px clear above and below it. */
:root { --head-h: 125px; }
.site-head__row { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); padding: 16px 0; }
.brand img { display: block; width: 150px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--brand); text-decoration: underline; }
@media (max-width: 760px) {
  .site-nav { display: none; }
  :root { --head-h: 104px; }
  .site-head__row { justify-content: space-between; padding: 12px 0; }
  .brand img { width: 130px; }
}

/* Hero */
.hero { background: radial-gradient(120% 140% at 85% 30%, #8a4d0a 0%, var(--brand) 55%, var(--brand-deep) 100%); color: var(--white); }
.hero__row { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: center; padding: clamp(48px, 9vw, 110px) 0; }
.hero .lead { color: #f3dcb0; }
.hero .eyebrow { color: var(--sun); }
.hero .btn--line { border-color: #f3dcb0; color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__art img { width: 100%; max-width: 320px; display: block; margin-inline: auto; opacity: 0.95; }
@media (max-width: 760px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}

/* Numbers */
.numbers { background: var(--sun-dim); border-bottom: 1px solid var(--border); }
.numbers__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; padding: 26px 0; text-align: center; }
.numbers strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); }
.numbers span { font-size: 0.9rem; color: var(--ink-soft); }

/* Bands */
.band { padding: clamp(44px, 7vw, 80px) 0; }
.band--paper { background: var(--paper); }
.band--brand { background: var(--brand); color: var(--white); }
.band--brand p { color: #f3dcb0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; gap: 28px; } }

.steps, .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 12px; }
.step, .card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step p, .card p { color: var(--ink-soft); margin: 0; }
.step__n {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sun); color: var(--brand-deep); font-weight: 800; margin-bottom: 12px;
}
.quote { border-left: 4px solid var(--sun); padding: 8px 0 8px 24px; }
.quote p { font-size: 1.3rem; font-weight: 600; color: var(--brand); }
.quote span { font-size: 0.9rem; color: var(--ink-faint); }

/* Species cards */
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin: 12px 0 20px; }
.sp-card {
  display: flex; gap: 14px; align-items: center; padding: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--ink);
}
.sp-card:hover { border-color: var(--sun); box-shadow: 0 4px 16px rgba(101, 54, 0, 0.08); }
.sp-card__photo { flex: none; width: 76px; height: 76px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.sp-card__photo img { width: 44px; opacity: 0.85; }
.sp-card__text { display: flex; flex-direction: column; min-width: 0; }
.sp-card__text em { font-size: 0.85rem; color: var(--ink-faint); }
.sp-card__meta { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.more { font-weight: 700; }

.red { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fde7e4; color: #a3261a; white-space: nowrap; }
.red--CR, .red--EN { background: #c62828; color: var(--white); }

/* Countries */
.region { margin-top: 24px; color: var(--ink-soft); font-size: 1rem; }
.countries { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.country { display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.country:hover { border-color: var(--sun); background: var(--sun-dim); }
.country span { font-size: 0.85rem; color: var(--ink-faint); }

/* Species index */
.filters { position: sticky; top: var(--head-h); background: var(--white); padding: 12px 0; z-index: 2; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.search { width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 16px; border: 2px solid var(--border); border-radius: 999px; }
.search:focus { outline: none; border-color: var(--sun); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; scrollbar-width: thin; }
.chip { flex: none; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); text-decoration: none; color: var(--ink-soft); }
.chip--on { background: var(--brand); border-color: var(--brand); color: var(--white); }
.chips--wrap { flex-wrap: wrap; overflow: visible; padding-top: 0; }
.chip span { opacity: 0.7; font-weight: 500; margin-left: 2px; }
.chip:hover { border-color: var(--sun); }
.chip--on:hover { border-color: var(--brand); }
/* Show (birds or mammals) on top, then the countries with the full width: each region fits one line. */
.picker { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px 22px; margin: 8px 0 12px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); }
.picker__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-ink); margin: 0 0 10px; }
.picker__region { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin: 14px 0 8px; }
.picker__group:nth-child(2) { order: -1; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.picker .chip { background: var(--white); font-size: 0.88rem; padding: 6px 13px; }
.picker .chip--on { background: var(--brand); color: var(--white); }
@media (max-width: 760px) {
  .picker { padding: 16px; }
  .picker .chip { padding: 6px 12px; }
}
.count { font-size: 1rem; color: var(--ink-faint); font-weight: 500; }
.sp-list { list-style: none; padding: 0; margin: 0 0 32px; columns: 3 260px; column-gap: 32px; }
.sp-list li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--paper); }
.sp-list a { font-weight: 600; text-decoration: none; }
.sp-list a:hover { text-decoration: underline; }
.sp-list em { font-size: 0.82rem; color: var(--ink-faint); }

/* Species page */
.crumbs { font-size: 0.85rem; color: var(--ink-faint); }
.crumbs a { color: var(--ink-faint); }
.sp-head { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 40px; align-items: center; margin-top: 12px; }
.sp-photo {
  aspect-ratio: 4 / 3; border-radius: var(--radius); background: radial-gradient(circle at 50% 35%, #8a4d0a, var(--brand));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #f3dcb0;
}
.sp-photo img { width: 96px; opacity: 0.9; margin-bottom: 12px; }
.sp-photo p { margin: 0; font-size: 0.9rem; }
.sp-photo a { color: var(--sun); }
.sci { font-style: italic; font-size: 1.2rem; color: var(--ink-soft); margin-top: -0.3em; }
.tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.kind { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.note { background: var(--sun-dim); border-radius: 10px; padding: 10px 14px; font-size: 0.9rem; }
@media (max-width: 760px) { .sp-head { grid-template-columns: 1fr; gap: 20px; } }

.where { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: 24px; }
.where li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.where a { font-weight: 600; text-decoration: none; }
.status { font-size: 0.85rem; color: var(--ink-soft); }
.status--V { color: var(--sun-ink); font-weight: 600; }
.big { font-size: 1.3rem; }

.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 140px; align-items: end; }
.months__bar { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; }
.months__bar span { display: block; width: 100%; min-height: 2px; background: var(--sun); border-radius: 4px 4px 0 0; }
.months__bar em { font-style: normal; font-size: 0.75rem; color: var(--ink-faint); }

/* Footer */
.site-foot { background: var(--brand-deep); color: #f3dcb0; padding: 40px 0; }
.site-foot a { color: var(--white); }
.site-foot__name { font-weight: 800; font-size: 1.2rem; color: var(--sun); margin-bottom: 0.4em; }
.site-foot__row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-foot__row p { max-width: 28em; font-size: 0.9rem; }
.site-foot__links { display: flex; flex-direction: column; gap: 8px; }

/* My list */
.signin-card {
  max-width: 480px; margin: 24px 0; padding: 28px;
  background: var(--white); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(101, 54, 0, 0.08);
}
.signin-card h2 { margin-bottom: 0.3em; }
.signin-card > p { color: var(--ink-soft); }
.signin-form { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 16px; }
.field-label { font-weight: 700; font-size: 0.95rem; }
.field {
  display: block; width: 100%; font: inherit; font-size: 1.1rem; color: var(--ink);
  padding: 14px 16px; min-height: 56px; background: var(--paper);
  border: 2px solid var(--border); border-radius: 12px;
}
.field::placeholder { color: var(--ink-faint); }
.field:focus { outline: none; border-color: var(--sun); background: var(--white); box-shadow: 0 0 0 4px var(--sun-dim); }
.field--code { font-size: 1.6rem; letter-spacing: 0.5em; text-align: center; font-weight: 700; padding-left: calc(16px + 0.5em); }
.signin-form .btn { width: 100%; margin-top: 4px; }
.signin-form button:disabled { opacity: 0.6; cursor: default; }
.error { color: #b3261e; font-weight: 600; margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 20px 0; }
.tile { background: var(--sun-dim); border-radius: var(--radius); padding: 16px 18px; }
.tile strong { display: block; font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.tile span { font-size: 0.9rem; color: var(--ink-soft); }
.list-tools { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.list-tools .chips { flex-wrap: wrap; }
button.chip { font: inherit; font-size: 0.85rem; background: var(--white); cursor: pointer; }
button.chip.chip--on { background: var(--brand); color: var(--white); }
.records { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.records th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); padding: 8px 10px; border-bottom: 2px solid var(--border); }
.records td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.records td a { font-weight: 600; text-decoration: none; }
.records td em { display: block; font-size: 0.8rem; color: var(--ink-faint); }
.records .num { text-align: right; }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
button.btn { font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 600px) {
  .records th:nth-child(3), .records td:nth-child(3) { display: none; }
}

/* My list: filters, map, species panel and photos */
.list-tools { gap: 10px; }
.list-tools__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.list-tools__label { width: 70px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun-ink); }
.list-tools__row .chips { flex-wrap: wrap; padding-top: 0; }
.my-heading { margin-top: 28px; }
.my-map { height: 420px; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 8px; z-index: 0; }
.records__row { cursor: pointer; }
.records__row:hover td, .records__row:focus td { background: var(--sun-dim); }
.records__row:focus { outline: none; }
.add-hint { font-size: 0.8rem; color: var(--sun-ink); font-weight: 600; }
.panel-overlay { position: fixed; inset: 0; background: rgba(40, 22, 0, 0.45); z-index: 20; display: flex; justify-content: flex-end; }
.panel { width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--white); padding: 24px; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15); }
.panel__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 8px; }
.panel__head h2 { margin: 0; }
.panel__head .sci { font-size: 1rem; margin: 2px 0 4px; }
.panel__close { font: inherit; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-soft); padding: 0 6px; }
.sighting { padding: 16px 0; border-bottom: 1px solid var(--border); }
.sighting p { margin: 0 0 4px; }
.sighting__where { color: var(--ink-soft); }
.sighting__ask { margin-top: 10px !important; font-weight: 700; color: var(--brand); }
.sighting .btn { margin-top: 8px; min-height: 42px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.gallery:empty { display: none; }
.gallery__item { position: relative; margin: 0; }
.gallery__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--paper); }
.gallery__remove { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(40, 22, 0, 0.65); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.chosen { font-size: 0.75rem; font-weight: 700; color: var(--sun-ink); margin-top: 4px; }
@media (max-width: 600px) {
  .records th:nth-child(4), .records td:nth-child(4) { display: none; }
  .my-map { height: 320px; }
  .list-tools__label { width: 100%; }
}

.pin-cluster { border-radius: 50%; background: var(--brand); border: 3px solid var(--sun); color: #fff; font-weight: 800; font-size: 0.85rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.pin-cluster span { display: block; width: 100%; line-height: 28px; text-align: center; }

.about { padding: 12px 0 4px; border-bottom: 1px solid var(--border); }
.about p { margin: 0 0 8px; }
.about__tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 600; color: var(--ink-soft); font-size: 0.9rem; }
.about__where { background: var(--paper); border-radius: 10px; padding: 10px 12px; margin: 4px 0 10px; }
.about__where p { margin: 4px 0 0; }
.about__status { font-weight: 700; color: var(--ink-soft); }
.panel__sub { margin: 18px 0 0; font-size: 1.05rem; }
.panel__more { margin-top: 16px; font-weight: 600; }
.where-note { background: #fff4e0; border-left: 3px solid var(--sun); border-radius: 6px; padding: 8px 10px; font-size: 0.88rem; color: var(--ink-soft); margin-top: 8px !important; }

/* My list: countries report and badges */
.report { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.report__card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--white); }
.report__card h3 { margin-bottom: 10px; }
.report__line { margin-bottom: 10px; }
.report__line p { margin: 0 0 4px; }
.report__line strong { font-size: 1.3rem; color: var(--brand); }
.report__bar { display: block; height: 8px; border-radius: 99px; background: var(--paper); overflow: hidden; border: 1px solid var(--border); }
.report__bar span { display: block; height: 100%; background: var(--sun); border-radius: 99px; }
.mbadges__kind { font-size: 0.95rem; color: var(--ink-soft); margin: 14px 0 8px; }
.mbadges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mbadge { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); cursor: help; }
.mbadge:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.mbadge__tip { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 240px; padding: 9px 12px; border-radius: 10px; background: #2b2118; color: #fff; font-size: 0.8rem; line-height: 1.35; text-align: left; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; pointer-events: none; }
.mbadge__tip::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #2b2118; }
.mbadge__tip strong { color: var(--sun); font-size: inherit; }
.mbadge__tip-left { display: block; margin-top: 4px; color: #d9cbb8; }
.mbadge:hover .mbadge__tip, .mbadge:focus .mbadge__tip, .mbadge:focus-within .mbadge__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mbadge strong { font-size: 0.9rem; line-height: 1.2; }
.mbadge .report__bar { width: 80%; margin-top: 2px; }
.mbadge__icon { font-size: 2rem; line-height: 1; height: 44px; display: grid; place-items: center; filter: grayscale(1); opacity: 0.45; }
.mbadge__icon img { width: 44px; height: 44px; object-fit: contain; }
.mbadge--earned { background: var(--sun-dim); border-color: var(--sun); }
.mbadge--earned .mbadge__icon { filter: none; opacity: 1; }

.sp-photo--real { margin: 0; padding: 0; overflow: hidden; background: var(--paper); position: relative; }
.sp-photo--real img { width: 100%; height: 100%; object-fit: cover; opacity: 1; margin: 0; }
.sp-photo--real figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 10px; font-size: 0.78rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); text-align: left; }

/* My list: the sticker album */
.trip-select { font: inherit; font-size: 0.9rem; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); color: var(--ink); max-width: 100%; }
.album { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sticker { cursor: pointer; border-radius: 14px; background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: transform 0.12s, box-shadow 0.12s; }
.sticker:hover, .sticker:focus { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(101, 54, 0, 0.12); outline: none; }
.sticker--mine { border-color: var(--sun); }
.sticker__frame { position: relative; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.sticker__frame > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sticker__frame--reference > img { opacity: 0.45; filter: grayscale(0.6); }
.sticker__frame--empty { display: grid; place-items: center; border-bottom: 2px dashed var(--border); background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 10px, #f4efe6 10px, #f4efe6 20px); }
.sticker__emblem { width: 56px !important; height: 56px !important; opacity: 0.18; filter: grayscale(1); }
.sticker__mine { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--brand-deep); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.sticker__mine svg { width: 17px; height: 17px; }
.sticker__count { position: absolute; bottom: 8px; right: 8px; font-size: 0.75rem; font-weight: 700; background: rgba(40, 22, 0, 0.7); color: #fff; border-radius: 99px; padding: 2px 8px; }
.sticker__credit { position: absolute; top: 8px; left: 8px; font-size: 0.7rem; color: var(--ink-soft); background: rgba(255, 255, 255, 0.85); border-radius: 99px; padding: 2px 8px; }
.sticker__add { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); font: inherit; font-size: 0.85rem; font-weight: 700; white-space: nowrap; padding: 7px 14px; border-radius: 999px; border: 0; background: var(--sun); color: var(--brand-deep); cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); }
.sticker__frame--empty .sticker__add { position: static; transform: none; grid-area: 1 / 1; align-self: end; margin-bottom: 12px; }
.sticker__frame--empty .sticker__emblem { grid-area: 1 / 1; }
.sticker__text { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.sticker__text strong { font-size: 0.95rem; line-height: 1.25; }
@media (max-width: 600px) { .album { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.credit { max-width: 560px; margin: 28px 0 16px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.credit h2 { margin: 0; font-size: 1.3rem; }
.credit p { margin: 0; }
.credit__anon { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.credit__anon input { width: 18px; height: 18px; accent-color: var(--brand); }
.credit__named { display: flex; flex-direction: column; gap: 8px; }
.credit .field { background: var(--white); }
.credit .btn { align-self: flex-start; }
.sp-photo--real figcaption a { color: #fff; }

/* 14 of each: seven a line on a wide screen */
@media (min-width: 1100px) { .mbadges { grid-template-columns: repeat(7, 1fr); } }
@media (max-width: 700px) {
  .mbadge__tip { left: 0; right: 0; width: auto; max-width: none; transform: translateY(4px); }
  .mbadge:hover .mbadge__tip, .mbadge:focus .mbadge__tip, .mbadge:focus-within .mbadge__tip { transform: none; }
}
.nowrap { white-space: nowrap; }
h1 { text-wrap: balance; }
