/* getglubbo.app/whats-new: the app's changelog (2.3.0 → 2.4.0), layout C (owner pick 2026-10-23) inside the site's own
   page system: the lp hero, one lp band per version, the site's tokens, cards (outline + lip) and sticker phones from
   styles.css. Only what that system lacks lives here. Generated into assets/whats-new/page.css by
   node scripts/changelog/build.mjs --web (edit scripts/changelog/site.css). */
.wn {
  --wn-gap: var(--s4);
  --wn-tag-new: var(--action);
  --wn-tag-new-bg: var(--tint);
  --wn-tag-improved: var(--deep-1);
  --wn-tag-improved-bg: var(--pale-water);
  --wn-tag-fixed: #A3410F;
  --wn-tag-fixed-bg: #FFE9D6;
  --wn-tag-android: #1F6B3E;
  --wn-tag-android-bg: #E2F4E8;
}
.wn .wn-wrap { width: min(1120px, 100% - 2 * var(--gutter)); }

/* Hero: the site's lp hero, with the version buttons under the intro */
.wn .lp-hero h1 { font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.015em; }
.wn .lp-hero p { font-size: var(--fs-lead); }
.wn-hero-art { width: clamp(170px, 24vw, 300px); }
.wn-jump { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.wn-jump a { text-decoration: none; font-weight: 900; font-size: var(--fs-label); color: var(--ink); background: var(--card); border: var(--outline) solid var(--line); border-radius: var(--r-sm); padding: 8px 20px 11px; box-shadow: inset 0 -5px 0 var(--card-lip); font-variant-numeric: tabular-nums; }
.wn-jump a:first-child { background: var(--action); color: #fff; box-shadow: inset 0 -5px 0 var(--action-lip); }

/* One band per version */
.wn .lp-band { scroll-margin-top: 80px; }
.wn .lp-band .wn-wrap { display: grid; gap: var(--wn-gap); }
.wn.lp-main .lp-band h2 { margin: 0 0 var(--s1); font-weight: 900; font-size: var(--fs-h2); line-height: 1.08; font-variant-numeric: tabular-nums; }
.wn.lp-main .lp-band h2::after { content: ""; flex: 1; height: 2px; background: var(--hair); }
.wn.lp-main .lp-band h3 { margin: 0; }

/* Cards and their words */
.wn-card { position: relative; min-width: 0; overflow: hidden; background: var(--card); border: var(--outline) solid var(--line); border-radius: calc(var(--r) + 6px); box-shadow: inset 0 calc(-1 * var(--lip)) 0 var(--card-lip); }
.wn-words { display: grid; gap: var(--s3); align-content: center; justify-items: start; min-width: 0; }
.wn-tag { font-weight: 900; font-size: var(--fs-small); border-radius: 999px; padding: 4px 14px; }
.wn-tag--new { background: var(--wn-tag-new-bg); color: var(--wn-tag-new); }
.wn-tag--improved { background: var(--wn-tag-improved-bg); color: var(--wn-tag-improved); }
.wn-tag--fixed { background: var(--wn-tag-fixed-bg); color: var(--wn-tag-fixed); }
.wn-tag--android { background: var(--wn-tag-android-bg); color: var(--wn-tag-android); }
.wn-words h3 { font-weight: 900; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.wn.lp-main .wn-lead { margin: 0; color: var(--muted); font-size: var(--fs-body); line-height: 1.5; text-wrap: pretty; max-width: 46ch; }
.wn.lp-main .wn-checks { list-style: none; margin: var(--s1) 0 0; padding: 0; display: grid; gap: var(--s2); }
.wn.lp-main .wn-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--s2); align-items: start; color: var(--ink); font-weight: 700; font-size: var(--fs-label); line-height: 1.45; text-wrap: pretty; }
.wn-checks li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--w-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* The site's sticker phone, holding the whole capture (the app's captures are taller than the site's own screens) */
.wn .wn-phone { aspect-ratio: auto; height: auto; }
.wn .wn-phone img { height: auto; object-fit: contain; }

/* Feature card: the seabed across the card's foot, words left, two phones tilted and overlapping right */
.wn-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: var(--s2); padding: 44px 40px calc(25% + 12px) 44px; background: var(--card) url(art/decorWide.webp) center bottom / 100% auto no-repeat; }
.wn-feature h3 { font-size: var(--fs-h3-lg); }
.wn-pair { display: flex; justify-content: center; align-items: center; padding-top: var(--s1); margin-bottom: -20%; align-self: start; }
.wn-pair .wn-phone { --pw: clamp(170px, 19vw, 230px); }
.wn-pair .wn-phone:first-child { transform: rotate(-6deg) translateY(10px); z-index: 1; }
.wn-pair .wn-phone:nth-child(2) { transform: rotate(5deg) translateY(-14px); margin-left: -7%; z-index: 2; }

