/*
  Stica web. The family base (familia.css) comes first and gives the tokens (--ec-*).
  Here: the fonts, the phone-shaped page and the pieces that are only Stica's.
  Ink on paper; the colour comes from the stickers.
*/

@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/DMSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/DMSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/DMSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/DMSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans Display'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/DMSans-Display.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans Display'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/DMSans-DisplaySemiBold.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans Display'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/DMSans-DisplayBold.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/IBMPlexMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/IBMPlexMono-Medium.woff2') format('woff2'); }
/* the sticker text styles: never used in the interface */
@font-face { font-family: 'Lilita One'; font-weight: 400; font-display: swap; src: url('fonts/LilitaOne.woff2') format('woff2'); }
@font-face { font-family: 'Knewave'; font-weight: 400; font-display: swap; src: url('fonts/Knewave.woff2') format('woff2'); }
@font-face { font-family: 'Bungee'; font-weight: 400; font-display: swap; src: url('fonts/Bungee.woff2') format('woff2'); }
@font-face { font-family: 'Pacifico'; font-weight: 400; font-display: swap; src: url('fonts/Pacifico.woff2') format('woff2'); }
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('fonts/Anton.woff2') format('woff2'); }
@font-face { font-family: 'Bangers'; font-weight: 400; font-display: swap; src: url('fonts/Bangers.woff2') format('woff2'); }
@font-face { font-family: 'Fredoka'; font-weight: 700; font-display: swap; src: url('fonts/Fredoka-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Space Mono'; font-weight: 700; font-display: swap; src: url('fonts/SpaceMono-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Caveat Brush'; font-weight: 400; font-display: swap; src: url('fonts/CaveatBrush.woff2') format('woff2'); }

:root {
  --sans: var(--ec-sans);
  --display: var(--ec-display);
  --mono: var(--ec-mono);
  --check: #ECECEC;                       /* the transparency chequer behind a sticker */
  --sheet: rgba(255, 255, 255, 0.92);     /* sheets: nearly solid, so what is behind never fights the text */
  --veil: rgba(0, 0, 0, 0.12);
  --keep: #17A06B;
  --remove: #EE5A3B;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --check: #1F1F1F; --sheet: rgba(11, 11, 11, 0.92); --veil: rgba(0, 0, 0, 0.45); --keep: #34BE84; --remove: #F4724F; }
}
:root[data-theme="dark"] { --check: #1F1F1F; --sheet: rgba(11, 11, 11, 0.92); --veil: rgba(0, 0, 0, 0.45); --keep: #34BE84; --remove: #F4724F; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body { background: var(--ec-soft); color: var(--ec-ink); font: 500 15.5px/1.2 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: left; touch-action: manipulation; }
input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
img { display: block; }
input[type=file] { display: none; }
.ic { display: block; flex: none; }
:focus-visible { outline: 2px solid var(--ec-ink); outline-offset: 2px; }
button:active, a:active { opacity: .6; transition: opacity .12s; }
button:disabled { opacity: .3; cursor: default; }

/* MARK: the page. A phone column; on a wide window it sits in the middle. */
#app { position: relative; height: 100dvh; max-width: 480px; margin: 0 auto; overflow: hidden; overflow: clip; background: var(--ec-bg); isolation: isolate; }
@media (min-width: 520px) {
  #app { height: min(100dvh, 920px); margin-top: max(0px, calc((100dvh - 920px) / 2)); border-radius: var(--ec-radius); }
}
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .26s var(--ease), visibility 0s .26s; }
.screen.on { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .26s var(--ease); }
.scroll { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }

/* MARK: type */
.big { font: 400 60px/0.95 var(--display); letter-spacing: -1.2px; }
.big.long { font-size: 40px; letter-spacing: -0.4px; line-height: 1.05; }
.h28 { font: 600 28px/1.15 var(--display); letter-spacing: .05px; }
.h26 { font: 600 26px/1.1 var(--display); letter-spacing: .2px; }
.lbl { font: 700 11.5px/1.2 var(--sans); letter-spacing: .9px; text-transform: uppercase; color: var(--ec-muted); }
.meta { font: 400 13px/1.3 var(--sans); color: var(--ec-muted); }
.read { font: 400 14.5px/1.35 var(--sans); color: var(--ec-ink-2); }
.mono { font-family: var(--mono); }
.rt { font: 600 17px/1.25 var(--sans); }

/* MARK: buttons. Always 14px of air at the sides; the word never touches the frame. */
.btn { height: 48px; padding: 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--ec-radius); font: 600 13px/1 var(--sans); letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; }
.btn.ink { background: var(--ec-ink); color: var(--ec-on-ink); }
.btn.line { height: 40px; border: 1px solid var(--ec-ink); background: var(--ec-bg); }
.btn.danger { border: 1px solid var(--ec-danger); color: var(--ec-danger); height: 48px; }
.btn.wide { width: 100%; }
.ib { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ec-ink); border-radius: var(--ec-radius); background: var(--ec-bg); flex: none; }
.ib.bare { border-color: transparent; background: none; }
.ib.g { width: 36px; height: 36px; background: var(--ec-glass); border-color: var(--ec-glass-edge); -webkit-backdrop-filter: blur(6px) saturate(180%); backdrop-filter: blur(6px) saturate(180%); }
.ib.on { background: var(--ec-ink); color: var(--ec-on-ink); border-color: var(--ec-ink); }
.chip { height: 38px; padding: 0 14px 0 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--ec-ink); border-radius: var(--ec-radius); font: 500 14.5px/1 var(--sans); white-space: nowrap; flex: none; }
.chip.on { background: var(--ec-ink); color: var(--ec-on-ink); }
.seg { display: inline-flex; border: 1px solid var(--ec-ink); border-radius: var(--ec-radius); overflow: hidden; flex: none; }
.seg button { height: 36px; padding: 0 14px; font: 500 13px/1 var(--sans); letter-spacing: .2px; white-space: nowrap; }
.seg button.on { background: var(--ec-ink); color: var(--ec-on-ink); font-weight: 600; }
.seg.full { display: flex; flex: 1; min-width: 0; }
.seg.full button { flex: 1; padding: 0 6px; text-align: center; }
.link { padding: 10px 0; font: 600 13px/1 var(--sans); letter-spacing: .6px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* MARK: the glass bar */
.bar { position: absolute; left: 16px; right: 16px; bottom: calc(24px + env(safe-area-inset-bottom)); height: 64px; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 0 8px; border: 1px solid var(--ec-glass-edge); border-radius: var(--ec-radius); background: var(--ec-glass); -webkit-backdrop-filter: blur(6px) saturate(180%); backdrop-filter: blur(6px) saturate(180%); transition: transform .3s var(--ease); }
#app:not([data-s=home]):not([data-s=pack]):not([data-s=options]) .bar { transform: translateY(140px); }
.tab { flex: 1; height: 48px; display: grid; place-items: center; font: 700 13px/1 var(--sans); letter-spacing: .6px; text-transform: uppercase; color: var(--ec-muted); }
.tab.on { color: var(--ec-ink); }
.tab span { padding: 6px 0; border-bottom: 2px solid transparent; }
.tab.on span { border-bottom-color: var(--ec-ink); }
.plus { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ec-ink); color: var(--ec-on-ink); border-radius: var(--ec-radius); flex: none; }

