/* Day-0 wall ("Design Your Trial") — day-zero-wall.js builds the markup.
   Look: docs/superpowers/specs/assets/2026-10-17-wall-mockup.html ("Wall").
   Every animation lives in the prefers-reduced-motion: no-preference block. */

.dzw {
    --dzw-green: #348a5c; /* the ASO spread green (spec §2); no token for it */
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0; /* not inset: the Android app's WebView can be Chrome 80-86 (WebView 83 emulator, 2026-10-21: the wall sat off screen) */
    z-index: 9998; /* below the login modal (10000): the web CTA → OTP chain stacks on top */
    background: var(--dzw-green);
    color: #fff;
    font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
/* Opened from the sighting editor (its overlay is 10000; storage_full, 2026-11-07). */
.dzw.dzw-above-editor { z-index: 10001; }

.dzw *, .dzw *::before, .dzw *::after { box-sizing: border-box; }
:where(.dzw) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; } /* :where() = zero specificity, so the .dzw-* rules below win */
/* Same reset for every button day-zero-wall.js builds, in a rule Chrome < 88
   can parse (an unknown :where() drops the whole rule above); one class each,
   so the .dzw-* rules below still win. tests/old-webview-purchase-css.test.js */
.dzw-restore, .dzw-close, .dzw-plan, .dzw-remind, .dzw-cta, .dzw-web, .dzw-no, .dzw-why-opt, .dzw-why-skip, .dzw-reward-btn, .dzw-ads-btn, .dzw-ads-go { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
.dzw [hidden] { display: none !important; }

/* ---- background: foliage + species circles + forest gradient ---- */
.dzw-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; pointer-events: none; }
.dzw-leaf {
    position: absolute; top: -10%; right: -10%; bottom: -10%; left: -10%;
    background: url('/img/wall/foliage.webp') center / cover;
    opacity: .14; mix-blend-mode: luminosity; filter: blur(1px);
}
.dzw-bub {
    position: absolute; border-radius: 50%;
    background-size: cover; background-position: center;
    box-shadow: 0 0 0 4px #fff, 0 18px 40px rgba(0, 0, 0, .35);
}
/* Dark from ~25% down on a phone; anchored to the bottom so the sheet always
   sits on forest whatever the viewport height. */
.dzw-tint {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 640px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 520px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 440px)),
        var(--forest-900, #0d2818) 100%);
}

/* The timeline wall's sheet is ~120px taller: the forest starts that much
   higher, so the title and timeline never sit on a photo circle. */
.dzw-tlmode .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 760px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 650px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 580px)),
        var(--forest-900, #0d2818) 100%);
}

/* The chat day's wall (2026-11-06) carries one more line under the title:
   the forest starts ~40px higher again. */
.dzw-tlmode.dzw-chatmode .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 800px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 690px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 620px)),
        var(--forest-900, #0d2818) 100%);
}

/* The iPhone's walls with the ads row ("I prefer to watch ads" on the second
   wall, "Continue using with ads" on the reopened app's; 2026-11-08): the sheet
   is ~60px taller, so the forest starts that much higher (the Google Play
   timeline walls already make room above). */
.dzw-adsmode:not(.dzw-tlmode) .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 700px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 580px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 500px)),
        var(--forest-900, #0d2818) 100%);
}

/* ---- frame: chrome on top, sheet at the bottom; scrolls only when short ---- */
.dzw-frame {
    position: relative; z-index: 1;
    height: 100%; max-width: 480px; margin: 0 auto;
    display: flex; flex-direction: column;
    overflow-y: auto; overscroll-behavior: contain;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.dzw-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px 0 10px; flex: none; }
.dzw-restore-space { flex: 1; }
.dzw-restore {
    min-height: 44px; padding: 0 12px;
    font-size: 15px; color: rgba(255, 255, 255, .28);
}
.dzw-close {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 300; line-height: 1;
    color: rgba(255, 255, 255, .26);
}
.dzw-restore:focus-visible, .dzw-close:focus-visible { outline: 1px solid rgba(255, 255, 255, .35); outline-offset: -4px; border-radius: 8px; }
.dzw-space { flex: 1 1 auto; min-height: 40px; }

.dzw-sheet { flex: none; padding: 0 20px 24px; }
.dzw-title {
    font-family: var(--font-display, 'Fraunces', Georgia, serif);
    font-size: 27px; font-weight: 600; line-height: 1.15;
    text-align: center; margin: 0 0 8px; color: #fff;
}

