/* day-phone.css — the phone of #day: the same plum clay phone as the hero's (home.css .ph): a plum clay body with side buttons, an
   island, a cream screen with a soft reflection, the assistant's bar, the big-task strip, the thread (bubbles in bubbles.css) and the
   input bar. Prefix dy-. Kit tokens only. */
.dy-phone{--dy-headh:100px;position:relative;width:min(100%,384px);margin-inline:auto}
.dy-pbody{position:relative;padding:10px;border-radius:56px;background:var(--k-grain-light),var(--k-plum-clay);box-shadow:var(--k-plum-shadow),inset 0 0 0 2px rgba(255,255,255,.07),0 60px 70px -34px rgba(60,6,30,.62)}
.dy-pbtn{position:absolute;width:5px;border-radius:4px;background:linear-gradient(90deg,#7a0f44,#a3205f);box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.dy-pbtn--1{inset-inline-start:-3px;top:19%;height:26px}.dy-pbtn--2{inset-inline-start:-3px;top:27%;height:44px}.dy-pbtn--3{inset-inline-end:-3px;top:24%;height:60px}
.dy-screen{position:relative;display:flex;flex-direction:column;overflow:hidden;height:min(660px,calc(100svh - 150px));min-height:540px;border-radius:46px;background:#fff4dc;box-shadow:inset 0 0 0 2px rgba(0,0,0,.18),inset 0 4px 8px rgba(60,6,30,.12)}
.dy-screen::after{content:"";position:absolute;inset:0;z-index:7;pointer-events:none;border-radius:inherit;background:linear-gradient(118deg,rgba(255,255,255,.2) 0%,rgba(255,255,255,0) 30%)}
.dy-island{position:absolute;inset-inline-start:50%;top:11px;z-index:4;width:96px;height:27px;margin-inline-start:-48px;border-radius:18px;background:#1a0510}
.dy-head{position:relative;z-index:3;display:flex;align-items:center;gap:11px;height:var(--dy-headh);padding:44px 16px 12px;background:linear-gradient(180deg,#fffaf0,#fff0cf);box-shadow:0 2px 6px -4px rgba(90,40,0,.35)}
.dy-av{display:block;width:42px;height:42px;flex:none;overflow:hidden;border-radius:50%;background:var(--cream-200);box-shadow:inset 0 0 0 2px rgba(100,8,46,.1),0 4px 6px -3px rgba(90,40,0,.45)}
.dy-av img{width:100%;height:100%;object-fit:cover}
.dy-hn{display:grid;gap:3px;min-width:0;flex:1}
.dy-hn b{overflow:hidden;font:770 .98rem/1.12 var(--display);letter-spacing:-.01em;white-space:nowrap;text-overflow:ellipsis;color:var(--plum-600)}
.dy-hn span{font:600 .74rem/1.1 var(--text);color:var(--ink-3)}
.dy-head em{flex:none;padding:4px 9px;border-radius:999px;font:650 .62rem/1 var(--text);font-style:normal;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);background:rgba(100,8,46,.08)}
/* the big task, running or ready */
.dy-prog{position:relative;z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px 10px;padding:9px 14px 10px;background:linear-gradient(180deg,#fff3c4,#ffe8a2);box-shadow:inset 0 -1px 0 rgba(170,100,0,.16)}
.dy-pi{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--plum-700);background:var(--k-gold-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 3px 6px -2px rgba(170,100,0,.5)}
.dy-pi .dy-i{width:16px;height:16px}
.dy-prog b{display:block;overflow:hidden;font:700 .8rem/1.25 var(--text);white-space:nowrap;text-overflow:ellipsis;color:var(--plum-700)}
.dy-prog small{display:block;font-size:.7rem;color:var(--ink-2)}
.dy-prog .dy-seg{grid-column:1/-1;display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.dy-prog .dy-seg i{width:auto;height:6px;background:rgba(100,8,46,.12);box-shadow:none}
.dy-prog .dy-seg i.dy-on{background:var(--plum-500)}
.dy-prog[data-s="done"]{background:linear-gradient(180deg,#eaf6e2,#d8eecb);box-shadow:inset 0 -1px 0 rgba(47,122,77,.18)}
.dy-prog[data-s="done"] .dy-pi{color:#fff;background:#2f9a62;box-shadow:0 3px 6px -2px rgba(47,122,77,.5)}
.dy-prog[data-s="done"] .dy-seg i.dy-on{background:#2f9a62}
/* the thread, on the cream screen with its faint stars */
.dy-thread{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;gap:9px;padding:14px 14px 10px;overflow:hidden;background-color:#fdf0d2;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 22 29.600 26.400 34 28 29.600 29.600 28 34 26.400 29.600 22 28 26.400 26.400Z' fill='%23d9a441' fill-opacity='.22'/%3E%3C/svg%3E");-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 44px);mask-image:linear-gradient(180deg,transparent 0,#000 44px)}
/* the input bar */
.dy-in{position:relative;z-index:2;display:flex;align-items:center;gap:9px;margin:0 12px 14px;padding-block:7px; padding-inline:15px 7px;border-radius:999px;background:#fff;box-shadow:inset 0 1px 0 #fff,0 6px 12px -8px rgba(90,40,0,.55)}
.dy-field{flex:1;min-width:0;overflow:hidden;font:500 .82rem/1 var(--text);white-space:nowrap;text-overflow:ellipsis;color:var(--ink-3)}
.dy-cam{display:grid;color:var(--plum-600)}
.dy-cam .dy-i{width:20px;height:20px}
.dy-mic{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;color:var(--cream-50);background:var(--k-plum-clay);box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.dy-mic .dy-i{width:15px;height:15px}
@media (max-width:900px){.dy-inline .dy-screen{height:560px;min-height:0}}
@media (max-width:420px){.dy-pbody{padding:8px;border-radius:48px}.dy-screen{border-radius:40px}.dy-inline .dy-screen{height:540px}.dy-head{gap:9px;padding-inline:13px}.dy-hn b{font-size:.86rem;white-space:normal;line-height:1.1}.dy-head em{padding:3px 7px;font-size:.56rem}}