/* MARK: packs and stickers. Stickers sit on grey tiles: their white outline would vanish on paper. */
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: calc(64px + env(safe-area-inset-top)) var(--ec-gutter) 0; flex: none; }
.list { flex: 1; min-height: 0; padding: 14px var(--ec-gutter) 130px; }
.pack { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 16px 0 18px; border-bottom: 1px solid var(--ec-hairline); }
.pack:last-child { border-bottom: 0; }
.pack-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pack-head .rt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiles { display: grid; gap: 8px; align-content: start; }
.tiles.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { aspect-ratio: 1; background: var(--ec-soft); border-radius: var(--ec-radius); display: grid; place-items: center; padding: 7px; min-width: 0; }
.tile img { width: 100%; height: 100%; object-fit: contain; }
.tile.empty { opacity: .45; }
.tile.add { background: none; border: 1px dashed var(--ec-ink); }
.pack-top { padding: calc(56px + env(safe-area-inset-top)) var(--ec-gutter) 0; flex: none; }
.pack-top .ibs { display: flex; justify-content: space-between; }
.pack-top h1 { margin-top: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: 4px; }
.grid { flex: 1; min-height: 0; padding: 24px var(--ec-gutter) 130px; }
.check { background-color: var(--ec-bg); background-image: conic-gradient(var(--check) 25%, transparent 0 50%, var(--check) 0 75%, transparent 0); background-size: 20px 20px; }

