/* Widgets, Apple Watch, iPhone Duo and shared section layout.
   Point sizes inside .wdg / .aw-canvas / .duo canvases are SwiftUI points. */

:root {
  --sys: -apple-system, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --w-sec: rgba(235, 235, 245, .6);
  --w-ter: rgba(235, 235, 245, .3);
  --w-green: #30d158;
  --w-orange: #ff9f0a;
  --w-red: #ff453a;
}

.sec-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.sec-head h2 { margin-bottom: 20px; }
.sec-head p { color: #c3cbc8; margin: 0 auto; max-width: 36em; }
.seg-light { margin-bottom: 4px; }

/* ═════════════ Widget gallery ═════════════ */
.widgets { max-width: 1200px; margin: 0 auto; padding: 130px 32px 110px; }
.wg-layout { display: grid; grid-template-columns: auto minmax(0, 430px); gap: 72px; justify-content: center; align-items: start; }
.wg-phone-col { display: flex; justify-content: center; position: sticky; top: 90px; }
.wg-panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 28px; padding: 18px; display: grid; gap: 16px; }
.wg-panel .seg { justify-self: start; }
.wg-list { display: grid; gap: 6px; }
.wg-group { margin: 6px 4px 0; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #6f7a76; }
.wg-item { appearance: none; border: 1px solid transparent; background: rgba(255, 255, 255, .03); color: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 132px 1fr 28px; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 18px; transition: background .25s, border-color .25s, transform .4s var(--spring); }
.wg-item:hover { background: rgba(255, 255, 255, .06); }
.wg-item:active { transform: scale(.98); }
.wg-item.on { border-color: rgba(90, 214, 154, .35); background: rgba(90, 214, 154, .06); }
.wg-item:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.wg-thumb { height: 64px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(120% 120% at 30% 20%, #2f7f9f, #143349); overflow: hidden; position: relative; }
.wg-thumb-in { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-origin: 0 0; pointer-events: none; }
.wg-thumb-s .wg-thumb-in { transform: scale(.32); }
.wg-thumb-m .wg-thumb-in { transform: scale(.32); }
.wg-thumb-l .wg-thumb-in { transform: scale(.155); }
.wg-thumb-c .wg-thumb-in { transform: scale(.72); }
.wg-thumb-r .wg-thumb-in { transform: scale(.62); }
.wg-thumb-in > * { position: absolute; left: 0; top: 0; translate: -50% -50%; }
:where(.wg-thumb-in) span { display: block; }
.wg-meta { display: grid; gap: 1px; min-width: 0; }
.wg-meta b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.wg-meta small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-add { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--sys); background: rgba(255, 255, 255, .08); color: #dfe5e2; transition: background .25s, color .25s; }
.wg-item.on .wg-add { background: var(--mint); color: #03140c; }
.wg-appearance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 4px 2px; border-top: 1px solid var(--line); flex-wrap: wrap; transition: opacity .3s; }
.wg-appearance.off { opacity: .35; pointer-events: none; }
.wg-label { font-size: 14px; font-weight: 600; color: #dfe5e2; }
.wg-appearance .chips button[aria-checked="true"] { background: #fff; color: #000; }

/* home screen canvas */
.wg-canvas { font-family: var(--sys); }
.hs-wall { position: absolute; inset: 0; background:
  radial-gradient(70% 45% at 15% 10%, rgba(160, 230, 200, .75), transparent 70%),
  radial-gradient(60% 50% at 95% 40%, rgba(120, 190, 240, .7), transparent 70%),
  radial-gradient(90% 60% at 40% 110%, #0d2333, transparent 75%),
  linear-gradient(180deg, #3a8aa9 0%, #24607f 45%, #12304a 100%); }
.hs-slot { position: absolute; z-index: 2; transform-origin: 50% 50%; }
.hs-label { display: block; margin-top: 6px; text-align: center; font: 500 12px/14px var(--sys); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.hs-app { position: absolute; z-index: 2; width: 64px; display: grid; justify-items: center; gap: 5px; }
.hs-app small { font: 500 12px/14px var(--sys); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.app-ic { width: 64px; height: 64px; border-radius: 15px; display: grid; place-items: center; overflow: hidden; position: relative; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.app-ic img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.ic-cal { background: #fff; color: #000; align-content: center; gap: 0; }
.ic-cal small { order: -1; font: 600 9px/1 var(--sys); color: #ff3b30; letter-spacing: .02em; }
.ic-cal b { font: 300 34px/1 var(--sys); }
.ic-clock { background: #000; }
.ic-clock i { width: 52px; height: 52px; border-radius: 50%; background: #fff; position: relative; }
.ic-clock i::before, .ic-clock i::after { content: ""; position: absolute; left: 50%; bottom: 50%; width: 2.5px; background: #000; transform-origin: 50% 100%; border-radius: 2px; }
.ic-clock i::before { height: 16px; transform: translateX(-50%) rotate(300deg); }
.ic-clock i::after { height: 22px; transform: translateX(-50%) rotate(65deg); background: #ff9500; width: 1.5px; }
.ic-wallet { background: #000; align-content: center; gap: 2px; padding: 12px 10px; }
.ic-wallet i { width: 44px; height: 9px; border-radius: 3px; }
.ic-wallet i:nth-child(1) { background: #1fa5f2; } .ic-wallet i:nth-child(2) { background: #ffc531; } .ic-wallet i:nth-child(3) { background: #ff5b4f; }
.hs-search { position: absolute; z-index: 2; left: 50%; top: 812px; translate: -50% 0; display: flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 999px; font: 600 13px/1 var(--sys); color: #fff; background: rgba(255, 255, 255, .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hs-search svg { width: 13px; height: 13px; }
.hs-dock { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; height: 94px; border-radius: 40px; display: flex; justify-content: space-around; align-items: center; padding: 0 14px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.ic-phone { background: linear-gradient(#5bf675, #0cbd2a); } .ic-msg { background: linear-gradient(#5bf675, #0cbd2a); } .ic-safari { background: linear-gradient(#fff, #e9eef4); } .ic-music { background: linear-gradient(#fb5c74, #fa233b); }
.ic-phone i { width: 28px; height: 28px; background: #fff; clip-path: path("M8 2c1 0 2 2.5 2.6 4 .5 1.4-1.4 2.3-1.4 3 0 1.3 4 5.6 5.4 5.6.8 0 1.6-1.9 3-1.4 1.6.6 4 1.6 4 2.6 0 1.6-1.8 4.4-4.6 4.4C10 20.2 3 13 3 6.6 3 3.9 6.5 2 8 2Z"); }
.ic-msg i { width: 34px; height: 28px; background: #fff; border-radius: 50%; position: relative; }
.ic-msg i::after { content: ""; position: absolute; left: 3px; bottom: -3px; width: 8px; height: 8px; background: #fff; clip-path: polygon(0 100%, 30% 0, 100% 30%); }
.ic-safari i { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(#24b7f5, #1a6fe0); position: relative; }
.ic-safari i::after { content: ""; position: absolute; inset: 9px 20px; background: linear-gradient(#ff3b30 50%, #fff 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transform: rotate(45deg); }
.ic-music i { width: 22px; height: 28px; background: #fff; clip-path: polygon(30% 0, 100% 0, 100% 72%, 86% 86%, 70% 90%, 58% 82%, 60% 70%, 76% 62%, 88% 64%, 88% 22%, 42% 32%, 42% 84%, 30% 98%, 12% 100%, 0 90%, 4% 76%, 20% 70%, 30% 72%); }

.editing .hs-slot, .editing .hs-app { animation: jiggle .26s ease-in-out infinite alternate; }
.editing .hs-slot:nth-child(odd), .editing .hs-app:nth-child(odd) { animation-delay: -.13s; }
@keyframes jiggle { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }
.hs-slot.pop, .wl-slot.pop { animation: popIn .7s var(--spring) both !important; }
@keyframes popIn { from { opacity: 0; transform: scale(.55); } }

/* ───────── Widget surfaces ───────── */
.wdg {
  --w-bgc: #1c1c1e; --w-fg: #fff;
  position: relative; overflow: hidden; border-radius: 23px;
  background: var(--w-bgc); color: var(--w-fg);
  font-family: var(--sys); line-height: 1.15;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.wdg-s { width: 170px; height: 170px; }
.wdg-m { width: 364px; height: 170px; }
.wdg-l { width: 364px; height: 382px; }
.wdg button { appearance: none; border: 0; background: none; color: inherit; font: inherit; padding: 0; cursor: pointer; }
.w-pad { position: absolute; inset: 0; padding: 14px; }
.w-col { display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; }
.w-hdr { display: flex; align-items: center; gap: 4px; height: 12px; }
.w-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--w-green); }
.w-tag { font-size: 9px; font-weight: 700; letter-spacing: .5px; color: var(--w-sec); }
.w-tag.g, .g { color: var(--w-green); }
.o { color: var(--w-orange); }
.w-emoji { font-size: 12px; line-height: 1; }
.w-ico { width: 12px; height: 12px; display: inline-grid; }
.w-ico svg, .wt-foot svg, .wh-foot svg { width: 100%; height: 100%; }
.w-ring { position: relative; width: 80px; height: 80px; margin: 0 auto; }
.w-ring svg { width: 80px; height: 80px; transform: rotate(-90deg); }
.w-ring-bg { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 10; }
.w-ring-fg { fill: none; stroke: var(--w-green); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.w-ring-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 1px; }
.w-ring-c b { font: 700 30px/1 var(--rounded); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-ring-c small { font-size: 8px; font-weight: 600; letter-spacing: 1.2px; color: var(--w-sec); }
.w-foot { display: grid; justify-items: center; gap: 2px; text-align: center; }
.w-foot b { font-size: 12px; font-weight: 600; }
.w-foot span { font-size: 9px; font-weight: 500; color: var(--w-sec); }
.w-foot em { font: 700 13px/1.1 var(--rounded); font-style: normal; color: var(--w-green); font-variant-numeric: tabular-nums; }
.w-mid { display: grid; justify-items: center; gap: 2px; }
.w-mid small { font-size: 10px; font-weight: 500; color: var(--w-sec); }
.w-big { font: 700 36px/1 var(--rounded); letter-spacing: -.02em; }
.w-huge { font: 700 48px/1 var(--rounded); letter-spacing: -.02em; }
.w-cap { font-size: 10px !important; font-weight: 600 !important; letter-spacing: .8px; margin-top: 2px; }
.w-col > span:empty { height: 12px; }

/* medium: Today (MediumWidgetView) */
.w-today { position: absolute; inset: 0; padding: 14px 0 12px; display: flex; flex-direction: column; }
.wt-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 2px 20px 9px; }
.wt-date { width: 50px; display: grid; gap: 1px; }
.wt-date small { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--w-red); }
.wt-date b { font: 700 32px/1 var(--rounded); }
.wt-sum { display: grid; justify-items: end; gap: 3px; padding-top: 8px; }
.wt-sum b { font-size: 13px; font-weight: 600; }
.wt-sum span { font-size: 11px; font-weight: 500; color: var(--w-sec); }
.wt-div { display: block; height: .5px; margin: 0 20px; background: rgba(255, 255, 255, .16); }
.wt-row { display: flex; align-items: stretch; gap: 12px; padding: 10px 20px 0; }
.wt-bar { width: 4px; border-radius: 2px; background: var(--w-green); }
.wt-main { flex: 1; display: grid; gap: 2px; min-width: 0; }
.wt-main > div { display: flex; align-items: center; gap: 6px; }
.wt-main b { font-size: 13px; font-weight: 600; }
.wt-live { font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--w-green); color: #fff; }
.wt-main small { font-size: 10px; font-weight: 500; color: var(--w-sec); white-space: nowrap; }
.wt-main small i { font-style: normal; font-size: 8px; color: var(--w-ter); padding: 0 2px; }
.wt-amt { display: grid; justify-items: end; gap: 1px; }
.wt-amt b { font: 600 12px/1.2 var(--rounded); }
.wt-amt small { font-size: 9px; font-weight: 500; color: var(--w-sec); }
.wt-foot { margin-top: auto; display: flex; justify-content: space-between; padding: 0 16px; font-size: 10px; font-weight: 500; color: var(--w-sec); }
.wt-foot span { display: flex; align-items: center; gap: 4px; }
.wt-foot svg { width: 11px; height: 11px; }
.wt-foot .g { color: var(--w-green); font-weight: 600; }

/* medium + large: Month Calendar */
.w-month2, .w-month { position: absolute; inset: 0; padding: 8px 10px 10px; display: flex; flex-direction: column; }
.wm-wd { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; font-weight: 600; color: var(--w-sec); padding: 0 2px 4px; }
.wm-grid { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 3px; }
.wm-cell { position: relative; border-radius: 7px !important; background: rgba(255, 255, 255, .05) !important; display: flex !important; flex-direction: column; align-items: stretch; padding: 3px 2px 2px !important; min-width: 0; transition: background .2s, transform .35s var(--spring); }
.wm-cell:hover { background: rgba(255, 255, 255, .1) !important; }
.wm-cell.pick { background: rgba(10, 132, 255, .28) !important; transform: scale(1.04); }
.wm-cell.out { opacity: .38; }
.wm-num { align-self: flex-start; font: 600 11px/16px var(--sys); min-width: 16px; height: 16px; text-align: center; border-radius: 8px; margin-left: 1px; }
.wm-cell.today .wm-num { background: var(--w-red); color: #fff; padding: 0 3px; }
.wm-card { margin-top: auto; border-radius: 4px; overflow: hidden; text-align: center; }
.wm-card b { display: block; font: 700 9.5px/13px var(--rounded); color: rgba(0, 0, 0, .78); background: var(--c1); }
.wm-card i { display: block; font: 700 8px/11px var(--rounded); font-style: normal; color: #fff; background: var(--c2); white-space: nowrap; overflow: hidden; }
.w-month { padding: 12px 12px 12px; }
.wl-head { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px 8px; }
.wl-head b { font: 700 17px/1 var(--sys); color: var(--w-red); }
.wl-head span { font: 600 17px/1 var(--sys); color: var(--w-sec); }
.wm-grid-l { gap: 3px; }
.wm-grid-l .wm-card b { font-size: 10px; line-height: 14px; }
.wm-grid-l .wm-card i { font-size: 8.5px; line-height: 12px; }

/* medium: Weekly Hours / Weekly Earnings */
.w-hours, .w-earn { position: absolute; inset: 0; padding: 13px 16px 11px; display: flex; flex-direction: column; }
.wh-head { display: flex; align-items: center; gap: 5px; }
.wh-head > b { font-size: 13px; font-weight: 700; }
.wh-head .w-ico { width: 14px; height: 14px; }
.wh-hero { margin-left: auto; display: flex; align-items: baseline; gap: 5px; }
.wh-hero b { font: 700 22px/1 var(--rounded); font-variant-numeric: tabular-nums; transition: color .2s; }
.wh-hero small { font-size: 10px; font-weight: 500; color: var(--w-sec); }
.wh-bars { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; padding: 8px 0 4px; }
.wh-col { height: 100%; display: flex !important; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; }
.wh-col small { font: 700 9px/1 var(--rounded); color: var(--w-sec); }
.wh-col i { width: 62%; height: calc(var(--h) * 62px); border-radius: 3px; background: linear-gradient(180deg, #ffb340, #ff8a00); transition: transform .4s var(--spring), box-shadow .2s; transform-origin: bottom; }
.wh-col span { font-size: 10px; font-weight: 500; color: var(--w-sec); }
.wh-col:hover i { transform: scaleY(1.04); }
.wh-col.sel i { box-shadow: 0 0 0 1.5px var(--w-bgc), 0 0 0 3px var(--w-orange); }
.wh-col.sel small, .wh-col.sel span { color: var(--w-orange); font-weight: 700; }
.wh-foot { display: flex; justify-content: space-between; font-size: 10px; font-weight: 500; color: var(--w-sec); }
.wh-foot span { display: flex; align-items: center; gap: 4px; }
.wh-foot svg { width: 11px; height: 11px; }
.we-chart { flex: 1; width: 100%; margin-top: 6px; color: var(--w-green); overflow: visible; }
.we-line { fill: none; stroke: var(--w-green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.we-chart circle { fill: var(--w-green); stroke: var(--w-bgc); stroke-width: 2; cursor: pointer; transition: r .3s var(--spring); vector-effect: non-scaling-stroke; }
.we-chart circle.sel { r: 6; }
.we-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; color: var(--w-sec); padding: 3px 0 0; }

/* rendering modes */
.rm-light .wdg { --w-bgc: #fff; --w-fg: #000; --w-sec: rgba(60, 60, 67, .6); --w-ter: rgba(60, 60, 67, .3); --w-red: #ff3b30; --w-green: #28b44b; }
.rm-light .w-ring-bg { stroke: rgba(0, 0, 0, .08); }
.rm-light .wt-div { background: rgba(0, 0, 0, .12); }
.rm-light .wm-cell { background: rgba(0, 0, 0, .04) !important; }
.rm-tinted .wdg, .rm-clear .wdg { --w-bgc: transparent; backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }
.rm-tinted .wdg { background: rgba(14, 42, 66, .42); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .18); }
.rm-tinted .wdg > * { filter: grayscale(1) brightness(1.25) sepia(1) hue-rotate(160deg) saturate(2.2); }
.rm-clear .wdg { background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 .5px rgba(255, 255, 255, .2); }
.rm-clear .wdg > * { filter: grayscale(1) brightness(1.9) contrast(.9); }

/* Lock Screen accessories */
.wl-inline { display: flex; justify-content: center; gap: 6px; }
.wl-sep { opacity: .6; }
.wl-row { position: absolute; left: 0; right: 0; top: 246px; display: flex; justify-content: center; gap: 12px; z-index: 3; }
.wl-slot { width: 72px; height: 72px; display: grid; place-items: center; }
.wl-slot.wl-rect { width: 168px; }
.acc { color: rgba(255, 255, 255, .92); font-family: var(--sys); position: relative; }
.acc-c { width: 72px; height: 72px; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; }
.acc-c svg { position: absolute; inset: 8px; width: 56px; height: 56px; transform: rotate(-90deg); }
.ac-halo { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 7; }
.ac-bg { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 6; }
.ac-fg { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset .3s linear; }
.ac-c { position: relative; display: grid; justify-items: center; gap: 0; }
.ac-c b { font: 800 16px/1 var(--rounded); font-variant-numeric: tabular-nums; }
.ac-c small { font-size: 7px; font-weight: 700; letter-spacing: .4px; opacity: .85; }
.acc-plate { background: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); gap: 1px; }
.acc-plate .ac-ico { width: 18px; height: 18px; margin-bottom: 1px; }
.acc-plate .ac-ico svg { width: 18px; height: 18px; }
.acc-plate b { font: 700 14px/1 var(--rounded); }
.acc-plate small { font-size: 8px; font-weight: 500; opacity: .85; }
.acc-r { width: 168px; height: 72px; padding: 9px 2px; display: grid; align-content: center; gap: 4px; }
.ar-1 { display: flex; justify-content: space-between; align-items: center; }
.ar-1 span { display: flex; align-items: center; gap: 5px; }
.ar-1 b { font-size: 13px; font-weight: 700; }
.ar-1 > b { font: 800 13px/1 var(--rounded); font-variant-numeric: tabular-nums; }
.ar-dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; }
.ar-2 { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ar-2 svg { width: 10px; height: 10px; flex: none; }
.ar-2 i { font-style: normal; font-size: 10px; opacity: .7; }
.ar-2 span:last-child { font-weight: 400; }
.wg-canvas[data-mode="lock"] .ls-clock { top: 118px; }
.wg-thumb-c, .wg-thumb-r { background: radial-gradient(120% 120% at 30% 20%, #3d8fae, #143349); }

/* ═════════════ Apple Watch ═════════════ */
.watch-sec { max-width: 1180px; margin: 0 auto; padding: 120px 32px; }
.watch-grid { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.watch-copy h2 { margin-bottom: 22px; }
.watch-copy p { color: #c3cbc8; max-width: 30em; }
.watch-copy .seg { margin-top: 10px; }
.hint { font: 500 12px var(--mono); color: #6f7a76; letter-spacing: .04em; margin-top: 16px; }
.watch-stage { display: flex; flex-direction: column; align-items: center; }

.aw { --k: 1.24; --bz: calc(14px * var(--k)); position: relative; display: flex; flex-direction: column; align-items: center; }
.aw-case {
  position: relative; z-index: 2;
  width: calc(208px * var(--k) + 2 * var(--bz)); height: calc(248px * var(--k) + 2 * var(--bz));
  border-radius: calc(70px * var(--k));
  background: linear-gradient(155deg, #6d727a 0%, #2a2c30 26%, #44484e 52%, #17181a 78%, #4c5056 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35), inset 0 -2px 3px rgba(0, 0, 0, .6), 0 40px 70px -20px rgba(0, 0, 0, .75), 0 20px 50px -25px rgba(68, 184, 194, .35);
}
.aw-bezel { position: absolute; inset: calc(4px * var(--k)); border-radius: calc(66px * var(--k)); background: #000; padding: calc(var(--bz) - 4px * var(--k)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.aw-screen { position: relative; width: calc(208px * var(--k)); height: calc(248px * var(--k)); border-radius: calc(54px * var(--k)); overflow: hidden; background: #000; cursor: ns-resize; mask-image: linear-gradient(#000 86%, rgba(0,0,0,.25)); -webkit-mask-image: linear-gradient(#000 86%, rgba(0,0,0,.25)); touch-action: pan-x; }
.aw-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255, 255, 255, .08), transparent 35%); }
.aw-canvas { position: absolute; left: 0; top: 0; width: 208px; height: 248px; transform: scale(var(--k)); transform-origin: 0 0; font-family: var(--sys); color: #fff; overflow: hidden; }
.aw-crown {
  --rot: 0px; position: absolute; z-index: 3; right: calc(-12px * var(--k)); top: calc(30% - 22px * var(--k));
  width: calc(15px * var(--k)); height: calc(46px * var(--k)); border: 0; padding: 0; cursor: grab; border-radius: 5px 7px 7px 5px;
  background: repeating-linear-gradient(0deg, #8a9098 0 1.4px, #3c3f44 1.4px 3px);
  background-position-y: var(--rot);
  box-shadow: inset -3px 0 4px rgba(0, 0, 0, .5), inset 2px 0 2px rgba(255, 255, 255, .25), 2px 2px 6px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.aw-crown i { position: absolute; left: -4px; top: 18%; bottom: 18%; width: 5px; background: #2a2c30; border-radius: 2px 0 0 2px; }
.aw-crown:active { cursor: grabbing; }
.aw-crown.press { animation: crownPress .28s ease; }
@keyframes crownPress { 40% { transform: translateX(-3px); } }
.aw-crown:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.aw-side { position: absolute; right: calc(-5px * var(--k)); top: 56%; width: calc(6px * var(--k)); height: calc(58px * var(--k)); border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #2a2c30, #5d6168); }
.aw-band { position: relative; z-index: 1; width: calc(208px * var(--k) * .78); height: calc(86px * var(--k)); background: linear-gradient(90deg, #12161f, #222a38 20%, #283142 50%, #222a38 80%, #12161f); }
.aw-band-top { border-radius: 10px 10px 0 0; margin-bottom: calc(-26px * var(--k)); mask-image: linear-gradient(to top, #000 55%, transparent); -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); }
.aw-band-bottom { border-radius: 0 0 10px 10px; margin-top: calc(-26px * var(--k)); mask-image: linear-gradient(to bottom, #000 55%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.aw-band-bottom::before { content: ""; position: absolute; left: 50%; top: calc(42px * var(--k)); width: 6px; height: calc(40px * var(--k)); translate: -50% 0; background: radial-gradient(circle, #0b0d12 2px, transparent 2.5px) 0 0 / 6px 13px repeat-y; }

/* watch screens */
.aw-page { position: absolute; inset: 0; transition: transform .45s var(--spring), opacity .3s, filter .3s; }
.aw-page.in-up { transform: translateY(46px) scale(.9); opacity: 0; }
.aw-page.in-down { transform: translateY(-46px) scale(.9); opacity: 0; }
.aw-page.out-up { transform: translateY(-46px) scale(.9); opacity: 0; filter: blur(4px); }
.aw-page.out-down { transform: translateY(46px) scale(.9); opacity: 0; filter: blur(4px); }
.aw-time-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 30px; padding: 9px 22px 0; display: flex; justify-content: flex-end; font: 600 15px/1 var(--rounded); font-variant-numeric: tabular-nums; background: linear-gradient(#000 60%, transparent); }
.aw-time-top[hidden] { display: none; }
.aw-scroll { padding: 30px 10px 26px; transition: transform .38s var(--spring); }
.awt-head { display: grid; padding: 0 4px; }
.awt-wd { font: 600 15px/1.1 var(--rounded); color: #ff453a; }
.awt-day { font: 700 34px/1 var(--rounded); margin-top: -1px; }
.awt-card { position: relative; margin-top: 7px; display: flex; gap: 7px; padding: 7px 9px 8px 8px; border-radius: 10px; background: rgba(90, 200, 250, .22); }
.awt-bar { width: 3px; border-radius: 2px; background: #5ac8fa; flex: none; }
.awt-card div { display: grid; gap: 1px; }
.awt-card b { font: 600 15px/1.15 var(--sys); }
.awt-card span { font-size: 13px; color: rgba(255, 255, 255, .78); }
.awt-card small { font-size: 12px; color: rgba(255, 255, 255, .6); }
.awt-map { position: relative; margin-top: 7px; height: 50px; border-radius: 6px; overflow: hidden; }
.awt-map svg { width: 100%; height: 100%; display: block; }
.awt-pin { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; translate: -50% -50%; border-radius: 50%; background: #5ac8fa; border: 2.5px solid #fff; box-shadow: 0 0 0 6px rgba(90, 200, 250, .25); }
.awt-prog { margin-top: 8px; padding: 0 2px; display: grid; gap: 4px; }
.awt-prog > span { display: flex; align-items: center; gap: 4px; font: 600 10px/1 var(--rounded); color: #30d158; white-space: nowrap; }
.awt-prog > span i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.awt-prog em { font-style: normal; }
.awt-prog b { font-variant-numeric: tabular-nums; }
.awt-track { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.awt-track i { display: block; height: 100%; background: #30d158; transform-origin: left; transform: scaleX(0); transition: transform .3s linear; }
.awt-sec { margin: 12px 0 4px 4px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.awt-ev { display: flex; gap: 7px; padding: 6px 8px; border-radius: 9px; background: rgba(255, 255, 255, .1); margin-bottom: 4px; }
.awt-ev > i { width: 3px; border-radius: 2px; background: var(--c); flex: none; }
.awt-ev div { display: grid; }
.awt-ev b { font: 600 14px/1.2 var(--sys); }
.awt-ev span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.awt-sync { display: flex; align-items: center; gap: 4px; padding: 6px 4px 0; font-size: 9px; color: rgba(255, 255, 255, .5); }
.awt-sync i { width: 5px; height: 5px; border-radius: 50%; background: #30d158; }
.awm-title { padding: 0 4px 6px; font: 700 17px/1 var(--rounded); color: #ff453a; }
.awm-wd { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .55); padding-bottom: 3px; }
.awm-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 2px; }
.awm-d { appearance: none; border: 0; background: none; color: #fff; padding: 0; height: 26px; display: grid; justify-items: center; align-content: start; gap: 1px; cursor: pointer; }
.awm-d b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 500 12px/1 var(--rounded); transition: background .2s, transform .3s var(--spring); }
.awm-d i { width: 3.5px; height: 3.5px; border-radius: 50%; }
.awm-d.today b { box-shadow: inset 0 0 0 2px #ff453a; font-weight: 700; }
.awm-d.sel b { background: rgba(255, 255, 255, .24); font-weight: 700; transform: scale(1.08); }
.awm-detail { margin-top: 8px; }
.awm-detail p { margin: 0 0 4px 4px; font: 600 13px/1.2 var(--sys); }
.awm-detail.in { animation: fadeUp .4s var(--spring); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } }
.awf { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 0%, #0d2230, #000 70%); }
.awf-inline { position: absolute; top: 12px; left: 44px; right: 14px; text-align: right; font: 600 11px/1 var(--rounded); color: #64d2ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.awf-time { position: absolute; top: 30px; left: 0; right: 0; text-align: center; font: 600 60px/1 var(--rounded); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.awf-date { position: absolute; top: 96px; left: 0; right: 0; text-align: center; font: 700 12px/1 var(--rounded); color: #ff453a; letter-spacing: .06em; }
.awf-corner { position: absolute; top: 4px; left: 4px; width: 44px; height: 44px; }
.awf-corner svg { width: 44px; height: 44px; }
.awf-gbg { fill: none; stroke: rgba(255, 159, 10, .25); stroke-width: 4; stroke-linecap: round; }
.awf-gfg { fill: none; stroke: #ff9f0a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 51; stroke-dashoffset: 51; transition: stroke-dashoffset .3s linear; }
.awf-corner b { position: absolute; left: 14px; top: 16px; font: 700 10px/1 var(--rounded); color: #ff9f0a; }
.awf-circ { position: absolute; top: 118px; left: 26px; width: 44px; height: 44px; display: grid; place-items: center; }
.awf-circ.r { left: auto; right: 26px; }
.awf-circ svg { position: absolute; inset: 0; width: 44px; height: 44px; transform: rotate(-90deg); }
.awf-cbg { fill: none; stroke: rgba(48, 209, 88, .25); stroke-width: 4; }
.awf-cfg { fill: none; stroke: #30d158; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; transition: stroke-dashoffset .3s linear; }
.awf-cbg.e { stroke: rgba(100, 210, 255, .25); } .awf-cfg.e { stroke: #64d2ff; }
.awf-circ b { position: relative; font: 700 11px/1 var(--rounded); font-variant-numeric: tabular-nums; }
.awf-rect { position: absolute; left: 14px; right: 14px; bottom: 16px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; gap: 3px; }
.awf-rect div { display: flex; align-items: center; gap: 5px; }
.awf-rect div i { width: 5px; height: 5px; border-radius: 50%; background: #30d158; }
.awf-rect div b { font: 700 13px/1 var(--sys); }
.awf-rect em { margin-left: auto; font: 800 12px/1 var(--rounded); font-style: normal; color: #30d158; }
.awf-rect span { font-size: 11px; color: rgba(255, 255, 255, .65); }
.awf-rect span b { color: #fff; font-weight: 600; }

/* ═════════════ More ═════════════ */
.more { max-width: 1100px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.more-card { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center; padding: 26px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--line); }
.more-card h3 { margin-bottom: 8px; }
.more-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.more-card .print { width: 120px; height: 150px; margin: 0 auto; }
.cal-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal-badges span { display: grid; place-items: center; height: 56px; border-radius: 14px; font: 600 13px var(--sys); background: rgba(255, 255, 255, .06); color: #dfe5e2; border: 1px solid var(--line); }
.cal-badges span:nth-child(1) { color: #ff6b6b; } .cal-badges span:nth-child(2) { color: #7cb1ff; } .cal-badges span:nth-child(3) { color: #4fc3f7; } .cal-badges span:nth-child(4) { color: #b9e59c; }

/* ═════════════ Responsive ═════════════ */
@media (max-width: 1080px) {
  .wg-layout { grid-template-columns: 1fr; gap: 36px; }
  .wg-phone-col { position: static; }
  .wg-panel { max-width: 520px; width: 100%; justify-self: center; }
  .watch-grid { grid-template-columns: 1fr; gap: 50px; justify-items: center; text-align: left; }
  .more { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .widgets, .watch-sec, .more { padding-left: 16px; padding-right: 16px; }
  .widgets { padding-top: 90px; }
  .wg-phone { --s: .6 !important; }
  .wg-item { grid-template-columns: 104px 1fr 26px; gap: 10px; }
  .wg-thumb-s .wg-thumb-in, .wg-thumb-m .wg-thumb-in { transform: scale(.26); }
  .wg-thumb-l .wg-thumb-in { transform: scale(.14); }
  .aw { --k: 1.02; }
  .more-card { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 400px) {
  .wg-phone { --s: .54 !important; }
  .aw { --k: .92; }
}

/* ═════════════ iPhone Duo (inner 951 × 669, outer 466 × 678) ═════════════ */
.duo { max-width: 1280px; margin: 0 auto; padding: 120px 32px; background: radial-gradient(60% 50% at 70% 50%, rgba(47, 151, 224, .1), transparent 70%); }
.duo-wrap { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 56px; align-items: center; }
.duo-copy h2 { margin-bottom: 20px; transition: opacity .25s; }
.duo-copy > p { color: #c3cbc8; max-width: 27em; min-height: 4.8em; transition: opacity .25s; }
.duo-hinge { display: flex; align-items: center; gap: 14px; margin-top: 18px; max-width: 360px; font: 500 13px var(--mono); color: #aab3af; letter-spacing: .04em; }
.duo-hinge input { flex: 1; accent-color: var(--mint); height: 4px; cursor: pointer; }
.duo-hinge b { width: 42px; text-align: right; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.duo-stage { perspective: 2600px; display: flex; flex-direction: column; align-items: center; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; padding: 20px 0; }
.duo-stage.dragging { cursor: grabbing; }
/* Device model taken from the iPhone Duo simulator (DeviceKit chrome phone15 +
   the two framebuffer masks): outer 466 × 678 pt with square corners on the
   hinge side and ~60 pt corners on the free side, spine on the left when
   closed; inner 951 × 669 pt, one continuous panel with ~57 pt corners. */
.duo-device {
  --s: .58; --open: 0;
  --hw: calc(489.5px * var(--s)); --hh: calc(697px * var(--s));
  --rim: calc(2.5px * var(--s)); --R: calc(62px * var(--s));
  --body: linear-gradient(#000, #000) padding-box, linear-gradient(160deg, #56565a, #2c2c2e 30%, #3c3c3f 55%, #1f1f21 80%, #4a4a4d) border-box;
  position: relative; width: calc(var(--hw) * 2); height: var(--hh);
  transform-style: preserve-3d;
  transform: translateX(calc(var(--hw) * -.5 * (1 - var(--open)))) rotateX(calc(6deg * (1 - var(--open)))) rotateY(calc(12deg * (1 - var(--open))));
}
.duo-half, .duo-face, .duo-flat {
  position: absolute; top: 0; width: var(--hw); height: var(--hh);
  border: var(--rim) solid transparent; background: var(--body);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75);
}
.duo-right { left: var(--hw); border-radius: 2px var(--R) var(--R) 2px; border-left-width: 0; padding: calc(11.5px * var(--s)) calc(11.5px * var(--s)) calc(11.5px * var(--s)) 0; }
.duo-flap { position: absolute; top: 0; left: 0; width: var(--hw); height: var(--hh); transform-origin: 100% 50%; transform-style: preserve-3d; transform: rotateY(calc(180deg * (1 - var(--open)))); }
.duo-face { left: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.duo-front { border-radius: var(--R) 2px 2px var(--R); border-right-width: 0; padding: calc(11.5px * var(--s)) 0 calc(11.5px * var(--s)) calc(11.5px * var(--s)); }
.duo-back { transform: rotateY(180deg); border-radius: calc(7px * var(--s)) var(--R) var(--R) calc(7px * var(--s)); padding: calc(9.5px * var(--s)) calc(11.5px * var(--s)) calc(9.5px * var(--s)) calc(12px * var(--s)); }
.duo-spine { position: absolute; top: 0; bottom: 0; left: 0; width: calc(7px * var(--s)); border-radius: calc(5px * var(--s)) 0 0 calc(5px * var(--s)); background: linear-gradient(90deg, #4c4c4f, #2a2a2c 60%, #111); }
.duo-flat { left: 0; width: calc(var(--hw) * 2); border-radius: var(--R); padding: calc(11.5px * var(--s)); opacity: 0; pointer-events: none; }
.duo-device.flat .duo-flat { opacity: 1; pointer-events: auto; }
.duo-device.flat .duo-right, .duo-device.flat .duo-flap { visibility: hidden; }
.duo-device.closed .duo-right { visibility: hidden; }
.duo-screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; }
.duo-front .duo-screen { border-radius: calc(44px * var(--s)) 0 0 calc(44px * var(--s)); }
.duo-right .duo-screen { border-radius: 0 calc(44px * var(--s)) calc(44px * var(--s)) 0; }
.duo-flat .duo-screen { border-radius: calc(44px * var(--s)); }
.duo-outer-screen { border-radius: calc(4px * var(--s)) calc(46px * var(--s)) calc(46px * var(--s)) calc(4px * var(--s)); }
.duo-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .05), transparent 30%); }
.canvas-duo-inner { width: 951px; height: 669px; }
.canvas-duo-inner[data-half="right"] { transform: scale(var(--s)) translateX(-475.5px); }
.canvas-duo-outer { width: 466px; height: 678px; }

/* Shifts on the Duo — every value in pt, measured from simulator captures */
.dg { position: absolute; inset: 0; background: #000; color: #fff; font-family: var(--rounded); overflow: hidden; }
.dg-title { position: absolute; left: 17px; top: 11px; font: 700 34px/41px var(--rounded); letter-spacing: .01em; white-space: nowrap; }
.dg-btns { position: absolute; display: flex; gap: 13px; }
.dg-out .dg-btns { top: 10.5px; right: 100.5px; }
.dg-in .dg-btns { top: 18.5px; right: 104.5px; }
.db-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.dg-btns .db-circle { width: 43px; height: 43px; }
.db-circle svg { width: 24px; height: 24px; }
.dg-btns .db-circle svg { width: 22px; height: 22px; }
.glass-d { background: radial-gradient(120% 120% at 30% 20%, #3a3a3c, #232325 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .5); }
.db-circle.orange { background: #ff9a2f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.db-circle.green { background: #30d158; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.dg-wd { position: absolute; top: 69px; left: 0; display: grid; grid-template-columns: repeat(7, 1fr); font: 600 15px/18px var(--rounded); color: #98989d; text-align: center; }
.dg-out .dg-wd, .dg-out .dg-grid { width: 382px; }
.dg-in .dg-wd, .dg-in .dg-grid { width: 866px; }
.dg-grid { position: absolute; left: 0; display: grid; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(6, 1fr); }
.dg-out .dg-grid { top: 102px; height: 567px; }
.dg-in .dg-grid { top: 101px; height: 488px; }
.dg-cell { position: relative; min-width: 0; overflow: hidden; padding: 5px 3px 0; border-top: 1px solid #161616; border-left: 1px solid #111; cursor: pointer; }
.dg-cell.c0 { border-left: 0; }
.dg-cell.today { background: #0f0f0f; }
.dg-num { display: flex; height: 21px; align-items: center; }
.dg-num b { font: 500 17.5px/21px var(--rounded); padding: 0 1px; }
.dg-cell.dim .dg-num b { color: #5f5f63; }
.dg-cell.today .dg-num b, .dg-cell.sel .dg-num b { font-weight: 700; font-size: 16px; line-height: 16px; height: 16px; padding: 0 3px; border-radius: 4px; background: #fff; color: #000; }
.dg-out .dg-cell.today .dg-num b, .dg-out .dg-cell.sel .dg-num b { flex: 1; }
.dg-cell.sel .dg-num b { background: #0a84ff; color: #fff; box-shadow: 0 .5px 1px rgba(10, 132, 255, .3); }
.dg .chip { margin: 3px 0 0; border-radius: 5px; }
.dg-out .chip b { font-size: 11.5px; line-height: 15px; }
.dg-out .chip i { font-size: 9.5px; line-height: 13px; }
.dg-in .chip b { font-size: 13.5px; line-height: 17px; }
.dg-in .chip i { font-size: 12.5px; line-height: 16px; }
.dg-evt { display: flex; align-items: center; gap: 4px; margin-top: 3px; font: 600 12px/16px var(--rounded); white-space: nowrap; overflow: hidden; }
.dg-evt i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dg-out .dg-evt { font-size: 11px; gap: 3px; }
.dg-out .dg-evt i { width: 6px; height: 6px; }

/* the system vertical bar (centre line 48 pt from the trailing edge) */
.db { position: absolute; top: 0; right: 0; bottom: 0; width: 96px; }
.db > * { position: absolute; left: 50%; transform: translateX(-50%); }
.db-cam { top: 25px; width: 17px; height: 17px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #1d2a3a 0 22%, #07080a 46%, #000 70%); box-shadow: 0 0 0 1.5px #0b0b0c; }
.db-time { font: 700 17px/18px var(--rounded); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.db-wifi { width: 44px; height: 44px; }
.db-wifi svg { width: 44px; height: 44px; display: block; }
.dg-out .db-time { top: 83px; } .dg-out .db-wifi { top: 108px; }
.dg-out .db-a0 { top: 174px; } .dg-out .db-a1 { top: 234px; } .dg-out .db-a2 { top: 294px; }
.dg-in .db-time { top: 31px; } .dg-in .db-wifi { top: 55px; }
.dg-in .db-a1 { top: 124px; } .dg-in .db-a2 { top: 184px; }
.db-tabs { width: 47px; height: 261px; border-radius: 24px; background: #232325; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1px 0 rgba(255, 255, 255, .1); }
.dg-out .db-tabs { top: 393px; }
.dg-in .db-tabs { top: 384px; }
.db-tab { position: absolute; left: 50%; top: var(--y); width: 28px; height: 28px; transform: translate(-50%, -50%); display: grid; place-items: center; }
.db-tab svg { width: 28px; height: 28px; }
.db-tab.on::before { content: ""; position: absolute; left: 50%; top: 50%; width: 43px; height: 57px; transform: translate(-50%, -50%); border-radius: 22px; background: #0c0c0d; z-index: -1; }
.db-tab.on { z-index: 0; }
.dg-home { position: absolute; left: 353px; top: 657px; width: 245px; height: 5px; border-radius: 3px; background: #5a5a5e; }

/* bottom ticker (TabAccessoryMarqueeViews: 16 pt rounded, ◆ dividers) */
.dg-ticker { position: absolute; left: 50.5px; top: 597px; width: 773.5px; height: 48px; border-radius: 24px; overflow: hidden; background: #1c1c1e; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent); }
.tk-track { display: flex; width: max-content; height: 100%; animation: tkScroll var(--tk-dur, 30s) linear infinite; animation-delay: -9s; }
.tk-strip { display: flex; align-items: center; flex: none; padding-left: 4px; font: 600 16px/1 var(--rounded); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tk-seg { display: inline-flex; align-items: center; gap: 4px; }
.tk-seg em { font-style: normal; color: #8e8e93; }
.tk-div { font-size: 8px; font-weight: 700; color: #8e8e93; padding: 0 10px; }
.tk-green { color: #30d158; font-weight: 700; }
.tk-sec { color: #8e8e93; font-weight: 500; }
.tk-med { font-weight: 500; }
.tk-blue { color: #0a84ff; }
.tk-orange { color: #ff9f0a; }
.tk-evt { color: #bf5af2; }
.tk-chartseg { gap: 8px; }
.tk-chart { display: block; overflow: visible; }
.tk-chart text { font: 700 7px var(--rounded); }
.tk-total { display: grid; gap: 1px; }
.tk-total small { font: 700 8px var(--rounded); letter-spacing: .04em; color: #fff; }
.tk-total b { font: 700 16px/1 var(--rounded); background: linear-gradient(90deg, #30d158, #63e6e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes tkScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tk-track { animation: none; } }

@media (max-width: 1080px) {
  .duo-wrap { grid-template-columns: 1fr; gap: 30px; }
  .duo-copy > p { min-height: 0; }
  .duo-device { --s: .62; }
}
@media (max-width: 720px) {
  .duo { padding: 90px 16px; }
  .duo-device { --s: .335; }
}
@media (max-width: 400px) {
  .duo-device { --s: .31; }
}
