/* The simulated iPhone on the home page. Drawn at 350 x 740 and scaled as a whole (--k, set by demo.js), so the app
   inside keeps its proportions. Colors and shapes follow the real app (ios/Blackout/Theme.swift). */
.phone-slot { position: relative; flex: none; width: calc(350px * var(--k, 1)); height: calc(740px * var(--k, 1)); }
.phone {
  position: absolute; left: 0; top: 0; width: 350px; height: 740px; padding: var(--sp-75);
  transform: scale(var(--k, 1)); transform-origin: 0 0;
  /* The body: a dark metal band lit from the top left, with a black bezel inside it */
  border-radius: 56px; background: linear-gradient(145deg, #5A5A5C, #2A2A2C 22%, #1B1B1D 58%, #454547);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 1px #000;
}
/* Side buttons: action and volume on the left, power on the right */
.hw { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(180deg, #4A4A4C, #222224); }
.hw-action { left: -3px; top: 132px; height: 30px; }
.hw-up { left: -3px; top: 190px; height: 54px; }
.hw-down { left: -3px; top: 256px; height: 54px; }
.hw-power { right: -3px; top: 218px; height: 88px; }
/* A faint reflection across the glass */
.glass { position: absolute; inset: 0; z-index: 9; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0) 26%); }
/* Recordings of the real app fill the whole screen */
.clip { position: absolute; inset: 0; z-index: 7; display: none; width: 100%; height: 100%; object-fit: cover; background: #000; }
.island-real { position: absolute; top: 12px; left: 50%; z-index: 8; display: none; margin-left: -48px; }
.phone-screen.real .clip { display: block; }
.phone-screen.real .island-real { display: flex; }
.phone-screen.real > .sb, .phone-screen.real > .app, .phone-screen.real > .tabbar, .phone-screen.real > .home-ind,
.phone-screen.real > .banner, .phone-screen.real > .toast, .phone-screen.real > .sheet-wrap { visibility: hidden; }
.phone-screen {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden;
  border-radius: 48px; background: #000; color: var(--fg); font-size: 14px; line-height: 20px;
  box-shadow: 0 0 0 4px #000;
}
.phone button { cursor: pointer; color: inherit; font-family: inherit; }
/* Motion in the phone follows iOS: sheets and screens settle on a long ease, small things spring. */
.phone { --ios: cubic-bezier(0.32, 0.72, 0, 1); --spring: cubic-bezier(0.34, 1.56, 0.64, 1); }
.phone button:active { transform: scale(0.96); }
.phone button { transition: transform 350ms var(--spring), opacity 300ms var(--ios), background-color 300ms var(--ios); }
.phone .ic { width: 20px; height: 20px; }

/* Status bar */
.sb {
  flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px;
  padding: var(--sp-75) var(--sp-300) 0 var(--sp-400); font-size: 14px; line-height: 20px; font-weight: 600;
}
.island { display: flex; align-items: center; justify-content: flex-end; width: 96px; height: 28px; padding-right: var(--sp-75); border-radius: var(--r-full); background: var(--s1); }
.island::after { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: var(--s3); }
.sb-icons { display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-50); }
.sb-icons .ic-sys-signal { width: 18px; height: 12px; }
.sb-icons .ic-sys-wifi { width: 16px; height: 12px; }
.sb-icons .ic-sys-battery-75 { width: 26px; height: 12px; }
.sb-icons .off { color: var(--faint); }
.sb-none { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); }

