:root {
  --cream: #FBF6F1;
  --paper: #FFFDFB;
  --ink: #3B2A2F;
  --muted: #8A7378;
  --blush: #F4DAD5;
  --blush-2: #EFC4BE;
  --rose: #C4686E;
  --rose-deep: #A84F57;
  --sage: #A9BCA4;
  --sage-soft: #E5ECE1;
  --gold: #C8A26A;
  --line: rgba(59, 42, 47, .08);
  --shadow: 0 1px 2px rgba(91, 52, 58, .05), 0 10px 30px -12px rgba(150, 82, 90, .22);
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --r: 22px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100dvh; overscroll-behavior-y: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* soft floating blobs */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: float 18s ease-in-out infinite alternate; }
.bg i:nth-child(1) { width: 320px; height: 320px; background: #F6D3CD; top: -120px; right: -90px; }
.bg i:nth-child(2) { width: 260px; height: 260px; background: #E2EADC; top: 38%; left: -140px; animation-delay: -6s; }
.bg i:nth-child(3) { width: 220px; height: 220px; background: #F3E3C9; bottom: -60px; right: -60px; animation-delay: -11s; }
@keyframes float { to { transform: translate(30px, 40px) scale(1.08); } }

main { max-width: 520px; margin: 0 auto; padding: calc(var(--safe-t) + 22px) 18px calc(var(--safe-b) + 170px); }

.hello { margin: 6px 4px 18px; }
.hello .date { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 34px; line-height: 1.1; margin-top: 4px; }
h1 em { font-style: italic; color: var(--rose); }
h2 { font-size: 20px; }
.section-title { font-size: 19px; margin: 26px 4px 12px; }
.muted { color: var(--muted); margin: 0; }

.card { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; margin-bottom: 14px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }

/* bump card */
.bump { position: relative; overflow: hidden; background: linear-gradient(135deg, #FBE4DF, #F6E9DC 60%, #EEF1E7); display: flex; gap: 16px; align-items: center; }
.bump .fruit { font-size: 46px; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,.7); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 6px 18px -8px rgba(168,79,87,.4); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.bump .kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rose-deep); margin: 0 0 2px; }
.bump h2 { font-size: 22px; line-height: 1.2; }
.bump h2 em { font-style: italic; }
.bump .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.bump .bar { margin-top: 10px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.75); overflow: hidden; }
.bump .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blush-2), var(--rose)); }
.bump.setup { cursor: pointer; }