/* The chat day's wall: why it opened, right under the title. */
.dzw-reason { text-align: center; font-size: 15px; line-height: 1.35; margin: -2px 8px 10px; color: #fff; opacity: .95; }

.dzw-plan-line { margin: 0 0 12px; text-align: center; font-size: 15px; color: #fff; }
.dzw-plan-line strong { font-family: var(--font-display, 'Fraunces', Georgia, serif); font-size: 19px; font-weight: 600; }
.dzw-planmode .dzw-benefits { margin-bottom: 16px; }
.dzw-planmode .dzw-hint { margin: 10px 0 8px; }
.dzw-benefits { list-style: none; margin: 0 0 10px; padding: 0; }
.dzw-benefits li { display: flex; align-items: center; font-size: 14.5px; line-height: 1.25; padding: 3px 0; }
.dzw-chk {
    width: 22px; height: 22px; border-radius: 50%; flex: none; margin-right: 10px; /* not flex gap (Chrome 84): two items per row */
    background: var(--gold-400, #f4c430); color: var(--forest-900, #0d2818);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
}

/* ---- the free-trial timeline (Google Play walls, 2026-10-26): Today ·
   reminder · the day the plan starts, on one gold line ---- */
.dzw-tl { list-style: none; margin: 4px 0 8px; padding: 0; }
.dzw-tl-row { position: relative; display: flex; align-items: flex-start; padding: 0 0 9px; }
.dzw-tl-row:last-child { padding-bottom: 2px; }
/* The line from this dot to the next one. */
.dzw-tl-row:not(:last-child)::before {
    content: ''; position: absolute; left: 14px; top: 30px; bottom: 1px; width: 2px; margin-left: -1px;
    background: linear-gradient(180deg, var(--gold-400, #f4c430), rgba(244, 196, 48, .35));
}
.dzw-tl-dot {
    width: 28px; height: 28px; border-radius: 50%; flex: none; margin-right: 12px; /* not flex gap (Chrome 84) */
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gold-400, #f4c430); background: var(--forest-900, #0d2818);
}
.dzw-tl-dot img { display: block; width: 16px; height: 16px; }
.dzw-tl-today .dzw-tl-dot { background: var(--gold-400, #f4c430); }
.dzw-tl-text { display: flex; flex-direction: column; padding-top: 1px; }
.dzw-tl-when { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400, #f4c430); }
.dzw-tl-what { font-size: 14.5px; line-height: 1.25; margin-top: 1px; }

.dzw-plans { border-top: 1px solid rgba(255, 255, 255, .18); margin-bottom: 10px; }
.dzw-plan {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 9px 4px; text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, .18) !important;
}
.dzw-plan-text { display: flex; flex-direction: column; }
.dzw-l1 { font-size: 18px; font-weight: 700; }
.dzw-l2 { font-size: 14px; opacity: .85; margin-top: 1px; min-height: 18px; }
.dzw-radio { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); position: relative; flex: none; }
.dzw-plan.is-selected .dzw-radio { background: var(--gold-400, #f4c430); border-color: var(--gold-400, #f4c430); }
.dzw-plan.is-selected .dzw-radio::after {
    content: '✓'; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--forest-900, #0d2818); font-weight: 800; font-size: 16px;
}

.dzw-remind {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 30px;
    padding: 7px 12px 7px 16px !important; font-size: 14px; text-align: left; margin-bottom: 12px !important;
}
.dzw-toggle { width: 44px; height: 26px; border-radius: 14px; background: rgba(255, 255, 255, .25); position: relative; flex: none; margin-left: 10px; transition: background-color .2s; }
.dzw-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.dzw-remind.is-on .dzw-toggle { background: var(--gold-400, #f4c430); }
.dzw-remind.is-on .dzw-toggle::after { transform: translateX(18px); }
/* "We'll email ab…@example.com …" under the switch once it is on. */
.dzw-remind-line { margin: -6px 0 10px; padding: 0 16px; font-size: 13px; line-height: 1.3; color: var(--forest-200, #a5d4b8); }

.dzw-hint { margin: 0 0 8px; text-align: center; font-size: 14px; color: var(--forest-200, #a5d4b8); }

.dzw-cta {
    position: relative; width: 100%; height: 54px; border-radius: 30px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(90deg, var(--gold-400, #f4c430), var(--gold-500, #daa520)) !important;
    color: var(--forest-900, #0d2818) !important;
    font-size: 21px; font-weight: 700;
    box-shadow: 0 8px 24px rgba(244, 196, 48, .25);
}
.dzw-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* A store purchase is starting (day-zero-wall.js setBusy): quiet the button. */
.dzw-cta.is-busy { opacity: .75; cursor: progress; }
.dzw-cta.is-busy .dzw-sheen { display: none; }
/* The store has not answered yet ("Checking Google Play…"): a tap asks again. */
.dzw-cta.is-checking { opacity: .85; }
.dzw-cta.is-checking .dzw-sheen { display: none; }
.dzw-cta-label, .dzw-arrow { position: relative; }
.dzw-arrow { font-size: 24px; margin-top: -2px; margin-left: 10px; }
.dzw-sheen {
    position: absolute; top: -40%; left: -60%; width: 46%; height: 180%;
    transform: rotate(18deg); pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65), rgba(255, 255, 255, 0));
    opacity: 0;
}

/* ---- website → app stores (spec 2026-10-22, get-app.js) ---- */
/* Phone/tablet browsers: the gold button is a link to the store. */
a.dzw-cta { text-decoration: none; }
.dzw-getappmode .dzw-cta { margin-top: 6px; }
.dzw-badge-img { display: inline-block; vertical-align: top; }
.dzw-getapp-badge { display: block; margin-top: 12px; text-align: center; line-height: 0; }
.dzw-getapp-badge .dzw-badge-ios { height: 36px; }
/* Google's badge PNG carries its own transparent margin. */
.dzw-getapp-badge .dzw-badge-android { height: 54px; margin: -9px 0; }
.dzw-carry { margin: 14px 8px 0; text-align: center; font-size: 14px; line-height: 1.35; color: var(--forest-200, #a5d4b8); }
.dzw-web {
    display: block; min-height: 44px; margin: 4px auto 6px !important; padding: 0 12px !important;
    font-size: 13.5px; color: rgba(255, 255, 255, .6) !important;
    text-decoration: underline; text-underline-offset: 3px;
}
.dzw-web:focus-visible { outline: 1px solid rgba(255, 255, 255, .5); outline-offset: -4px; border-radius: 8px; }
/* The Android app's cap walls: "Watch a video for 1 more ID" (ads.js). */
.dzw-reward { margin: 2px 0 8px; text-align: center; }
.dzw-reward-btn {
    display: block; width: 100%; min-height: 44px; margin: 0 !important; padding: 0 12px !important;
    border: 1px solid rgba(255, 255, 255, .45) !important; border-radius: 12px;
    font-size: 15px; font-weight: 600; color: #fff !important;
}
.dzw-reward-btn:disabled { opacity: .6; cursor: default; }
.dzw-reward-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.dzw-reward-note { margin: 6px 0 0; font-size: 13px; line-height: 1.35; color: var(--forest-200, #a5d4b8); }
.dzw-reward-note:empty { display: none; }
/* The Android app's first wall: "I prefer to watch ads" in place of the ✕
   (2026-11-08). Plain, smaller than the CTA, no glow, but readable. */
.dzw-ads-choice { margin: 4px 0 8px; text-align: center; }
.dzw-ads-btn {
    display: inline-block; min-height: 44px; padding: 0 16px !important;
    font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9) !important;
    text-decoration: underline; text-underline-offset: 3px;
}
.dzw-ads-btn:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; border-radius: 8px; }
/* What the free version lacks, under "I prefer to watch ads" on the first
   launch's second wall (2026-11-15): grey crosses where Kagn Plus has its gold
   ticks, and a plain outlined button, well below the glow of Try for Free.
   The scroll margin leaves room under that button when the panel is brought
   onto the screen. */
.dzw-ads-panel {
    margin: 6px 0 4px; padding: 12px 14px 14px; text-align: left;
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px;
    background: rgba(0, 0, 0, .22);
    scroll-margin-bottom: 16px;
}
.dzw-ads-panel-title { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.25; color: #fff; }
.dzw-ads-lacks { list-style: none; margin: 0 0 12px; padding: 0; }
.dzw-ads-lack { position: relative; padding: 3px 0 3px 30px; font-size: 14px; line-height: 1.3; color: rgba(255, 255, 255, .78); }
.dzw-ads-lack::before {
    content: "\2715"; position: absolute; left: 0; top: 3px;
    width: 20px; height: 20px; border-radius: 50%; line-height: 20px; text-align: center;
    font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .14);
}
.dzw-ads-go {
    display: block; width: 100%; min-height: 44px; padding: 10px 14px !important;
    border: 1px solid rgba(255, 255, 255, .3) !important; border-radius: 12px;
    font-size: 15px; font-weight: 500; text-align: center; color: rgba(255, 255, 255, .9) !important;
}
.dzw-ads-go:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
/* Desktop: "Also on your phone" under the price line. */
.dzw-also { margin: 2px 0 10px; text-align: center; }
.dzw-also-label { display: block; margin-bottom: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.dzw-also-row { display: flex; justify-content: center; align-items: center; }
.dzw-also-badge { display: block; margin: 0 5px; line-height: 0; }
.dzw-also-badge .dzw-badge-ios { height: 36px; }
.dzw-also-badge .dzw-badge-android { height: 53px; margin: -8.5px -4px; }
/* The landing pages' QR code under the badges, on a computer only. 37 modules
   at exactly 2 px each, so the grid scans off a screen. */
.dzw-also-qr { display: flex; align-items: center; justify-content: center; margin: 8px auto 0; max-width: 100%; color: inherit; text-decoration: none; text-align: left; }
.dzw-also-qr-img { flex: none; display: block; width: 74px; height: 74px; padding: 3px; border-radius: 8px; background: #fff; box-sizing: content-box; image-rendering: pixelated; }
.dzw-also-qr-text { display: block; min-width: 0; margin-left: 10px; }
.dzw-also-qr-title { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.dzw-also-qr-line { display: block; font-size: 12px; line-height: 1.3; color: rgba(255, 255, 255, .7); }
.dzw-also-qr:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; border-radius: 8px; }

.dzw-price { text-align: center; font-size: 14px; margin: 9px 0 7px; min-height: 18px; }
.dzw-price-skel {
    display: inline-block; vertical-align: middle;
    width: 64px; height: 12px; border-radius: 6px;
    background: rgba(255, 255, 255, .22);
}
.dzw-price .dzw-price-skel { width: 180px; }
.dzw-legal { font-size: 9.5px; line-height: 1.3; color: rgba(255, 255, 255, .65); margin: 0; }
.dzw-legal a { color: var(--forest-200, #b7f0c8); text-decoration: underline; }
/* The detain (trial ladder, spec 2026-10-24): one line under the title and a
   full-contrast, 44 px "No thanks" under the price. */
.dzw-line { text-align: center; font-size: 16px; line-height: 1.35; margin: 0 8px 18px; opacity: .95; }
.dzw-no { display: block; width: 100%; height: 44px; font-size: 16px; font-weight: 600; color: #fff; text-align: center; margin: 0 0 8px; }
/* "What stopped you?" on the detain after a cancelled Google sheet (2026-10-27).
   Margins, not flex gap: purchase-path rules for old WebViews. */
.dzw-why { text-align: center; margin: 4px 0 6px; }
.dzw-why-q { font-size: 14px; font-weight: 600; margin: 0 0 8px; opacity: .9; }
.dzw-why-opts { text-align: center; }
.dzw-why-opt { display: inline-block; font: inherit; font-size: 14px; line-height: 1.2; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 14px; margin: 0 3px 6px; cursor: pointer; }
.dzw-why-opt:focus-visible { outline: 2px solid var(--gold-400, #f4c430); outline-offset: 2px; }
.dzw-why-thanks { font-size: 14px; margin: 0 0 6px; opacity: .9; }
/* Back on that detain: the question alone, as the sheet's title, then Skip. */
.dzw-whyback .dzw-why { margin: 0 0 4px; }
.dzw-whyback .dzw-why-q { font-family: var(--font-display, 'Fraunces', Georgia, serif); font-size: 27px; font-weight: 600; line-height: 1.15; margin: 0 0 16px; opacity: 1; }
.dzw-whyback .dzw-why-thanks { font-size: 16px; margin: 4px 0 8px; opacity: 1; }
.dzw-why-skip { display: block; width: 100%; height: 44px; font-size: 16px; font-weight: 600; color: #fff; text-align: center; margin: 8px 0 0; }

/* Short phones (≤ 700 px tall, e.g. 360×640 / 375×667): tighten so the CTA
   stays on screen without scrolling. */
@media (max-height: 700px) {
    .dzw-space { min-height: 24px; }
    .dzw-title { font-size: 24px; margin-bottom: 4px; }
    .dzw-reason { font-size: 14px; margin-bottom: 6px; }
    .dzw-benefits { margin-bottom: 6px; }
    .dzw-benefits li { font-size: 14px; padding: 2px 0; }
    .dzw-plan { padding: 6px 4px; }
    .dzw-l1 { font-size: 16px; }
    .dzw-radio { width: 26px; height: 26px; }
    .dzw-remind { padding: 5px 12px 5px 16px !important; margin-bottom: 8px !important; }
    .dzw-remind-line { margin: -4px 0 6px; font-size: 12.5px; }
    .dzw-cta { height: 50px; font-size: 19px; }
    .dzw-price { margin: 7px 0 5px; }
    .dzw-sheet { padding-bottom: 14px; }
    .dzw-legal { font-size: 9px; }
}

/* The 10-day pass's third plan row (2026-11-12, spec
   2026-11-12-ten-day-pass-design): day-zero-wall.js puts dzw-pass3 on a wall
   that carries the row. Three rows cost height, so they take the short
   phone's row (padding, a slightly smaller first line) at every height.
   Every rule in this block is under .dzw-pass3: a wall with two rows is not
   touched by any of it. */
.dzw-pass3 .dzw-plan { padding: 6px 4px; }
.dzw-pass3 .dzw-l1 { font-size: 17px; }
/* Short phones (≤ 700 px tall): with three rows the button slid off a
   360×640 screen. The rows get tighter still, and while the free-trial
   timeline is up (the tallest state of the sheet) the last benefit line
   gives way, so the button and the line under it stay on screen without
   scrolling. With the timeline hidden (a plan billed at the tap, the pass
   chosen) the sheet is short and every line shows. */
@media (max-height: 700px) {
    .dzw-pass3 .dzw-plan { padding: 3px 4px; }
    .dzw-pass3 .dzw-l1 { font-size: 16px; }
    .dzw-pass3 .dzw-tl:not([hidden]) + .dzw-benefits li:last-child { display: none; }
}
/* end the 10-day pass */

/* The chat wall with the sentence about the paid model (2026-11-12): the line
   runs to three lines instead of two, which would push the button down by one
   line. day-zero-wall.js puts dzw-chatlong on that wall only, and it takes the
   height back from the gaps around the lines (the empty space above the sheet,
   the margins under the title and the line), never from the button, the rows
   or the text sizes. A wall without the sentence is not touched by any of it. */
.dzw-chatlong .dzw-space { min-height: 16px; }
.dzw-chatlong .dzw-title { margin-bottom: 6px; }
.dzw-chatlong .dzw-reason { margin-bottom: 6px; }
@media (max-height: 700px) {
    .dzw-chatlong .dzw-space { min-height: 8px; }
    .dzw-chatlong .dzw-title { margin-bottom: 2px; }
    .dzw-chatlong .dzw-reason { margin-bottom: 3px; }
}
/* The iPhone's chat wall on the new rule (dzw-ioschat, set by day-zero-wall.js
   on that wall only): the title fits on one line at 360 and 390 wide (its words
   are unchanged; the size follows the width), the gaps above the sheet and
   around the lines are tightened so the Try button sits no lower than today's
   iPhone chat wall, and the fade starts high enough that the title and the
   line sit on the dark part, not on the photo circles. */
.dzw-ioschat .dzw-title { font-size: min(27px, 6.5vw); white-space: nowrap; margin-bottom: 4px; }
.dzw-ioschat .dzw-space { min-height: 6px; }
.dzw-ioschat .dzw-reason { margin-bottom: 4px; }
.dzw-ioschat .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 880px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 780px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 700px)),
        var(--forest-900, #0d2818) 100%);
}
/* end the chat wall's long line */

@media (prefers-reduced-motion: no-preference) {
    .dzw-bub { animation: dzw-drift 9s ease-in-out infinite alternate; }
    /* Benefit lines slide in one by one: .25 s + .3 s per line. */
    .dzw-benefits li { opacity: 0; transform: translateX(-14px); animation: dzw-slidein .5s cubic-bezier(.2, .8, .2, 1) forwards; }
    .dzw-benefits li:nth-child(1) { animation-delay: .25s; }
    .dzw-benefits li:nth-child(2) { animation-delay: .55s; }
    .dzw-benefits li:nth-child(3) { animation-delay: .85s; }
    .dzw-benefits li:nth-child(4) { animation-delay: 1.15s; }
    .dzw-benefits li:nth-child(5) { animation-delay: 1.45s; }
    .dzw-cta { animation: dzw-glow 2.2s ease-in-out infinite; }
    .dzw-cta.is-busy { animation: none; }
    .dzw-sheen { opacity: 1; animation: dzw-sheen 2.6s ease-in-out infinite; }
    .dzw-price-skel { animation: dzw-pulse 1.2s ease-in-out infinite; }

    @keyframes dzw-drift { from { transform: translateY(0); } to { transform: translateY(-8px); } }
    @keyframes dzw-slidein { to { opacity: 1; transform: none; } }
    @keyframes dzw-glow {
        0%, 100% { box-shadow: 0 0 0 0 rgba(244, 196, 48, 0), 0 8px 24px rgba(244, 196, 48, .25); }
        50% { box-shadow: 0 0 0 7px rgba(244, 196, 48, .22), 0 8px 34px rgba(244, 196, 48, .6); }
    }
    @keyframes dzw-sheen { 0%, 25% { left: -60%; } 70%, 100% { left: 130%; } }
    @keyframes dzw-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
}

/* Saving the reminder choice (spec 2026-10-19): faint until the server answers. */
.dzw-remind[aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* The sound_only wall (2026-11-09; the Android ads version is Sound ID only,
   owner: "Maybe an image with a lock saying only soundid is available"): a
   camera with a gold padlock badge heads the sheet, and "Use Sound ID instead"
   sits under the price line. The SVG's fills are the tokens below (its fill
   attributes carry the same values for a late stylesheet). */
/* 96 px, lifted into the photo circles' space above the sheet so the sheet
   grows as little as possible (the Google Play timeline wall is already tall). */
.dzw-lock-art { text-align: center; line-height: 0; margin: -52px 0 8px; }
/* Its sheet is ~90px taller than the chat wall's: the forest starts that much higher. */
.dzw-tlmode.dzw-somode .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 890px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 780px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 700px)),
        var(--forest-900, #0d2818) 100%);
}
.dzw-lock-art svg { display: inline-block; width: 96px; height: 96px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35)); }
.dzw-lock-art .la-bg { fill: var(--cream-100, #fff8ec); }
.dzw-lock-art .la-body { fill: var(--forest-700, #234d38); }
.dzw-lock-art .la-lens-ring { fill: var(--cream-100, #fff8ec); }
.dzw-lock-art .la-lens { fill: var(--forest-500, #3d7a52); }
.dzw-lock-art .la-badge, .dzw-lock-art .la-hole { fill: var(--gold-400, #f4c430); }
.dzw-lock-art .la-shackle { stroke: var(--forest-900, #0d2818); }
.dzw-lock-art .la-case { fill: var(--forest-900, #0d2818); }
.dzw-sound-row { margin: 2px 0 10px; text-align: center; }
.dzw-sound-link {
    display: inline-block; min-height: 44px; line-height: 44px; padding: 0 16px;
    font-size: 15px; font-weight: 600; color: #fff;
    text-decoration: underline; text-underline-offset: 3px;
}
.dzw-sound-link:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; border-radius: 8px; }
/* The iPhone's sheet has no timeline (no dzw-tlmode): its fade starts where the
   timeline wall's does (the rule above), so the title and text sit on the dark
   part at every phone height and never on a photo circle. day-zero-wall.js puts
   dzw-ioslock on the iPhone's lock wall only, so no other wall is touched. */
.dzw-ioslock.dzw-somode:not(.dzw-tlmode) .dzw-tint {
    background: linear-gradient(180deg,
        rgba(52, 138, 92, 0) 0,
        rgba(52, 138, 92, 0) max(0px, calc(100% - 890px)),
        rgba(13, 40, 24, .80) max(60px, calc(100% - 780px)),
        rgba(13, 40, 24, .97) max(120px, calc(100% - 700px)),
        var(--forest-900, #0d2818) 100%);
}
/* Under "I prefer to watch ads" / "Continue using with ads" on that phone. */
.dzw-ads-sub { margin: -6px 0 0; font-size: 13px; line-height: 1.35; color: var(--forest-200, #a5d4b8); }
@media (max-height: 700px) {
    .dzw-lock-art { margin: -30px 0 4px; }
    .dzw-lock-art svg { width: 72px; height: 72px; }
}
/* end sound_only */