/* Screens */
.app { position: relative; flex: 1; min-height: 0; transform-origin: 50% 0; transition: transform 500ms var(--ios), opacity 500ms var(--ios); }
.sheet-open .app { transform: scale(0.94) translateY(8px); opacity: 0.6; }
.scr {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--sp-200);
  padding: var(--sp-75) var(--sp-200) var(--sp-300); overflow-y: auto; scrollbar-width: none;
}
.scr > * { flex-shrink: 0; }
.scr > .msgs { flex-shrink: 1; }
.scr.enter { animation: dp-in 300ms var(--ios); }
.scr::-webkit-scrollbar, .msgs::-webkit-scrollbar, .sheet::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
@keyframes dp-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes dp-card { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes dp-bubble { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes dp-hud { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes dp-pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes dp-sheet { from { transform: translateY(100%); } to { transform: none; } }
@keyframes dp-sheet-out { from { transform: none; } to { transform: translateY(100%); } }
@keyframes dp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dp-dim { from { opacity: 0; } to { opacity: 0.6; } }
@keyframes dp-fade-out { from { opacity: 0.6; } to { opacity: 0; } }
@keyframes dp-drop { 0% { opacity: 0; transform: translateY(-120%); } 60% { opacity: 1; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
@keyframes dp-drop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-120%); } }

.p-title { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; }
.p-sub { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--dim); }
.p-sec { font-size: 16px; line-height: 24px; font-weight: 700; }
.p-note { font-size: 12px; line-height: 16px; color: var(--dim); }
.p-dim { color: var(--dim); }

/* Tab bar */
.tabbar { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); height: 56px; padding: 0 var(--sp-75); background: #000; }
.tab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-25);
  border: 0; background: none; color: var(--decor); font-size: 12px; line-height: 16px; font-weight: 500;
}
.tab[aria-selected="true"] { color: var(--fg); }
.tab .ic { width: 24px; height: 24px; }
.tab.pop .ic { animation: dp-pop 450ms var(--spring); }
.tab-badge {
  position: absolute; top: var(--sp-50); left: 50%; min-width: 16px; padding: 0 var(--sp-50); border-radius: var(--r-full);
  background: var(--fg); color: #000; font-size: 12px; line-height: 16px; font-weight: 700; transform: translateX(4px);
}
.home-ind { flex: none; display: grid; place-items: center; height: 20px; background: #000; }
.home-ind::after { content: ""; width: 112px; height: 4px; border-radius: var(--r-full); background: var(--fg); }

/* Home */
.h-head { display: flex; align-items: center; gap: var(--sp-100); }
.h-head img { width: 24px; height: 24px; }
.h-group { display: flex; align-items: center; gap: var(--sp-50); padding: 0; border: 0; background: none; font-size: 18px; line-height: 28px; font-weight: 700; }
.h-group .ic { width: 12px; height: 12px; color: var(--dim); }
.round { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: var(--r-full); background: var(--s2); }
.round .ic { width: 16px; height: 16px; }
.h-head .round { margin-left: auto; }
/* The logo's outline: cut top left corner, round right side. */
.vault { border-radius: 0 var(--r-4xl) var(--r-4xl) var(--r-lg); clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%, 0 32px); }
.h-hero { display: flex; flex-direction: column; gap: var(--sp-50); padding: var(--sp-300); border: 0; background: var(--s1); text-align: left; }
.h-st { display: flex; align-items: center; gap: var(--sp-75); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--safe); }
.h-st::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: currentColor; }
.h-big { display: flex; align-items: flex-end; gap: var(--sp-100); }
.h-big b { font-size: 72px; line-height: 72px; font-weight: 700; letter-spacing: -0.04em; }
.h-big span { padding-bottom: var(--sp-75); font-size: 16px; line-height: 24px; font-weight: 700; color: var(--dim); }
.h-sum { font-size: 14px; line-height: 20px; color: var(--dim); }
.qa-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-75); }
.qa {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-75); padding: var(--sp-100) 0;
  border: 0; border-radius: var(--r-2xl); background: var(--s1); font-size: 12px; line-height: 16px; font-weight: 600;
}
.qa-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.14); }
.qa.safe .qa-ic { background: rgba(51, 214, 74, 0.14); color: var(--safe); }
.qa.help .qa-ic { background: rgba(255, 69, 59, 0.14); color: var(--help); }
.sos { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.02em; }

/* Lists */
.list { border-radius: var(--r-3xl); background: var(--s1); overflow: hidden; }
.row { position: relative; display: flex; align-items: center; gap: var(--sp-100); width: 100%; padding: var(--sp-100) var(--sp-200); border: 0; background: none; text-align: left; }
.row + .row::before { content: ""; position: absolute; left: 68px; right: 0; top: 0; height: 1px; background: var(--s3); }
.av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--s2); font-size: 16px; line-height: 24px; font-weight: 700; }
.av.safe { box-shadow: 0 0 0 2px var(--s1), 0 0 0 4px var(--safe); }
.av.help { box-shadow: 0 0 0 2px var(--s1), 0 0 0 4px var(--help); }
.row-main { flex: 1; min-width: 0; }
.row-name { font-size: 14px; line-height: 20px; font-weight: 600; }
.row-text { font-size: 14px; line-height: 20px; color: var(--fg); opacity: 0.85; }
.row-sub { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--dim); }
.row-sub.safe { color: var(--safe); }
.row-sub.help { color: var(--help); }
.row-end { flex: none; text-align: right; }
.row-end b { display: block; font-size: 14px; line-height: 20px; font-weight: 700; }
.row-end span { font-size: 12px; line-height: 16px; color: var(--dim); }
.bat { display: flex; align-items: center; gap: var(--sp-50); flex: none; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); }
.bat.low { color: var(--help); }
.bat .ic { width: 22px; height: 11px; }