/* Bento: a tall card (phone + words) beside a column of small cards */
.wn-bento { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: var(--wn-gap); }
.wn-tall { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 30px; padding: 36px 32px 44px 36px; background: var(--card) url(art/decorTall.webp) right bottom / 46% auto no-repeat; }
.wn-tall .wn-phone { --pw: clamp(180px, 20vw, 240px); }
.wn-tall h3 { font-size: clamp(24px, 2.4vw, 32px); }
.wn-stack { display: grid; gap: var(--wn-gap); grid-auto-rows: 1fr; }
.wn-small { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s3); padding: 26px 22px 32px 30px; }
.wn-small .wn-words { gap: 10px; }
.wn-small h3 { font-size: var(--fs-h3); }
.wn-spot { width: 150px; height: auto; }
.wn-pairs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--wn-gap); }

/* Peek card: the phone rises from the card's bottom edge on the left */
.wn-peek { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; padding: 40px 44px 0; min-height: 360px; background: var(--card) url(art/decorTall.webp) right bottom / 22% auto no-repeat; }
.wn-peek .wn-phone { --pw: clamp(190px, 21vw, 240px); justify-self: center; align-self: end; margin-bottom: -46%; }
.wn-peek .wn-words { padding-bottom: 48px; }
.wn-peek h3 { font-size: var(--fs-h3-lg); }

/* Notes card: a release told by the store's own notes, no captures yet — the list left, the seabed drawing low right */
.wn-notes { padding: 36px 40px 44px; background: var(--card) url(art/decorTall.webp) right bottom / 20% auto no-repeat; }
.wn-notes .wn-checks { max-width: 72ch; padding-right: 18%; }

/* Narrow screens: one column, the phones above their words */
@media (max-width: 860px) {
  .wn-feature, .wn-tall, .wn-peek, .wn-bento, .wn-pairs { grid-template-columns: minmax(0, 1fr); }
  .wn-feature { padding: 30px 22px calc(25% + 28px); gap: 28px; }
  .wn-pair { order: -1; margin-bottom: 0; }
  .wn-pair .wn-phone { --pw: 40vw; }
  .wn-tall { padding: 28px 22px 36px; justify-items: center; }
  .wn-tall .wn-words { justify-self: stretch; }
  .wn-tall .wn-phone { --pw: 52vw; }
  .wn-stack { grid-auto-rows: auto; }
  .wn-small { padding: 22px 18px 26px 22px; }
  .wn-spot { width: 96px; }
  .wn-peek { padding: 30px 22px 0; gap: 20px; }
  .wn-peek .wn-words { padding-bottom: 0; order: -1; }
  .wn-peek .wn-phone { --pw: 56vw; margin-bottom: -40%; }
  .wn-notes { padding: 28px 22px 32px; background-image: none; }
  .wn-notes .wn-checks { padding-right: 0; }
}

/* 2.4.0 additions: the Premium tag, the wide card, the short "also" list, cards in some languages only */
.wn { --wn-tag-premium: #7A4E00; --wn-tag-premium-bg: #FFF0D1; }
.wn-tag--premium { background: var(--wn-tag-premium-bg); color: var(--wn-tag-premium); }
/* a version whose cards ship in some languages: the cards or the store notes, never both (whats-new.i18n.js picks) */
.wn-cardset, .wn-cardset-fallback { display: contents; }
.wn-cardset-fallback[hidden] { display: none; }
/* a two-line check reads as two even lines, never one word left alone */
.wn.lp-main .wn-checks li { text-wrap: balance; }

/* Wide card: the words left; on the right each figure under its label, side by side: real captures as they are (no phone
   around a notification) and, for what cannot be captured here, a spot drawing on a panel of the same height */
.wn-wide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 40px 44px 46px; }
.wn-wide h3 { font-size: var(--fs-h3-lg); }
.wn-figs { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--s3); align-items: stretch; min-width: 0; }
.wn-fig { margin: 0; display: grid; grid-auto-rows: min-content; gap: var(--s2); min-width: 0; }
.wn-fig-label { justify-self: start; font-weight: 900; font-size: var(--fs-small); color: var(--ink); background: var(--well); border-radius: 999px; padding: 3px 14px; }
.wn-shot { display: block; width: 100%; height: auto; border: var(--outline) solid var(--line); border-radius: 22px; background: var(--card); }
.wn-fig--spot { grid-template-rows: min-content 1fr; }
.wn-spot-panel { display: grid; place-items: center; min-height: 160px; background: var(--well); border: var(--outline) solid var(--line); border-radius: 22px; padding: var(--s3); }
.wn-spot-panel .wn-spot { width: min(100%, 170px); }
.wn-small .wn-spot { align-self: center; }

/* The short list of smaller changes under the cards */
.wn-also .wn-words { gap: var(--s2); }
.wn-also h3 { font-size: var(--fs-h3); }

@media (max-width: 860px) {
  .wn-wide { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 32px; gap: 28px; }
  .wn-figs { grid-template-columns: minmax(0, 1fr); }
}
.wn-feature--sceneXmas { background-image: url(art/sceneXmas.webp); }
.wn-feature--sceneXmas .wn-pair { margin-bottom: 0; }
.wn-feature--scene250 { background-image: url(art/scene250.webp); }
.wn-feature--scene250 .wn-pair { margin-bottom: 0; }
