/* Everywhere: Per Push laid out for iPhone, iPhone Duo (cover and open), iPad, Mac, Apple Watch, Apple TV and
   Vision Pro. Pieces are placed by the matched-geometry engine; their insides are laid out here. */
.ev { position: absolute; inset: 0; font-family: var(--sf); color: #1c1108; -webkit-font-smoothing: antialiased; }
.ev-bg, .ev-wall, .ev-win, .ev-side, .ev-vwin, .ev-bar, .ev-tsel, .ev-card { display: block; }
.ev-wall { background: radial-gradient(ellipse 70% 60% at 30% 110%, #e8651f 0%, rgba(232, 101, 31, 0) 60%), linear-gradient(170deg, #1b2347 0%, #2a2a55 50%, #5a3048 100%); }
.ev-win { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 0.5px rgba(0, 0, 0, 0.2); }
.ev-side { box-shadow: inset -0.5px 0 0 rgba(28, 17, 8, 0.1); }
.ev-vwin { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 30px 60px -24px rgba(0, 0, 0, 0.45); }
.ev-card { box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1), 0 4px 14px rgba(217, 79, 10, 0.1); }
.ev-bar { box-shadow: 0 10px 28px -10px rgba(28, 17, 8, 0.3), inset 0 0 0 0.5px rgba(28, 17, 8, 0.08); }
.ev-sb { overflow: hidden; container-type: size; }
/* the status bar fits its box: an iPhone's 54pt bar, the Duo's and the iPad's slimmer ones, icons on the right */
.ev-sb .ev-sbi { width: 100%; height: 100%; padding: clamp(0px, 7.4cqh, 4px) clamp(18px, 55cqh, 30px) 0 clamp(20px, 81cqh, 44px); font-size: clamp(12px, 30.5cqh, 16.5px); }
.ev-sb .sb-i { gap: clamp(4px, 11cqh, 6px); }
.ev-sb .sb-i svg { height: clamp(8.5px, 21.3cqh, 11.5px); }
.ev-sb .sb-batt { width: clamp(19px, 46cqh, 25px); height: clamp(9px, 22cqh, 12px); border-radius: clamp(3px, 7.4cqh, 4px); }

/* tab items: icon and label placed by --ix/--iy/--is/--io and --lx/--ly/--lc/--lo/--fs */
.ev-tab .ev-ti { position: absolute; left: calc(var(--ix, 0) * 1px); top: calc(var(--iy, 0) * 1px); font-size: calc(var(--is, 24) * 1px); opacity: var(--io, 1); }
.ev-tab .ev-tl { position: absolute; left: calc(var(--lx, 0) * 1px); top: calc(var(--ly, 0) * 1px); transform: translateX(calc(var(--lc, 0) * -50%)); font-size: calc(var(--fs, 10) * 1px); font-weight: 600; white-space: nowrap; opacity: var(--lo, 1); }

.ev-date { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: #a07858; white-space: nowrap; }
.ev-brand { font-size: 30px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.1; white-space: nowrap; }
.ev-today { font-size: 34px; font-weight: 800; letter-spacing: -0.6px; white-space: nowrap; }
.ev-streak { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 18px; background: rgba(217, 79, 10, 0.15); box-shadow: inset 0 0 0 1px #d94f0a; white-space: nowrap; }
.ev-streak i { font-style: normal; font-size: 17px; }
.ev-streak span { display: flex; flex-direction: column; gap: 1px; }
.ev-streak b { font-size: 16px; font-weight: 900; line-height: 1; color: #d94f0a; }
.ev-streak small { font-size: 9px; font-weight: 600; letter-spacing: 0.04em; color: rgba(217, 79, 10, 0.75); }
.ev-week { width: 349px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: #fff; box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1); }
.ev-week > span:first-child { font-size: 12px; font-weight: 500; color: #a07858; }
.ev-dots { display: flex; gap: 5px; }
.ev-dots i { width: 12px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ev-dots b { width: 8px; height: 8px; border-radius: 50%; background: rgba(237, 216, 200, 0.6); }
.ev-dots em { font-style: normal; font-size: 8px; font-weight: 600; color: rgba(160, 120, 88, 0.55); }
.ev-dots i.on b { background: #d94f0a; }
.ev-dots i.on em { color: #e8651f; }
.ev-wk { font-size: 12px; font-weight: 700; color: #d94f0a; }

/* the gauge: one drawing, scaled for every face it lives on (--dk: 1 on dark screens) */
.ev-gauge { width: 300px; height: 250px; --dk: 0; }
.ev-gauge svg, .ev-pg svg { position: absolute; left: 0; top: 0; width: 300px; height: 250px; overflow: visible; }
.ev-gauge path, .ev-pg path { fill: none; stroke-width: 14; stroke-linecap: round; }
.eg-t { stroke: color-mix(in srgb, #2c2926 calc(var(--dk, 0) * 100%), #edd8c8); }
.eg-o { stroke: #e0571a; }
.eg-g { stroke: #d4a84b; }
.eg-l { position: absolute; left: 0; right: 0; top: 100px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; color: color-mix(in srgb, #8a8078 calc(var(--dk, 0) * 100%), #a07858); }
.eg-v { position: absolute; left: 0; right: 0; top: 114px; display: flex; justify-content: center; align-items: baseline; gap: 6px; white-space: nowrap; }
.eg-v b { font-size: 39px; font-weight: 700; letter-spacing: -0.01em; }
.eg-v em { font-style: normal; font-size: 22px; font-weight: 700; color: #d4a84b; }

.ev-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1); }
.ev-chip small { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; opacity: 0.6; }
.ev-chip b { font-size: 18px; font-weight: 800; white-space: nowrap; }
.ev-lock, .ev-recent { overflow: hidden; }
.ev-lh { display: flex; justify-content: space-between; align-items: baseline; height: 26px; }
.ev-lh b { font-size: 15px; font-weight: 700; }
.ev-lh em { font-style: normal; font-size: 12px; font-weight: 600; color: #d94f0a; }
.ev-lc { height: 62px; border-radius: 20px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #fff; box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1); }
.ev-lock .ev-lc { height: 86px; align-items: flex-start; padding-top: 12px; }
.ev-emo, .ev-sic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 18px; background: #fff4ec; color: #d94f0a; flex: none; }
.ev-lc span { flex: 1; display: flex; flex-direction: column; }
.ev-lc b { font-size: 13px; font-weight: 600; }
.ev-lc small { font-size: 11px; color: #a07858; }
.ev-lc em { font-style: normal; font-size: 13px; font-weight: 600; color: #d94f0a; }
.ev-pad { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; color: #d94f0a; background: #fff4ec; }
.ev-etitle { font-size: 28px; font-weight: 900; letter-spacing: -0.8px; white-space: nowrap; }
.ev-meter { padding: 18px 20px; box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1); }
.ev-meter p { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; opacity: 0.85; }
.ev-meter p b { color: #e0571a; }
.ev-meter > i { display: block; position: relative; margin-top: 14px; height: 14px; border-radius: 7px; background: rgba(237, 216, 200, 0.6); overflow: hidden; }
.ev-meter > i i { position: absolute; left: 0; top: 0; bottom: 0; width: 28.6%; border-radius: 7px; background: linear-gradient(90deg, #e8651f, #d94f0a); }
.ev-meter small { display: block; margin-top: 14px; font-size: 12px; opacity: 0.7; }
.ev-ex { width: 345px; height: 108px; display: flex; gap: 10px; }
.ev-ex span { flex: 1; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(217, 79, 10, 0.1); }
.ev-ex span.on { box-shadow: inset 0 0 0 2px #d94f0a; }
.ev-ex i { width: 44px; height: 44px; border-radius: 22px; display: grid; place-items: center; font-size: 22px; color: #a07858; background: #f5efea; }
.ev-ex .on i { color: #d94f0a; background: rgba(217, 79, 10, 0.08); }
.ev-ex b { font-size: 13px; font-weight: 600; color: #a07858; }
.ev-ex .on b { color: #1c1108; font-weight: 700; }
.ev-start { display: grid; place-items: center; font-size: 16px; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(217, 79, 10, 0.5); --fin: 0; }
.ev-start span { grid-area: 1 / 1; white-space: nowrap; font-size: calc(16px + var(--fin) * 10px); }
.ev-s0 { opacity: calc(1 - var(--fin) * 2); }
.ev-s1 { opacity: calc(var(--fin) * 2 - 1); }
.ev-wtime { font-size: 15px; font-weight: 600; color: #fff; }
.ev-wdots { display: flex; flex-direction: column; gap: 4px; }
.ev-wdots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.ev-wdots i.on { background: #fff; }

/* Apple TV: the set, counted on the big screen */
.ev-cam { overflow: hidden; background: linear-gradient(180deg, #3a2f4a, #6a4848 60%, #4a3434); }
.ev-cam .fx, .ev-cam .ec-skel { left: 50%; top: 50%; width: 600px; height: 1353px; transform: translate(-50%, -56%); }
.ev-count { width: 240px; height: 200px; }
.ev-count svg { position: absolute; inset: 0; width: 240px; height: 200px; overflow: visible; }
.ev-count path { fill: none; stroke-width: 12; stroke-linecap: round; }
.ec-c-t { stroke: rgba(237, 216, 200, 0.42); }
.ec-c-m { stroke: #e8651f; stroke-dasharray: 0 2; }
.ev-n { position: absolute; left: 0; right: 0; top: 70px; text-align: center; font-size: 82px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45); font-variant-numeric: tabular-nums; }
.ev-tvinfo { width: 500px; color: #fff; }
.ev-tvinfo small { font-size: 22px; font-weight: 700; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }
.ev-tvn { display: block; margin-top: 10px; font-size: 104px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ev-tvinfo p { margin-top: 18px; font-size: 30px; color: rgba(255, 255, 255, 0.72); }
.ev-tvm { font-style: normal; font-weight: 800; color: #f0c86e; }

/* Mac: the menu bar, its extra, the popover */
.ev-menu, .ev-mbar { display: flex; align-items: center; gap: 18px; padding: 0 16px; font-size: 13px; color: #fff; white-space: nowrap; }
.ev-menu b { font-weight: 700; }
.ev-mbar { justify-content: flex-end; gap: 16px; }
.ev-mbx { display: flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.24); }
.ev-mbx .sy { font-size: 13px; }
.ev-mbar .sy { font-size: 13px; }
.ev-lights { display: flex; gap: 8px; }
.ev-lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.ev-lights i:nth-child(2) { background: #febc2e; }
.ev-lights i:nth-child(3) { background: #28c840; }
.ev-pop { background: rgba(252, 248, 243, 0.97); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(0, 0, 0, 0.2); color: #1c1108; }
.ev-ph { position: absolute; left: 18px; top: 14px; right: 18px; display: flex; justify-content: space-between; align-items: baseline; }
.ev-ph b { font-size: 14px; font-weight: 700; }
.ev-ph small { font-size: 12px; color: #a07858; }
.ev-pg { position: absolute; left: 30px; top: 44px; width: 300px; height: 250px; transform: scale(0.8); transform-origin: 0 0; }
.ev-pb { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 38px; border-radius: 19px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; background: #d94f0a; }

/* the status of each design, under it */
.ev-soon { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; white-space: nowrap; font-family: var(--font); }
.ev-soon i { width: 7px; height: 7px; border-radius: 50%; background: #e8651f; box-shadow: 0 0 0 3px rgba(232, 101, 31, 0.24); }