/* Buttons inside the app */
.pbtn, .sbtn, .dbtn {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-75); flex: none; width: 100%; min-height: 48px;
  border: 0; border-radius: var(--r-full); font-size: 14px; line-height: 20px; font-weight: 600;
}
.pbtn { background: var(--fg); color: #000 !important; }
.sbtn { background: var(--s2); }
.dbtn { background: var(--help); color: #fff; }
.ghost { display: inline-flex; align-items: center; gap: var(--sp-50); min-height: 32px; padding: 0 var(--sp-100); border: 0; border-radius: var(--r-full); background: var(--s2); font-size: 14px; line-height: 20px; font-weight: 600; }
.ghost .ic { width: 16px; height: 16px; }
.ghost.safe .ic { color: var(--safe); }
.ghost .sos { color: var(--help); }
.phone [disabled] { opacity: 0.35; cursor: default; }

/* Chat */
.scr.chat { gap: 0; padding: 0; overflow: hidden; }
.chat-top { flex: none; display: flex; flex-direction: column; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200); }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-50); padding: var(--sp-50); border-radius: var(--r-full); background: var(--s2); }
.seg::before { content: ""; position: absolute; top: var(--sp-50); bottom: var(--sp-50); left: var(--sp-50); width: calc(50% - 6px); border-radius: var(--r-full); background: var(--fg); transition: transform 350ms var(--ios); }
.seg[data-pos="1"]::before { transform: translateX(calc(100% + 4px)); }
.seg button { position: relative; min-height: 32px; border: 0; border-radius: var(--r-full); background: none; color: var(--dim); font-size: 14px; line-height: 20px; font-weight: 600; }
.seg button[aria-selected="true"] { color: #000; }
.msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200) var(--sp-200); overflow-y: auto; scrollbar-width: none; }
.msgs > :first-child { margin-top: auto; }
.b { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-50); align-self: stretch; }
.b.me { align-items: flex-end; }
.b-text, .sug { max-width: 84%; }
.b-name { padding: 0 var(--sp-50); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); }
.b-text { padding: var(--sp-75) var(--sp-100); border-radius: var(--r-2xl); background: var(--s2); font-size: 14px; line-height: 20px; overflow-wrap: anywhere; white-space: pre-line; }
.b.me .b-text { background: var(--fg); color: #000; }
.b-st { display: flex; align-items: center; gap: var(--sp-50); max-width: 100%; padding: 0 var(--sp-50); font-size: 12px; line-height: 16px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.ci .b-st { padding: 0 0 0 28px; }
.b-st.del { color: var(--dim); }
.b-st .ic { width: 12px; height: 12px; }
.ci, .askc { display: flex; flex-direction: column; gap: var(--sp-75); align-self: stretch; padding: var(--sp-100) var(--sp-200); border-radius: var(--r-2xl); }
.ci { background: rgba(51, 214, 74, 0.13); }
.ci.help { background: rgba(255, 69, 59, 0.13); }
.askc { background: var(--s1); }
.ci-top { display: flex; align-items: center; gap: var(--sp-75); font-size: 14px; line-height: 20px; font-weight: 600; }
.ci-top > .ic { color: var(--safe); }
.ci-top > .sos { color: var(--help); }
.askc .ci-top > .ic { color: var(--fg); }
.ci-top .grow { flex: 1; min-width: 0; }
.ci-time { flex: none; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--dim); }
.ci-extra { padding-left: 28px; font-size: 14px; line-height: 20px; font-weight: 600; }
.askc-btns { display: flex; flex-wrap: wrap; gap: var(--sp-75); }
.line { align-self: center; padding: var(--sp-50) 0; font-size: 12px; line-height: 16px; color: var(--faint); }
.new { animation: dp-card 450ms var(--spring); }
.b.new { animation: none; }
.b.new .b-text { animation: dp-bubble 400ms var(--spring); transform-origin: 0 100%; }
.b.me.new .b-text { transform-origin: 100% 100%; }
.b.new .b-name, .b.new .b-st { animation: dp-fade 300ms var(--ios); }
.pub-note { display: flex; align-items: center; gap: var(--sp-50); font-size: 12px; line-height: 16px; color: var(--dim); }
.pub-note .ic { width: 12px; height: 12px; }
.composer { flex: none; display: flex; align-items: center; gap: var(--sp-75); padding: var(--sp-75) var(--sp-200); }
.composer input {
  flex: 1; min-width: 0; height: 44px; padding: 0 var(--sp-200); border: 0; border-radius: var(--r-3xl);
  background: var(--s2); color: var(--fg); font-size: 16px; line-height: 24px;
}
.composer input::placeholder { color: var(--faint); opacity: 1; }
.composer input:focus-visible { outline: 2px solid var(--fg); outline-offset: 0; border-radius: var(--r-3xl); }
.send { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r-full); background: var(--s2); color: var(--faint) !important; }
.send.on { background: var(--fg); color: #000 !important; }

/* People */
.big2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-100); }
.bigc {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--sp-100); min-height: 112px;
  padding: var(--sp-200); border: 0; border-radius: 0 var(--r-3xl) var(--r-3xl) var(--r-md);
  clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%, 0 24px);
  background: var(--safe); color: #000 !important; font-size: 18px; line-height: 28px; font-weight: 700;
}
.bigc.help { background: var(--help); color: #fff !important; }
.bigc .ic { width: 28px; height: 28px; }
.bigc .sos { font-size: 20px; line-height: 28px; }
.stack { display: flex; flex-direction: column; gap: var(--sp-75); }

/* Places */
.chips { display: flex; gap: var(--sp-75); flex: none; overflow-x: auto; scrollbar-width: none; }
.chip { flex: none; min-height: 32px; padding: 0 var(--sp-100); border: 0; border-radius: var(--r-full); background: var(--s2); color: var(--dim) !important; font-size: 14px; line-height: 20px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--fg); color: #000 !important; }
.map { position: relative; flex: none; height: 320px; border-radius: var(--r-3xl); background: var(--s1); overflow: hidden; }
.map svg { width: 100%; height: 100%; }
.pin { position: absolute; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 0; border-radius: var(--r-full); background: var(--fg); color: #000 !important; }
.pin .ic { width: 16px; height: 16px; }
.pin.you { width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--safe); box-shadow: 0 0 0 4px rgba(51, 214, 74, 0.25); }

/* Ask */
.sug { width: 100%; max-width: none; padding: var(--sp-100) var(--sp-200); border: 0; border-radius: var(--r-2xl); background: var(--s1); font-size: 14px; line-height: 20px; font-weight: 600; text-align: left; }
.scr.ask { gap: 0; padding: 0; overflow: hidden; }
.ask-top { flex: none; display: flex; align-items: flex-start; gap: var(--sp-100); padding: var(--sp-75) var(--sp-200); }
.ask-top > div { flex: 1; min-width: 0; }

/* Sheets, toast, banner */
.sheet-wrap { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; justify-content: flex-end; }
.sheet-wrap[hidden], .banner[hidden] { display: none; }
.sheet-dim { position: absolute; inset: 0; width: 100%; border: 0; background: #000; opacity: 0.6; animation: dp-dim 400ms var(--ios); }
.sheet-wrap.closing { pointer-events: none; }
.closing .sheet { animation: dp-sheet-out 340ms var(--ios) forwards; }
.closing .sheet-dim { animation: dp-fade-out 340ms var(--ios) forwards; }
.phone .sheet-dim:active { transform: none; }
.sheet {
  position: relative; display: flex; flex-direction: column; gap: var(--sp-200); max-height: 92%; padding: var(--sp-200) var(--sp-200) var(--sp-400);
  border-radius: var(--r-3xl) var(--r-3xl) 0 0; background: var(--s1); overflow-y: auto; scrollbar-width: none;
  animation: dp-sheet 500ms var(--ios);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-100); }
.sheet-head b { font-size: 16px; line-height: 24px; font-weight: 600; }
.sheet .card { display: flex; flex-direction: column; gap: var(--sp-75); padding: var(--sp-200); border-radius: var(--r-2xl); background: var(--s2); }
.sheet .ghost, .sheet .sbtn, .sheet .round, .sheet .chip { background: var(--s3); }
.sheet .chip[aria-pressed="true"] { background: var(--fg); }
.sheet .list { background: var(--s2); }
.sheet .list .av { background: var(--s3); }
.sheet h3 { font-size: 24px; line-height: 32px; font-weight: 700; }
.dial { position: relative; display: grid; place-items: center; flex: none; width: 192px; height: 192px; margin: 0 auto; border-radius: var(--r-full); background: var(--s2); }
.dial::before { content: ""; position: absolute; inset: 12px; border-radius: var(--r-full); box-shadow: inset 0 0 0 2px var(--s4); }
.dial .ic { width: 80px; height: 80px; transition: transform 900ms cubic-bezier(0.3, 1.45, 0.5, 1); }
.find-d { text-align: center; font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -0.02em; }
.find-w { text-align: center; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--dim); }
.qr { align-self: center; width: 176px; height: 176px; padding: var(--sp-100); border-radius: var(--r-2xl); background: #fff; }
.qr svg { width: 100%; height: 100%; }
.emoji { font-size: 24px; line-height: 32px; letter-spacing: 0.1em; }
.need-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-75); }
.need-grid .chip { padding: 0; }
.kind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-75); }
.kind { display: flex; flex-direction: column; align-items: center; gap: var(--sp-50); padding: var(--sp-100) 0; border: 0; border-radius: var(--r-2xl); background: var(--s2); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim) !important; }
.kind[aria-pressed="true"] { background: var(--fg); color: #000 !important; }
.field { width: 100%; height: 44px; padding: 0 var(--sp-200); border: 0; border-radius: var(--r-xl); background: var(--s2); color: var(--fg); font-size: 16px; line-height: 24px; }
.field::placeholder { color: var(--faint); opacity: 1; }
.conn { display: flex; align-items: center; gap: var(--sp-100); padding: var(--sp-100) var(--sp-200); }
.conn + .conn { position: relative; }
.conn + .conn::before { content: ""; position: absolute; left: 52px; right: 0; top: 0; height: 1px; background: var(--s3); }
.conn .ic { color: var(--dim); }
.conn.on .ic { color: var(--safe); }

.toast { position: absolute; left: var(--sp-200); right: var(--sp-200); bottom: 88px; z-index: 8; display: flex; justify-content: center; pointer-events: none; }
.toast span { padding: var(--sp-75) var(--sp-200); border-radius: var(--r-full); background: var(--fg); color: #000; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; animation: dp-hud 350ms var(--spring); }
.banner {
  position: absolute; left: var(--sp-75); right: var(--sp-75); top: 48px; z-index: 7; display: flex; align-items: center; gap: var(--sp-100);
  padding: var(--sp-100); border: 0; border-radius: var(--r-3xl); background: var(--s3); text-align: left; animation: dp-drop 600ms var(--ios);
}
.banner.out { animation: dp-drop-out 300ms var(--ios) forwards; }
.banner img { flex: none; width: 36px; height: 36px; padding: var(--sp-50); border-radius: var(--r-lg); background: #000; }
.banner > span { min-width: 0; }
.banner b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.banner span span { display: block; font-size: 14px; line-height: 20px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* A ring around the phone when "Try the demo" is pressed */
.phone-slot::after {
  content: ""; position: absolute; inset: -8px; border-radius: calc(64px * var(--k, 1)); box-shadow: 0 0 0 2px var(--fg);
  opacity: 0; pointer-events: none;
}
.phone-slot.hint::after { animation: dp-hint 1600ms var(--ease); }
@keyframes dp-hint { 0% { opacity: 0; transform: scale(0.98); } 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.02); } }
.no-js { margin: auto; padding: var(--sp-300); text-align: center; color: var(--dim); }

@media (prefers-reduced-motion: reduce) {
  .scr.enter, .new, .b.new .b-text, .sheet, .banner, .toast span { animation: dp-fade 300ms var(--ease); }
  .closing .sheet, .banner.out { animation: dp-fade-out 200ms var(--ease) forwards; }
  .tab.pop .ic, .phone-slot.hint::after { animation: none; }
  .phone button:active, .sheet-open .app { transform: none; }
  .dial .ic, .seg::before, .app { transition: none; }
}