/* MARK: rows, fields, switches */
.row { min-height: 56px; display: flex; align-items: center; gap: 12px; width: 100%; border-bottom: 1px solid var(--ec-hairline); }
.row.last, .row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .sub { display: block; margin-top: 1px; }
.row.danger { color: var(--ec-danger); }
.radio { width: 24px; height: 24px; display: grid; place-items: center; border-radius: var(--ec-radius); border: 2px solid var(--ec-ink); flex: none; color: transparent; }
.row[aria-checked="true"] .radio { background: var(--ec-ink); color: var(--ec-on-ink); }
.field { display: block; }
.field input { display: block; width: 100%; margin-top: 2px; padding: 4px 0 7px; border: 0; border-bottom: 1.5px solid var(--ec-ink); border-radius: 0; background: none; font: 500 22px/1.25 var(--sans); outline: none; }
.field input:focus { border-bottom-width: 3px; padding-bottom: 5.5px; }
.field input::placeholder { color: var(--ec-muted); opacity: .7; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; }
.switch i { position: relative; width: 51px; height: 31px; border-radius: 16px; background: var(--ec-softer); flex: none; transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .18); transition: transform .2s var(--ease), background .2s; }
.switch.on i { background: var(--ec-ink); }
.switch.on i::after { transform: translateX(20px); background: var(--ec-on-ink); box-shadow: none; }

/* MARK: the slider. A thin rail, an ink fill and a round ink knob. */
.slider { display: flex; align-items: center; gap: 12px; min-height: 36px; min-width: 0; }
.slider .lbl { flex: none; min-width: 54px; }
.slider .val { flex: none; min-width: 34px; text-align: right; font: 400 13px/1 var(--mono); color: var(--ec-muted); }
.slider input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 32px; margin: 0; background: transparent; --p: 50%; cursor: pointer; }
.slider input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--ec-ink) var(--p), var(--ec-hairline) var(--p)); }
.slider input[type=range]::-moz-range-track { height: 2px; background: var(--ec-hairline); }
.slider input[type=range]::-moz-range-progress { height: 2px; background: var(--ec-ink); }
.slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--ec-ink); border: 0; }
.slider input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ec-ink); border: 0; }