/* progress */
.progress { display: flex; align-items: center; gap: 16px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.ring .track { stroke: var(--blush); }
.ring .bar { stroke: var(--rose); stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .8s cubic-bezier(.2,.8,.2,1); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 17px; }
.progress-copy { flex: 1; min-width: 0; }
.progress-copy p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.streak { background: #FFF4E4; color: #9A6B2A; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 6px 10px; white-space: nowrap; }

/* week */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 2px 0; }
.week div { text-align: center; font-size: 11px; color: var(--muted); }
.week b { display: grid; place-items: center; margin: 4px auto 0; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.6); border: 1px solid var(--line); color: var(--muted); }
.week .full b { background: var(--rose); border-color: var(--rose); color: #fff; }
.week .part b { background: conic-gradient(var(--blush-2) var(--p), rgba(255,255,255,.7) 0); }
.week .today b { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3.5px var(--rose); }

/* slots */
.slots, .tasks { list-style: none; margin: 0; padding: 0; }
.slot { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; margin-bottom: 10px; transition: transform .3s, opacity .3s, background .3s; }
.slot .em { font-size: 26px; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--blush); flex: none; }
.slot .txt { flex: 1; min-width: 0; }
.slot .name { font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot .meta { color: var(--muted); font-size: 13.5px; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; margin-right: 6px; vertical-align: 1px; }
.pill.due { background: #FBE0DC; color: var(--rose-deep); }
.pill.soon { background: #F1ECE6; color: var(--muted); }
.pill.done { background: var(--sage-soft); color: #5E7558; }
.slot.due { border-color: rgba(196,104,110,.35); background: linear-gradient(90deg, #FFF0EC, var(--paper)); }
.slot.due .em { animation: wiggle 2.6s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-9deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
.slot.done { opacity: .72; }
.slot.done .em { background: var(--sage-soft); }
.slot.done .name { text-decoration: line-through; text-decoration-color: rgba(59,42,47,.25); }
.slot.flash { animation: flash 1.6s ease 2; }
@keyframes flash { 50% { box-shadow: 0 0 0 4px rgba(196,104,110,.35), var(--shadow); } }

.check { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--blush-2); background: #fff; flex: none; display: grid; place-items: center; cursor: pointer; transition: transform .15s, background .25s, border-color .25s; }
.check svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .35s .05s; }
.check:active { transform: scale(.9); }
.slot.due .check { border-color: var(--rose); }
.slot.done .check { background: var(--sage); border-color: var(--sage); }
.slot.done .check svg { stroke-dashoffset: 0; }

/* task list */
.task { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.task .em { font-size: 24px; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--blush); flex: none; }
.task .txt { flex: 1; min-width: 0; }
.task .name { font-weight: 600; }
.task .meta { color: var(--muted); font-size: 13.5px; }
.task .chev { color: var(--muted); font-size: 22px; }
.task.paused { opacity: .55; }

/* empty */
.empty { text-align: center; padding: 28px 20px; }
.empty-emoji { font-size: 44px; margin-bottom: 6px; }
.empty p { color: var(--muted); margin: 8px auto 16px; max-width: 30ch; }
.quick-label { font-size: 13px; margin: 22px 0 10px !important; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.quick button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 13px; font-size: 14px; cursor: pointer; }

/* buttons */
.btn { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 11px 18px; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn.rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn.danger { color: var(--rose-deep); }
.btn.ghost { background: transparent; border-color: transparent; padding-left: 4px; }
.btn.small { padding: 8px 14px; font-size: 14px; }
.btn:disabled { opacity: .45; }

.fab { position: fixed; right: max(18px, calc(50% - 250px)); bottom: calc(var(--safe-b) + 88px); width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--rose); box-shadow: 0 12px 26px -8px rgba(168,79,87,.7); display: grid; place-items: center; cursor: pointer; z-index: 5; transition: transform .2s; }
.fab:active { transform: scale(.92); }
.fab svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }

.tabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 14px); display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,253,251,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 6; }
.tabs button { border: 0; background: none; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s; }
.tabs button span { font-size: 16px; }
.tabs button.on { background: var(--ink); color: var(--cream); }

/* notice cards */
.notice { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, #2F2226, #4A333A); color: #FBEFEA; border: 0; }
.notice .ic { font-size: 28px; }
.notice h2 { font-size: 18px; color: #fff; }
.notice p { margin: 4px 0 12px; font-size: 14px; color: #EBD7D2; }
.notice .btn { background: #FBEFEA; color: var(--ink); border: 0; }
.notice ol { margin: 6px 0 0; padding-left: 20px; font-size: 14px; color: #EBD7D2; }
.notice ol li { margin: 3px 0; }
.notice a.btn { display: inline-block; text-decoration: none; }
.linkish { background: none; border: 0; padding: 0; color: #fff; font-weight: 600; text-decoration: underline; cursor: pointer; }
.share-ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; }

/* forms */
.form label, .sheet label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.form label:last-child { margin-bottom: 0; }
.opt { font-weight: 400; }
input:not([type=checkbox]) { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 16px; color: var(--ink); font-weight: 500; outline: none; -webkit-appearance: none; appearance: none; min-height: 48px; }
input:focus { border-color: var(--blush-2); box-shadow: 0 0 0 4px rgba(239,196,190,.4); }
small { display: block; font-weight: 400; margin-top: 6px; }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 20; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(43,28,32,.35); animation: fade .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 560px; margin: 0 auto; background: var(--cream); border-radius: 28px 28px 0 0; padding: 10px 20px calc(var(--safe-b) + 20px); max-height: 92dvh; overflow-y: auto; animation: up .35s cubic-bezier(.2,.9,.25,1); }
.grab { width: 40px; height: 5px; border-radius: 5px; background: rgba(59,42,47,.15); margin: 0 auto 14px; }
.sheet h2 { font-size: 24px; margin-bottom: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(100%); } }
.emoji-pick { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -20px 6px; padding-left: 20px; scrollbar-width: none; }
.emoji-pick::-webkit-scrollbar { display: none; }
.emoji-pick button { flex: none; width: 48px; height: 48px; border-radius: 15px; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; }
.emoji-pick button.on { background: var(--blush); border-color: var(--rose); box-shadow: 0 0 0 2px rgba(196,104,110,.25); }
.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.times { display: grid; gap: 8px; margin-bottom: 8px; }
.time-row { display: flex; gap: 8px; align-items: center; }
.time-row input { margin: 0; }
.time-row button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); font-size: 18px; }
.days, .chips { display: flex; gap: 6px; flex-wrap: wrap; }
.days button, .chips button { border: 1px solid var(--line); background: #fff; border-radius: 999px; min-width: 42px; height: 40px; padding: 0 12px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.days button.on, .chips button.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.sheet-actions { display: flex; gap: 8px; align-items: center; margin-top: 22px; }
.spacer { flex: 1; }

.toast { position: fixed; left: 50%; top: calc(var(--safe-t) + 16px); transform: translate(-50%, calc(-100% - var(--safe-t) - 40px)); visibility: hidden; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow); z-index: 40; transition: transform .45s cubic-bezier(.2,.9,.25,1.2), visibility .45s; max-width: calc(100vw - 32px); text-align: center; display: flex; gap: 12px; align-items: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast button { background: none; border: 0; color: var(--blush-2); font-weight: 700; padding: 0; cursor: pointer; }

#confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 30; }

.made { text-align: center; color: var(--muted); font-family: var(--serif); font-style: italic; margin-top: 26px; }

.allset { text-align: center; padding: 22px; background: linear-gradient(135deg, #EEF1E7, #FBE9E4); }
.allset .big { font-size: 38px; }
.allset p { margin: 4px 0 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Add to Home Screen guide */
#guide { position: fixed; inset: 0; z-index: 50; background: rgba(43,28,32,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; flex-direction: column; justify-content: center; padding: 16px 20px calc(var(--safe-b) + 70px); animation: fade .25s; overflow-y: auto; }
.guide-card { background: var(--cream); border-radius: var(--r); padding: 20px 18px 16px; box-shadow: var(--shadow); width: 100%; max-width: 400px; margin: 0 auto; text-align: center; }
.guide-card h2 { font-size: 21px; margin: 0 0 14px; }
.guide-cap { font-weight: 600; font-size: 16px; margin: 14px 0 8px; min-height: 1.45em; }
.guide-dots { display: flex; gap: 6px; justify-content: center; }
.guide-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--blush-2); transition: all .3s; }
.guide-dots i.on { width: 18px; border-radius: 4px; background: var(--rose); }
.guide-tap { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.guide-arrow { position: fixed; left: 0; right: 0; bottom: calc(var(--safe-b) + 6px); text-align: center; color: #fff; font-size: 40px; line-height: 1; animation: nudge 1.1s ease-in-out infinite; pointer-events: none; }
.guide-arrow span { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
@keyframes nudge { 50% { transform: translateY(10px); } }

/* the mini iPhone */
.ph { width: 206px; height: min(392px, 46dvh); margin: 0 auto; border-radius: 34px; background: #1d1719; padding: 7px; box-shadow: 0 18px 40px -16px rgba(60,30,36,.55); }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #FBF6F1; font: 11px/1.3 var(--sans); color: #1d1d1f; text-align: left; }
.ph-screen svg { width: 15px; height: 15px; flex: none; }
.ph-status { display: flex; justify-content: space-between; padding: 8px 18px 0; font-size: 10px; }
.ph-status span { letter-spacing: -1px; font-size: 8px; }
.ph-page { position: absolute; inset: 26px 0 72px; padding: 10px 14px; }
.ph-page i { display: block; border-radius: 8px; background: #EDE3DE; margin-bottom: 8px; }
.ph-page .a { width: 45%; height: 8px; } .ph-page .b { width: 70%; height: 16px; background: #E8C3C0; }
.ph-page .c { height: 62px; background: linear-gradient(135deg, #FBE4DF, #EEF1E7); } .ph-page .d { height: 40px; background: #3B2A2F; } .ph-page .e { height: 34px; }
.ph-url { position: absolute; left: 10px; right: 10px; bottom: 42px; height: 26px; border-radius: 9px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); display: grid; place-items: center; font-size: 10px; color: #333; }
.ph-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; padding: 0 14px 6px; display: flex; justify-content: space-between; align-items: center; color: #0a84ff; background: rgba(250,248,246,.95); font-size: 18px; }
.ph-bar span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; transition: background .15s; }
.ph-bar.v26 { left: 8px; right: 8px; bottom: 8px; height: 34px; padding: 0 6px; border-radius: 17px; box-shadow: 0 2px 10px rgba(0,0,0,.12); color: #1d1d1f; }
.ph-bar.v26 .url { width: auto; flex: 1; font-size: 10px; }
.ph-bar.v26 #phMore { font-size: 9px; letter-spacing: 1px; }
.ph-menu { position: absolute; right: 10px; bottom: 50px; width: 132px; background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: 0 8px 26px rgba(0,0,0,.18); overflow: hidden; transform-origin: bottom right; transform: scale(.6); opacity: 0; transition: all .25s; }
.ph-menu div { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-bottom: 1px solid #eee; transition: background .15s; }
.ph-screen.menu .ph-menu { transform: none; opacity: 1; }
.ph-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 80%; background: #F2F2F7; border-radius: 16px 16px 0 0; transform: translateY(102%); transition: transform .45s cubic-bezier(.2,.9,.25,1); padding: 10px 10px 0; box-shadow: 0 -6px 20px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.ph-screen.sheet .ph-sheet { transform: none; }
.ph-head { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #e2e2e7; }
.ph-head img, .ph-add-card img { width: 30px; height: 30px; border-radius: 7px; }
.ph-head div, .ph-add-card div { flex: 1; } .ph-head small, .ph-add-card small { display: block; color: #8e8e93; font-size: 9px; }
.ph-head span { color: #8e8e93; font-size: 10px; }
.ph-apps { display: flex; gap: 12px; padding: 9px 2px; }
.ph-apps i { width: 34px; height: 34px; border-radius: 9px; }
.ph-list-wrap { flex: 1; overflow: hidden; }
.ph-list { background: #fff; border-radius: 10px; transition: transform 1.1s cubic-bezier(.45,.05,.3,1); }
.ph-list div { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; border-bottom: 1px solid #ececf0; transition: background .15s; }
#phHomeRow { font-weight: 600; }
.ph-screen .pressed { background: #dcdce2 !important; }
.ph-add { position: absolute; inset: 0; background: #F2F2F7; padding: 30px 10px 0; transform: translateY(100%); transition: transform .45s cubic-bezier(.2,.9,.25,1); }
.ph-screen.add .ph-add { transform: none; }
.ph-add-top { display: flex; justify-content: space-between; align-items: center; color: #0a84ff; margin-bottom: 12px; font-size: 10.5px; }
.ph-add-top b { color: #1d1d1f; font-size: 10.5px; }
.ph-add-top span { padding: 3px 5px; border-radius: 6px; }
#phAddBtn { font-weight: 700; }
.ph-add-card { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 10px; padding: 8px 10px; margin-bottom: 10px; }
.ph-add-card.toggle span { flex: 1; } .ph-add-card.toggle i { width: 28px; height: 17px; border-radius: 9px; background: #34c759; position: relative; } .ph-add-card.toggle i::after { content: ''; position: absolute; right: 2px; top: 2px; width: 13px; height: 13px; border-radius: 50%; background: #fff; }
.ph-home { position: absolute; inset: 0; background: linear-gradient(160deg, #F2C9C4, #C9A4B8 55%, #9DB0A6); padding: 40px 16px 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.ph-screen.home .ph-home { opacity: 1; }
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
.ph-grid i, .ph-grid img { width: 100%; aspect-ratio: 1; border-radius: 10px; opacity: .85; }
.ph-grid img { opacity: 1; transform: scale(0); transition: transform .5s .5s cubic-bezier(.3,1.6,.5,1); box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(0,0,0,.25); }
.ph-screen.home .ph-grid img { transform: none; animation: jiggle 1.4s 1.2s ease-in-out infinite; }
@keyframes jiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -5deg; } 75% { rotate: 5deg; } }
.ph-app { margin: 0; position: relative; }
.ph-app figcaption { position: absolute; left: -6px; right: -6px; top: 100%; margin-top: 3px; text-align: center; color: #fff; font-size: 9px; font-weight: 600; opacity: 0; transition: opacity .3s 1s; }
.ph-screen.home .ph-app figcaption { opacity: 1; }
.ph-finger { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(196,104,110,.45); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: left .7s cubic-bezier(.4,0,.2,1), top .7s cubic-bezier(.4,0,.2,1), transform .15s, opacity .3s; z-index: 5; pointer-events: none; }
.ph-finger.tap { transform: scale(.72); background: rgba(196,104,110,.75); }
.ph-finger.drag { transition: top 1.1s cubic-bezier(.45,.05,.3,1), transform .15s; transform: scale(.85); }
.ph-finger.hide { opacity: 0; }
