/* Daily use (js/daily.js): the Add to Home Screen guide and its arrow, the morning-buzz question, and Home's quiet lines. */
.dl-slot { display: grid; gap: 10px; margin: 10px 12px 0; }
.dl-slot[hidden] { display: none; }
.dl-slot .h-quiet { margin: 0; }
.dl-streak { cursor: default; }
.dl-streak .ico { color: var(--accent); }
.dl-week { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 0; }
.dl-week .grow { flex: 1; min-width: 0; }
.dl-week b { display: block; font-size: var(--fs-body); }
.dl-week small { display: block; color: var(--muted); font-size: var(--fs-detail); line-height: 1.4; margin-top: 2px; }

/* the guide: a card near the top, so the arrow below can point at Safari's own bar */
.dl-sheet { align-items: flex-start; padding-top: max(18px, env(safe-area-inset-top)); }
.dl-sheet .dl-card { border-radius: 26px; margin: 0 12px; width: min(calc(100% - 24px), 480px); padding-bottom: 18px; animation: dl-drop .45s var(--spring, cubic-bezier(.2, 1.3, .4, 1)) both; }
.dl-sheet.out .dl-card { animation: dl-up .28s ease both; }
.dl-sheet .upds-grab { display: none; }
.dl-head { display: flex; gap: 14px; align-items: flex-start; margin: 6px 0 12px; }
.dl-head h2 { margin: 2px 0 4px; font-size: var(--fs-title3, 20px); letter-spacing: -.02em; }
.dl-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); color: var(--on-accent, #fff); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.dl-badge .i { width: 24px; height: 24px; }
.dl-why { margin: 0; color: var(--muted); font-size: var(--fs-sub, 15px); line-height: 1.45; }
.dl-why b { color: var(--text); }
.dl-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.dl-steps li { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface-2); line-height: 1.4; }
.dl-steps small { color: var(--muted); }
.dl-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-share { width: 18px; height: 18px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl-card .upd-acts { display: grid; gap: 8px; }

/* the arrow at Safari's Share button: bottom centre, above the toolbar */
#dl-arrow { position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 300; display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.dl-pill { padding: 10px 14px; border-radius: 99px; background: var(--text); color: var(--bg); font-size: var(--fs-detail, 14px); font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); white-space: nowrap; }
.dl-down { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); animation: dl-bob 1.1s ease-in-out infinite; }

.dl-push { flex-wrap: wrap; }

@keyframes dl-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes dl-drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dl-up { to { transform: translateY(-24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dl-down, .dl-sheet .dl-card { animation: none; } }

/* HABIT part 1: "Is this your usual school trip?" under Home's card (js/habit.js) */
.hb { margin-top: 10px; padding: 14px 16px; }
.hb-q { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-weight: 700; font-size: var(--fs-sub); }
.hb-q .i { color: var(--accent); flex: none; }
.hb-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin-top: 4px; }
.hb-alt .link { min-height: 44px; padding: 8px 6px; }
.hb-fine { margin: 8px 4px 0; font-size: var(--fs-foot); color: var(--muted); text-align: center; line-height: 1.4; }