/* MARK: swatches */
.swatches { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.sw { position: relative; aspect-ratio: 1; border-radius: var(--ec-radius); box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); display: grid; place-items: center; }
.sw.on { box-shadow: 0 0 0 2px var(--ec-bg), 0 0 0 3.5px var(--ec-ink); }
.sw-none { background: var(--ec-bg); color: var(--ec-danger); }
.sw-custom { background: conic-gradient(#e0453a, #e39b2d, #21a38a, #0ea5e9, #a24fd8, #e0453a); overflow: hidden; }
.sw-custom input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

/* MARK: a menu that scrolls sideways. The item is gone before it reaches the arrow. */
.hscroll-host { position: relative; margin: 0 calc(var(--ec-gutter) * -1); }
.hscroll { display: flex; gap: 8px; padding: 0 var(--ec-gutter); overflow-x: auto; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.ec-more-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 132px), transparent calc(100% - 56px)); mask-image: linear-gradient(90deg, #000 calc(100% - 132px), transparent calc(100% - 56px)); }
.hscroll.ec-more-l { -webkit-mask-image: linear-gradient(90deg, transparent 56px, #000 132px); mask-image: linear-gradient(90deg, transparent 56px, #000 132px); }
.hscroll.ec-more-l.ec-more-r { -webkit-mask-image: linear-gradient(90deg, transparent 56px, #000 132px, #000 calc(100% - 132px), transparent calc(100% - 56px)); mask-image: linear-gradient(90deg, transparent 56px, #000 132px, #000 calc(100% - 132px), transparent calc(100% - 56px)); }

/* MARK: the three steps */
.steps-top { display: flex; align-items: center; gap: 12px; padding: calc(56px + env(safe-area-inset-top)) var(--ec-gutter) 0; flex: none; }
.steps { flex: 1; display: flex; justify-content: flex-end; gap: 22px; }
.step { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 2px solid transparent; font: 700 13px/1 var(--sans); letter-spacing: .6px; text-transform: uppercase; color: var(--ec-muted); }
.step.on { color: var(--ec-ink); border-bottom-color: var(--ec-ink); }
.step i { font: 500 12px/1 var(--mono); font-style: normal; letter-spacing: 0; }
.stage { position: relative; flex: 1; min-height: 0; margin: 18px var(--ec-gutter) 0; border-radius: var(--ec-radius); overflow: hidden; display: flex; }
.cv-wrap { position: relative; flex: 1; min-width: 0; min-height: 0; touch-action: none; }
.cv-wrap canvas { position: absolute; left: 0; top: 0; display: block; }
.stage.comp { background: var(--ec-soft); }
.stage.comp .cv-wrap canvas { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.float { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.bgbar { position: absolute; left: 10px; top: 52px; z-index: 4; display: none; align-items: center; gap: 10px; padding: 8px 10px; max-width: calc(100% - 20px); border: 1px solid var(--ec-glass-edge); border-radius: var(--ec-radius); background: var(--ec-glass); -webkit-backdrop-filter: blur(6px) saturate(180%); backdrop-filter: blur(6px) saturate(180%); }
.bgbar.open { display: flex; }
.bgbar .swatches { margin: 0; grid-template-columns: repeat(8, 24px); }
.hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; padding: 8px 12px; background: var(--ec-ink); color: var(--ec-on-ink); border-radius: var(--ec-radius); font: 500 13px/1.2 var(--sans); white-space: nowrap; pointer-events: none; transition: opacity .4s; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.tools { margin-top: 14px; flex: none; padding: 0 var(--ec-gutter); }
.ctx { display: flex; flex-direction: column; gap: 10px; padding: 14px var(--ec-gutter) 0; flex: none; min-height: 98px; }
.ctx .line { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 38px; }
.nav { display: flex; gap: 8px; padding: 14px var(--ec-gutter) calc(24px + env(safe-area-inset-bottom)); flex: none; }
.nav .ib { width: 48px; height: 48px; }
.nav .btn { flex: 1; }

/* MARK: the style step */
.stabs { display: flex; justify-content: space-between; padding: 6px var(--ec-gutter) 0; flex: none; }
.stabs .tab { flex: none; height: 40px; }
.panel-box { flex: none; height: clamp(200px, 36dvh, 300px); padding: 10px var(--ec-gutter) 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.panel-box::-webkit-scrollbar { display: none; }
.panel { display: flex; flex-direction: column; gap: 14px; padding-bottom: 12px; }
.fchip { flex: none; width: 76px; height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--ec-soft); border-radius: var(--ec-radius); }
.fchip.on { box-shadow: inset 0 0 0 2px var(--ec-ink); }
.fchip span { font-size: 22px; line-height: 1; max-width: 70px; overflow: hidden; }
.fchip small { font: 400 11.5px/1 var(--sans); color: var(--ec-ink-2); }
.frames { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.frame { aspect-ratio: 1; display: grid; place-items: center; background: var(--ec-soft); border-radius: var(--ec-radius); color: var(--ec-ink); }
.frame.on { box-shadow: inset 0 0 0 2px var(--ec-ink); }
.frame canvas { width: 70% !important; height: auto !important; }
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 6px; }
.act { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0 9px; border: 1px solid var(--ec-ink); border-radius: var(--ec-radius); font: 500 11.5px/1 var(--sans); }
.act.danger { border-color: var(--ec-danger); color: var(--ec-danger); }

/* MARK: the save step */
.save { flex: 1; min-height: 0; padding: 0 var(--ec-gutter); }
.preview { width: 200px; height: 200px; margin: 18px auto 0; border-radius: var(--ec-radius); display: grid; place-items: center; flex: none; }
.preview img { width: 176px; height: 176px; object-fit: contain; }

/* MARK: sheets and toast */
.veil { position: absolute; inset: 0; z-index: 40; background: var(--veil); opacity: 0; transition: opacity .25s; }
.veil.open { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88%; display: flex; flex-direction: column; padding: 20px var(--ec-gutter) calc(30px + env(safe-area-inset-bottom)); background: var(--sheet); border-top: 1px solid var(--ec-glass-edge); border-radius: var(--ec-radius) var(--ec-radius) 0 0; -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); transform: translateY(102%); transition: transform .3s var(--ease); }
.sheet.open { transform: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px -8px 8px 0; flex: none; }
.sheet-body { overflow-y: auto; scrollbar-width: none; }
.sheet-body::-webkit-scrollbar { display: none; }
.ask { display: flex; flex-direction: column; gap: 14px; padding-top: 6px; }
.samples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.samples img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ec-radius); }
.toast { position: absolute; left: 16px; right: 16px; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 60; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--ec-ink); color: var(--ec-on-ink); border-radius: var(--ec-radius); font: 500 14.5px/1.2 var(--sans); opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

/* MARK: options */
.opt { flex: 1; min-height: 0; padding: 18px var(--ec-gutter) 130px; }
.opt .row { justify-content: space-between; }
.opt .sec { margin-top: 48px; }
.opt .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.opt-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 56px; }
.opt-foot p { line-height: 1.5; }
.opt-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.opt-seal { position: relative; width: 128px; height: 124px; flex: none; }
.opt-seal .ec-seal.is-stamp { position: static; width: 128px; height: 124px; display: block; }
.opt-seal .ec-seal-in { padding: 0 16px; gap: 4px; }
.opt-seal .ec-seal small { font-size: 8.5px; }
.opt-seal .ec-seal strong { font: 600 13px/1.08 var(--sans); margin: 4px 0; text-wrap: balance; }
.opt-seal .ec-seal em { font-size: 9px; }
body > .ec-seal { display: none; }   /* the test seal lives at the end of Options, never over the main screen */

@media (prefers-reduced-motion: reduce) { * { transition-duration: .01s !important; } .screen { transform: none; } }

/* the family arrows sit on the gutter, not on the edge of the screen */
.hscroll-host > .ec-arrow-r { right: var(--ec-gutter) !important; }
.hscroll-host > .ec-arrow-l { left: var(--ec-gutter) !important; }

/* MARK: WhatsApp and the shell (only inside the iPhone and Android apps) */
.st { display: flex; align-items: center; gap: 7px; font: 400 13px/1.3 var(--sans); color: var(--ec-muted); }
.sq { width: 10px; height: 10px; border-radius: 2px; flex: none; display: inline-block; }
.pack-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wa-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.wa-note { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.dots { display: flex; gap: 4px; flex: none; }
.dots .sq { box-shadow: inset 0 0 0 1.5px var(--ec-ink); }
.dots .sq.full { background: var(--ec-ink); }
/* the shell already keeps the page clear of the status bar, so the tops need less air */
.native .top { padding-top: 28px; }
.native .pack-top, .native .steps-top { padding-top: 16px; }
.native .bar { bottom: 12px; }
.native .nav { padding-bottom: 12px; }
.native #app { max-width: none; height: 100dvh; margin-top: 0; border-radius: 0; }
