/* PhoneDemo - phone mockup of a Home Assistant dashboard. Everything is namespaced under .pd- */
.pd-root {
  --pd-bg: #2e3240; --pd-card: #383d4c; --pd-tile: #383d4c; --pd-sheet: #2e3240; --pd-pill: #252a37;
  --pd-text: #e6e6e6; --pd-sec: #9aa0ad; --pd-purple: #c08cf5; --pd-blue: #1976d2; --pd-green: #4cd964; --pd-link: #4fc3f7;
  --pd-ease: cubic-bezier(.32, .72, 0, 1);
  position: relative; width: 100%; overflow: hidden; color: var(--pd-text);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.25; text-align: left; -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none;
}
.pd-root *, .pd-root *::before, .pd-root *::after { box-sizing: border-box; }
:where(.pd-root) button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; cursor: pointer; text-align: inherit; touch-action: manipulation; }
:where(.pd-root) button:focus { outline: none; }
.pd-root button:focus-visible { outline: 2px solid var(--pd-link); outline-offset: 2px; }
:where(.pd-root) b { font-weight: 500; }
:where(.pd-root) small { font-size: 12px; color: var(--pd-sec); font-weight: 400; }
.pd-static { pointer-events: none; }

/* ---------- device frame ---------- */
.pd-phone {
  position: absolute; left: 0; top: 0; width: 390px; height: 845px; transform-origin: 0 0;
  background: #000; border-radius: 52px; padding: 10px;
  box-shadow: inset 0 0 0 1.5px #b4bac4, inset 0 0 0 3.5px #14151a, 0 0 0 0 transparent;
}
.pd-screen { position: relative; width: 370px; height: 825px; border-radius: 42px; overflow: hidden; background: var(--pd-bg); isolation: isolate; }
.pd-status {
  position: absolute; z-index: 70; top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px 0 30px; color: #fff; pointer-events: none;
}
.pd-time { font-size: 14px; font-weight: 500; letter-spacing: .2px; }
.pd-cam-hole { position: absolute; left: 50%; top: 11px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1.5px #15161b, inset 0 0 2px 1px #1b2433; }
.pd-sicons { display: flex; gap: 4px; align-items: center; }
.pd-indicator { position: absolute; z-index: 71; bottom: 8px; left: 50%; width: 118px; height: 4.5px; margin-left: -59px; border-radius: 3px; background: rgba(255, 255, 255, .72); pointer-events: none; }

/* ---------- generic bits ---------- */
.pd-ic { display: inline-flex; width: 1em; height: 1em; flex: none; line-height: 0; }
.pd-ic svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.pd-circ { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex: none; transition: background .3s, color .3s; }
.pd-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: #4a5066; color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.pd-ibtn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #d5d9e2; flex: none; transition: background .2s; }
.pd-ibtn:active { background: rgba(255, 255, 255, .12); }
.pd-ibtn.rnd { width: 36px; height: 36px; background: #3a3f4d; }
.pd-ibtn.cy { color: #4fc3f7; }
.pd-sec { display: flex; align-items: center; gap: 8px; margin: 16px 2px 10px; color: var(--pd-text); }
.pd-sec-t { font-size: 16px; font-weight: 700; white-space: nowrap; }
.pd-sec.small .pd-sec-t { font-size: 13px; color: var(--pd-sec); font-weight: 500; }
.pd-sec-line { flex: 1; height: 2px; background: #3c4150; border-radius: 1px; min-width: 14px; }
.pd-dot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #f44336; }
.pd-empty { text-align: center; color: var(--pd-sec); padding: 30px 0; }

.pd-tg { position: relative; width: 46px; height: 26px; border-radius: 13px; background: #4a4f5c; flex: none; display: inline-block; transition: background .25s; }
.pd-tg-k { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #aab; transition: transform .25s var(--pd-ease), background .25s; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.pd-tg.on { background: #0d4f6b; }
.pd-tg.on .pd-tg-k { transform: translateX(20px); background: #29b6f6; }

.pd-range { -webkit-appearance: none; appearance: none; flex: 1; min-width: 40px; height: 24px; margin: 0; background: transparent; cursor: pointer; --v: 0%; --fill: #c9ced9; touch-action: pan-y; }
.pd-range.peach { --fill: #f4b393; }
.pd-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--fill) var(--v), #4a5166 var(--v)); }
.pd-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--fill) var(--v), #4a5166 var(--v)); }
.pd-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.pd-range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 0; }
.pd-range.peach::-webkit-slider-thumb { background: var(--fill); }

.pd-input { width: 100%; height: 48px; padding: 14px 14px 0; border: 0; border-bottom: 2px solid #8a90a0; border-radius: 10px 10px 0 0; background: #3a3f4d; color: #fff; font: inherit; font-size: 16px; outline: none; user-select: text; -webkit-user-select: text; }
.pd-input.fill { padding: 0 14px; height: 46px; }
.pd-input::placeholder { color: #8c93a3; }

/* ---------- camera cards (drawn scenes + overlay) ---------- */
.pd-camcard { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #1b2030; margin-bottom: 10px; }
.pd-camart, .pd-camart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pd-camart.pd-fade { animation: pd-fadein .35s ease; }
@keyframes pd-fadein { from { opacity: .2; } to { opacity: 1; } }
.pd-co { position: absolute; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); pointer-events: none; }
.pd-co-ts { left: 9px; top: 7px; font: 600 9.5px "Courier New", Courier, monospace; letter-spacing: .3px; }
.pd-co-rec { right: 9px; top: 6px; display: flex; align-items: center; gap: 4px; font: 700 9.5px "Courier New", monospace; }
.pd-co-rec i { width: 8px; height: 8px; border-radius: 50%; background: #f23b3b; box-shadow: 0 0 5px #f23b3b; animation: pd-blink 1.4s steps(2, jump-none) infinite; }
@keyframes pd-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.pd-co-name { left: 10px; bottom: 7px; font-size: 12px; font-weight: 600; }
.pd-co-fmt { right: 9px; bottom: 8px; font: 600 9px "Courier New", monospace; letter-spacing: .4px; opacity: .9; }
.pd-cam-arrow { position: absolute; top: 50%; margin-top: -19px; width: 38px; height: 38px; border-radius: 50%; background: rgba(20, 22, 30, .45); color: #fff; display: flex; align-items: center; justify-content: center; }
.pd-cam-arrow.l { left: 10px; } .pd-cam-arrow.r { right: 10px; }

/* ---------- home ---------- */
.pd-home { position: absolute; inset: 0; padding: 40px 12px 92px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; transition: filter .3s; }
.pd-home::-webkit-scrollbar { display: none; }
.pd-home.pd-dim { filter: blur(3px) brightness(.55); }
.pd-chips { display: flex; gap: 6px; align-items: center; padding: 6px 0 12px; }
.pd-chip { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 9px; border-radius: 14px; background: var(--pd-pill); font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; color: var(--pd-text); }
.pd-chip-round { width: 36px; padding: 0; justify-content: center; }
.pd-chip-w { flex: 0 1 auto; min-width: 0; }
.pd-chip-ic { display: inline-flex; width: 17px; height: 17px; flex: none; }
.pd-chip-ic svg { width: 100%; height: 100%; fill: currentColor; }
.pd-home .pd-camcard { border-radius: 18px; margin-bottom: 0; }
.pd-scenes { display: flex; gap: 8px; }
.pd-scene { flex: 1; height: 54px; border-radius: 16px; background: var(--pd-card); display: flex; align-items: center; justify-content: center; color: var(--pd-text); transition: background .2s, transform .15s; }
.pd-scene:active { background: #454b5d; transform: scale(.96); }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-navtile .pd-circ { width: 34px !important; height: 34px !important; }
.pd-navtile .pd-ic { font-size: 20px; }
.pd-navtile { display: flex; align-items: center; gap: 7px; height: 58px; padding: 0 7px; border-radius: 16px; background: var(--pd-card); transition: background .2s, transform .15s; min-width: 0; }
.pd-navtile:active { background: #454b5d; transform: scale(.98); }
.pd-navtile-t { font-size: 14px; font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-nav-ex { display: inline-flex; gap: 3px; align-items: center; flex: none; }
.pd-nbadge { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #fff; }
.pd-nbadge.lights { background: #7a4a2a; }
.pd-nbadge.shades { background: #45566b; }
.pd-gpill { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 7px 0 5px; border-radius: 12px; background: #a03c7f; color: #fff; font-size: 12px; font-weight: 700; }
.pd-schip { display: inline-flex; align-items: center; gap: 1px; height: 22px; padding: 0 4px; border-radius: 8px; background: #3f4436; color: #d7dcb4; font-size: 12px; font-weight: 700; }

.pd-roombar { position: absolute; z-index: 60; left: 0; right: 0; bottom: 0; padding: 18px 0 26px; background: linear-gradient(to bottom, rgba(46, 50, 64, 0), rgba(46, 50, 64, .94) 38%); pointer-events: none; }
.pd-rooms { display: flex; gap: 8px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; pointer-events: auto; }
.pd-rooms::-webkit-scrollbar { display: none; }
.pd-rpill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 16px; background: rgba(163, 166, 174, .85) !important; color: #20232c; font-size: 14px; font-weight: 700; transition: background .2s; }
.pd-rpill.act { background: #c08cf5 !important; }

/* ---------- popup ---------- */
.pd-scrim { position: absolute; z-index: 50; inset: 0; background: rgba(8, 10, 16, .38); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pd-scrim.pd-open { opacity: 1; pointer-events: auto; }
.pd-popup {
  position: absolute; z-index: 55; left: 0; right: 0; top: 70px; bottom: 0; display: flex; flex-direction: column;
  background: var(--pd-sheet); border-radius: 26px 26px 0 0; transform: translateY(104%); transition: transform .3s var(--pd-ease);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .35);
}
.pd-popup.pd-open { transform: translateY(0); }
.pd-phead { display: flex; align-items: center; gap: 8px; padding: 14px 14px 8px; flex: none; }
.pd-pbody { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 6px 14px 96px; scrollbar-width: none; }
.pd-pbody::-webkit-scrollbar { display: none; }
.pd-hpill { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 6px; border-radius: 26px; background: var(--pd-pill); }
.pd-hicon { width: 40px; height: 40px; border-radius: 50%; background: #3a4052; display: flex; align-items: center; justify-content: center; flex: none; }
.pd-htext { flex: 1; min-width: 0; }
.pd-htitle { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-hsub { font-size: 12px; color: var(--pd-sec); margin-top: 1px; }
.pd-hbtn { height: 32px; padding: 0 12px; border-radius: 12px; background: #5a4a2e; color: #f0b04a; font-size: 12px; font-weight: 700; white-space: nowrap; flex: none; }
.pd-hbtns { display: inline-flex; gap: 2px; }
.pd-xbtn { width: 52px; height: 52px; border-radius: 16px; background: var(--pd-pill); display: flex; align-items: center; justify-content: center; flex: none; color: #e6e6e6; transition: background .2s; }
.pd-xbtn:active { background: #373d50; }
.pd-back { width: 46px; }

.pd-tabs { display: flex; gap: 8px; margin: 4px 0 12px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs.center { justify-content: center; overflow: visible; margin-top: 14px; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tab { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 14px; border-radius: 21px; background: var(--pd-pill); font-size: 14px; font-weight: 700; transition: background .25s, color .25s; }
.pd-tab.icon { width: 42px; padding: 0; }
.pd-tab.act { background: var(--pd-purple); color: #fff; }
.pd-tab.outline { background: transparent; border: 1.5px solid #8a90a0 !important; }
.pd-chiprow { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-chipb { height: 38px; padding: 0 14px; border-radius: 14px; background: var(--pd-card); font-weight: 700; font-size: 13.5px; }
.pd-chipb.act { background: var(--pd-purple); color: #fff; }

.pd-grow { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; min-height: 34px; }
.pd-grow.big { margin-top: 6px; }
.pd-grow > .pd-ic { color: #d5d9e2; font-size: 22px; }
.pd-gname { font-size: 16px; font-weight: 700; flex: none; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-gname.sub { font-size: 14px; color: #c9cfdb; }
.pd-rpilla { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 12px 0 9px; border-radius: 12px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pd-rpilla.off { background: #5a4a2e; color: #f0b04a; }
.pd-rpilla.on { background: #3a3f4d; color: #c9cfdb; }
.pd-minipill { height: 28px; padding: 0 12px; border-radius: 10px; background: #3a3f4d; color: #c9cfdb; font-size: 12px; font-weight: 700; }
.pd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-grid2.one { grid-template-columns: 1fr; }
.pd-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* ---------- light tile ---------- */
.pd-lt { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; min-width: 0; height: 64px; padding: 0 10px; border-radius: 16px; background: var(--pd-tile); cursor: pointer; transition: background .2s; }
.pd-lt:active { background: #444a5c; }
.pd-lt-icw { position: relative; width: 44px; height: 44px; flex: none; }
.pd-lt-ic { width: 44px; height: 44px; border-radius: 50%; background: #4a4f5c; color: #9aa0ad; display: flex; align-items: center; justify-content: center; transition: background .3s, color .3s, box-shadow .3s; }
.pd-lt.on .pd-lt-ic { background: #4d4636; color: #f5c542; }
.pd-lt-t { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.pd-lt-t b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-lt-t small { font-size: 12.5px; }
.pd-lt.wide .pd-lt-t b { font-size: 14.5px; }
.pd-lt.small { height: 60px; }
.pd-sbadge { position: absolute; left: -5px; bottom: -3px; display: inline-flex; align-items: center; gap: 1px; height: 15px; padding: 0 4px; border-radius: 8px; background: #9c6ade; color: #fff; font-size: 9px; border: 1.5px solid var(--pd-tile); }
.pd-sbadge b { font-size: 9px; font-weight: 700; }

/* climate card */
.pd-cc { background: var(--pd-card); border-radius: 16px; padding: 10px; min-width: 0; }
.pd-cc-top { display: grid; grid-template-columns: 44px 1fr; gap: 9px; align-items: center; }
.pd-cc-ic { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #5a3f2a; color: #ff9800; display: flex; align-items: center; justify-content: center; }
.pd-cc-ic.off { background: #4a4f5c; color: #9aa0ad; }
.pd-tbadge { position: absolute; right: -3px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; background: #ff9800; color: #fff; display: flex; align-items: center; justify-content: center; border: 2px solid var(--pd-card); }
.pd-cc-ic.m-cool { background: #1e3a5c; color: #2196f3; }
.pd-cc-ic.m-auto { background: #2c4a30; color: #4caf50; }
.pd-tbadge.m-cool { background: #2196f3; }
.pd-tbadge.m-heat { background: #ff9800; }
.pd-modes3 { display: flex; gap: 5px; margin-top: 10px; }
.pd-mb { flex: 1; height: 34px; border-radius: 10px; background: #2f3340; display: flex; align-items: center; justify-content: center; color: #c9cfdb; transition: background .2s, color .2s; }
.pd-mb.sel { background: #ffb06a; color: #2a1c0e; }
.pd-mb.sel.m-cool { background: #2196f3; color: #fff; }
.pd-mb.sel.m-auto { background: #4caf50; color: #fff; }
.pd-mb.sel.grey { background: #9e9e9e; color: #1d1d1d; }
.pd-setrow { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }
.pd-sbtn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #6a7188 !important; display: flex; align-items: center; justify-content: center; flex: none; }
.pd-sbtn:active { background: rgba(255, 255, 255, .12); }
.pd-setv { font-size: 16px; font-weight: 500; text-align: center; }

/* covers */
.pd-cv { background: var(--pd-card); border-radius: 16px; padding: 10px; min-width: 0; margin-bottom: 0; }
.pd-cv.wide { margin-bottom: 8px; }
.pd-lt-ic.cv.on { background: #5a3f2a; color: #ff9800; }
.pd-lt-ic.cv.gar { background: #4a3f6b; color: #c08cf5; }
.pd-lt-ic.cv.gar.on { background: #5a2d4c; color: #e24bb0; }
.pd-cvbtns { display: flex; gap: 6px; margin-top: 10px; }
.pd-cvb { flex: 1; height: 34px; border-radius: 10px; background: #2f3340; display: flex; align-items: center; justify-content: center; color: #d5d9e2; }
.pd-cvb:active { background: #4a5166; }
.pd-cvb.big { height: 54px; width: 80px; border-radius: 16px; flex: none; }
.pd-cvbtns.big { justify-content: center; gap: 12px; margin-top: 18px; }
.pd-camwrap { margin-bottom: 0; }

/* scenes */
.pd-scrow { display: flex; gap: 8px; margin-bottom: 8px; }
.pd-sctile { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 12px; border-radius: 16px; background: var(--pd-card); cursor: pointer; }
.pd-sctile:active { background: #444a5c; }
.pd-heart { width: 64px; height: 64px; border-radius: 16px; background: #3a3f4d; color: #9aa0ad; display: flex; align-items: center; justify-content: center; flex: none; }
.pd-heart.fav { background: #7a3b45; color: #ff5470; }

/* modes */
.pd-big { font-size: 30px; font-weight: 700; margin: 6px 2px 4px; }
.pd-p { color: var(--pd-sec); font-size: 14px; margin: 0 2px 14px; line-height: 1.35; }
.pd-p.gap { margin-top: 18px; }
.pd-mtile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 92px; border-radius: 16px; background: var(--pd-tile); font-size: 13px; font-weight: 700; text-align: center !important; color: #c9cfdb; transition: background .3s; }
.pd-mtile.sel { background: #444a5c; color: #fff; }
.pd-mic { display: inline-flex; }

/* cards, rows */
.pd-card { background: var(--pd-card); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.pd-row { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.pd-zrow { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 12px; border-radius: 14px; background: var(--pd-card); margin-bottom: 8px; transition: opacity .25s; }
.pd-zrow.plain { background: transparent; padding: 6px 2px; margin: 0; }
.pd-zrow.dim { opacity: .5; }
.pd-zt { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.pd-zt b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-zt small b { font-size: 12px; color: #e6e6e6; }
.pd-zrel { font-size: 12px; color: var(--pd-sec); white-space: nowrap; flex: none; }
.pd-zrel.next { color: var(--pd-purple); font-weight: 700; }

/* alarm */
.pd-apill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 12px; background: #9e9e9e; color: #fff; font-size: 13px; font-weight: 700; transition: background .3s; }
.pd-apill.armed { background: #c0392b; }
.pd-abtns { display: flex; gap: 8px; margin: 14px 0 6px; }
.pd-abtn { flex: 1; height: 42px; border-radius: 21px; background: #12384a; color: var(--pd-link); font-weight: 700; font-size: 13px; text-align: center !important; }
.pd-abtn:active { background: #194b62; }
.pd-codewrap { display: flex; align-items: flex-end; gap: 14px; margin: 12px 0 10px; padding: 8px 12px 0; background: #3a3f4d; border-radius: 10px 10px 0 0; border-bottom: 2px solid #8a90a0; }
.pd-codelbl { color: var(--pd-sec); font-size: 13px; padding-bottom: 6px; }
.pd-codebox { flex: 1; display: flex; justify-content: space-around; height: 30px; font-size: 14px; align-items: center; }
.pd-codebox.pd-shake { animation: pd-shake .4s; }
.pd-codewrap:has(.pd-shake) { border-bottom-color: #f44336; }
@keyframes pd-shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.pd-keypad { display: grid; grid-template-columns: repeat(3, 54px); justify-content: center; gap: 8px 22px; margin-top: 8px; }
.pd-key { width: 54px; height: 54px; border-radius: 50%; background: #444a5c; font-size: 22px; text-align: center !important; transition: background .15s; }
.pd-key:active { background: #5a6580; }
.pd-sensors { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 6px; }
.pd-sens { display: flex; gap: 8px; }
.pd-sensb { width: 38px; height: 38px; border-radius: 50%; background: #3a3f4d; color: #c9cfdb; display: flex; align-items: center; justify-content: center; }
.pd-sensb.on { background: #2b6cb0; color: #fff; }
.pd-offchip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 12px; background: var(--pd-pill); font-size: 13px; font-weight: 700; }
.pd-offchip.on { background: #5a4a2e; color: #f0b04a; }
.pd-bypass { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 700; color: #9aa0ad; flex: none; }
.pd-bypass.act { background: #1976d2; color: #fff; }
.pd-bypass.by { background: transparent; color: #f0b04a; }
.pd-segtg { position: relative; width: 84px; height: 36px; border-radius: 10px; background: #252a37; flex: none; }
.pd-segtg .k { position: absolute; top: 3px; left: 3px; width: 38px; height: 30px; border-radius: 8px; background: #9e9e9e; transition: transform .25s var(--pd-ease), background .25s; }
.pd-segtg.on .k { transform: translateX(40px); background: #4fc3f7; }
.pd-field { flex: 1; display: flex; flex-direction: column; padding: 6px 12px 0; border-radius: 10px 10px 0 0; background: #3a3f4d; border-bottom: 2px solid #8a90a0; }
.pd-field .pd-input { height: 26px; padding: 0; background: transparent; border: 0; }
.pd-wbtn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border-radius: 24px; background: #12384a; color: var(--pd-link); font-weight: 700; text-align: center !important; margin-top: 4px; }

/* media */
.pd-mcard { background: #4a3d35; border-radius: 16px; padding: 14px; margin-bottom: 8px; }
.pd-mname { flex: 1; font-size: 16px; font-weight: 700; min-width: 0; margin-left: 2px; }
.pd-art { position: relative; width: 190px; height: 190px; margin: 14px auto 12px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #6a4c93, #1982c4 70%); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.pd-art i { position: absolute; display: block; border-radius: 50%; }
.pd-art .a { width: 150px; height: 150px; left: -40px; top: -30px; background: radial-gradient(circle, #f4b393, rgba(244, 179, 147, 0) 70%); }
.pd-art .b { width: 120px; height: 120px; right: -30px; bottom: -20px; background: radial-gradient(circle, #ffd166, rgba(255, 209, 102, 0) 70%); }
.pd-art .c { width: 90px; height: 90px; left: 50px; top: 50px; border: 10px solid rgba(255, 255, 255, .22); }
.pd-art .d { width: 30px; height: 30px; left: 80px; top: 80px; background: rgba(255, 255, 255, .85); }
.pd-mtitle { text-align: center; font-size: 19px; font-weight: 700; }
.pd-martist { text-align: center; color: #c9b8ab; margin-top: 2px; }
.pd-prog { margin: 14px 4px 4px; }
.pd-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.pd-bar i { display: block; height: 100%; background: #c5d2dc; border-radius: 3px; transition: width .9s linear; }
.pd-times { display: flex; justify-content: space-between; font-size: 12px; color: #c9b8ab; margin-top: 6px; }
.pd-ctrls { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px; }
.pd-ctrls .pd-ibtn { width: 40px; height: 40px; }
.pd-play { width: 64px; height: 64px; border-radius: 50%; background: #c5d2dc; color: #2b2f3d; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.pd-play:active { transform: scale(.94); }
.pd-vol { display: flex; align-items: center; gap: 10px; margin: 6px 4px 2px; }

/* tv */
.pd-tvrow { display: grid; gap: 8px; margin-bottom: 8px; }
.pd-tvrow.c3 { grid-template-columns: repeat(3, 1fr); }
.pd-tvrow.c4 { grid-template-columns: repeat(4, 1fr); }
.pd-tvb { height: 50px; border-radius: 14px; background: var(--pd-tile); display: flex; align-items: center; justify-content: center; text-align: center !important; transition: background .12s, transform .12s; }
.pd-tvb.flash { background: #8a92b0; transform: scale(.94); }
.pd-tvb.dig { font-family: "Courier New", Courier, monospace; font-weight: 900; font-size: 24px; letter-spacing: 1px; }
.pd-pad { position: relative; height: 150px; border-radius: 16px; background: #262a36; margin-bottom: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pd-pad-h { color: #5d647a; font-size: 12px; pointer-events: none; }
.pd-padrip { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(255, 255, 255, .35); pointer-events: none; animation: pd-rip .65s ease-out forwards; }
@keyframes pd-rip { from { transform: scale(.3); opacity: .9; } to { transform: scale(5); opacity: 0; } }

/* room popup / settings */
.pd-mchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 12px; background: #4a3f63; color: #e5d3fb; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pd-spk { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 16px; border-radius: 16px; background: var(--pd-card); font-weight: 700; transition: background .3s; }
.pd-spk span:not(.pd-ic) { flex: 1; }
.pd-spk.on > .pd-ic:last-child { color: #4cd964; }
.pd-cfg { background: var(--pd-card); border-radius: 14px; margin-bottom: 8px; overflow: hidden; }
.pd-cfgh { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 48px; padding: 0 14px; }
.pd-cfgr { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 14px; }
.pd-cfgr small { max-width: 150px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- more-info sheet ---------- */
.pd-mi-scrim { position: absolute; z-index: 64; inset: 0; background: rgba(8, 10, 16, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pd-mi-scrim.pd-open { opacity: 1; pointer-events: auto; }
.pd-mi { position: absolute; z-index: 66; left: 0; right: 0; top: 54px; bottom: 0; border-radius: 26px 26px 0 0; background: var(--pd-bg); transform: translateY(104%); transition: transform .32s var(--pd-ease); box-shadow: 0 -8px 30px rgba(0, 0, 0, .45); overflow: hidden; }
.pd-mi.pd-open { transform: translateY(0); }
.pd-mi-in { height: 100%; display: flex; flex-direction: column; }
.pd-mi-handle { width: 40px; height: 4px; border-radius: 2px; background: #6a7188; margin: 8px auto 4px; flex: none; }
.pd-mi-head { display: flex; align-items: center; gap: 10px; padding: 8px 12px; flex: none; }
.pd-mi-x { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #e6e6e6; flex: none; }
.pd-mi-x:active { background: rgba(255, 255, 255, .1); }
.pd-mi-titles { flex: 1; min-width: 0; }
.pd-mi-titles small { display: block; font-size: 12px; }
.pd-mi-name { font-size: 22px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-mi-body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 70px; text-align: center; scrollbar-width: none; }
.pd-mi-body::-webkit-scrollbar { display: none; }
.pd-mi-big { font-size: 40px; font-weight: 400; margin-top: 4px; }
.pd-mi-ago { color: var(--pd-sec); font-size: 14px; margin-bottom: 12px; }
.pd-vswrap { display: flex; justify-content: center; }
.pd-vs { position: relative; border-radius: 26px; background: #4a4f5c; overflow: hidden; touch-action: none; cursor: pointer; }
.pd-vs-fill { position: absolute; left: 0; right: 0; bottom: 0; background: #f5e08a; height: 0; transition: height .12s; }
.pd-vs-fill i { position: absolute; left: 50%; top: 10px; width: 28px; height: 4px; margin-left: -14px; border-radius: 2px; background: #fff; }
.pd-vs.cv .pd-vs-fill { background: #ffb06a; }
.pd-pwrap { margin: 18px 0 8px; display: flex; justify-content: center; }
.pd-power { width: 60px; height: 60px; border-radius: 50%; background: #4a4f5c; color: #c9cfdb; display: flex; align-items: center; justify-content: center; transition: background .25s, color .25s; }
.pd-power.on { background: #f5e08a; color: #3b3414; }
.pd-mi-sch { text-align: left; margin-top: 18px; }
.pd-msrow { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.pd-mst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pd-ms1 { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-ms2 { font-size: 12.5px; color: #c9cfdb; }
.pd-ms2.cond b { display: inline-block; width: 24px; color: #9aa0ad; }
.pd-mschips { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pd-areachip { height: 22px; line-height: 22px; padding: 0 10px; border-radius: 11px; background: #2f3f5c; color: #8fb4ff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pd-affects { font-size: 12px; color: #9aa0ad; }
.pd-mi-cur { display: flex; justify-content: space-around; margin: 4px 0 6px; }
.pd-mi-cur small { display: block; }
.pd-mi-cur b { font-size: 17px; font-weight: 400; }

.pd-dial { position: relative; width: 240px; height: 230px; margin: 4px auto 0; }
.pd-dial-svg, .pd-dial-svg svg { width: 100%; height: 100%; display: block; }
.pd-dial-track { fill: none; stroke: #6b5136; stroke-width: 16; stroke-linecap: round; }
.pd-dial-act { fill: none; stroke: #ff9a3c; stroke-width: 16; stroke-linecap: round; }
.pd-dial-h { fill: #fff; stroke: #ff9a3c; stroke-width: 3; }
.pd-dial.m-cool .pd-dial-track { stroke: #1e3a5c; }
.pd-dial.m-cool .pd-dial-act, .pd-dial.m-cool .pd-dial-h { stroke: #2196f3; }
.pd-dial.m-cool .pd-dial-state { color: #2196f3; }
.pd-dial.m-cool .pd-dial-state.off { color: var(--pd-sec); }
.pd-dial.m-auto .pd-dial-track { stroke: #2c4a30; }
.pd-dial.m-auto .pd-dial-act, .pd-dial.m-auto .pd-dial-h { stroke: #4caf50; }
.pd-dial.m-auto .pd-dial-state { color: #4caf50; }
.pd-dial.m-auto .pd-dial-state.off { color: var(--pd-sec); }
.pd-dial.m-off .pd-dial-track { stroke: #4a4f5c; }
.pd-dial.m-cool + .pd-dial-btns .pd-rbtn { border-color: #2196f3 !important; color: #2196f3; }
.pd-dial.m-auto + .pd-dial-btns .pd-rbtn { border-color: #4caf50 !important; color: #4caf50; }
.pd-dial-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding-bottom: 10px; }
.pd-dial-state { font-size: 16px; color: #ff9a3c; font-weight: 500; }
.pd-dial-state.off { color: var(--pd-sec); }
.pd-dial-big { font-size: 52px; font-weight: 300; line-height: 1.05; }
.pd-dial-btns { display: flex; justify-content: center; gap: 70px; margin: -28px 0 12px; position: relative; }
.pd-rbtn { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #ff9a3c !important; color: #ff9a3c; display: flex; align-items: center; justify-content: center; background: transparent; }
.pd-rbtn:active { background: rgba(255, 154, 60, .25); }
.pd-seg { display: inline-flex; background: #252a37; border-radius: 12px; padding: 3px; margin-bottom: 14px; }
.pd-seg button { width: 44px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #9aa0ad; }
.pd-seg button.sel { background: #4a4f5c; color: #fff; }
.pd-attrs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pd-attr { display: flex; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 14px; background: var(--pd-card); text-align: left !important; }
.pd-attr span { display: flex; flex-direction: column; min-width: 0; }
.pd-attr small { font-size: 11px; }
.pd-attr b { font-size: 13px; font-weight: 700; }

/* ---------- scheduler ---------- */
.pd-sched-t { font-size: 24px; font-weight: 700; line-height: 1.1; }
.pd-sched .pd-row { margin-bottom: 8px; }
.pd-srow { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-radius: 12px; cursor: pointer; transition: opacity .25s; }
.pd-srow-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pd-srow-t b { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-srow-t small { font-size: 12.5px; color: #c9cfdb; }
.pd-cl { display: grid; grid-template-columns: 28px 1fr; font-size: 12.5px; color: #c9cfdb; }
.pd-cl em { font-style: normal; font-weight: 700; color: #9aa0ad; }
.pd-srow.pd-off, .pd-sched.pd-off .pd-srow { opacity: .42; }
.pd-flash { animation: pd-flash 1.6s ease; }
@keyframes pd-flash { 0% { background: rgba(192, 140, 245, .5); } 100% { background: rgba(192, 140, 245, 0); } }
.pd-link { color: var(--pd-link); font-size: 15px; font-weight: 700; padding: 8px 0; display: block; }
.pd-link.ex { margin-top: 4px; font-weight: 500; color: #81d4fa; }
.pd-div { border: 0; height: 1px; background: rgba(255, 255, 255, .12); margin: 8px 0 4px; }
.pd-chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip2 { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1.5px solid var(--pd-link) !important; color: var(--pd-link); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.pd-chip2.sel { background: #81d4fa; border-color: #81d4fa !important; color: #0b2a3a; }

/* editor */
.pd-editor { position: absolute; z-index: 68; inset: 0; background: #2e3240; padding-top: 38px; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .3s var(--pd-ease); }
.pd-editor.pd-open { transform: translateY(0); }
.pd-ed-head { display: flex; align-items: center; gap: 8px; padding: 4px 8px; flex: none; }
.pd-ed-title { flex: 1; font-size: 19px; font-weight: 700; }
.pd-ed-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 16px 20px; scrollbar-width: none; }
.pd-ed-scroll::-webkit-scrollbar { display: none; }
.pd-ed-lbl { font-size: 15px; font-weight: 700; margin: 16px 0 8px; }
.pd-ed-lbl.between { display: flex; justify-content: space-between; align-items: center; }
.pd-ed-line { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 15px; }
.pd-ed-line b { font-weight: 400; }
.pd-linkc { color: #4fc3f7; font-size: 14px; font-weight: 700; padding: 8px 0; display: inline-flex; align-items: center; gap: 4px; }
.pd-linkc.sm { padding: 0; font-size: 13px; }
.pd-scheme { position: relative; height: 26px; border-radius: 8px; background: repeating-linear-gradient(90deg, #3a3f4d 0 calc(100% / 24 - 1px), #2e3240 calc(100% / 24 - 1px) calc(100% / 24)); margin: 4px 0; }
.pd-scheme-at { position: absolute; top: -3px; width: 4px; height: 32px; margin-left: -2px; border-radius: 2px; background: #4fc3f7; }
.pd-timerow { display: flex; align-items: center; gap: 8px; }
.pd-spin { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pd-spb { width: 56px; height: 28px; display: flex; align-items: center; justify-content: center; color: #4fc3f7; }
.pd-digits { width: 64px; height: 64px; border-radius: 12px; background: #252a37; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 300; }
.pd-colon { font-size: 36px; font-weight: 300; }
.pd-ampm { height: 40px; padding: 0 12px; margin-left: 4px; color: #4fc3f7; font-weight: 700; font-size: 18px; border-radius: 10px; }
.pd-offv { min-width: 70px; text-align: center; }
.pd-actcard { background: #383d4c; border: 1px solid #4a4f5c; border-radius: 14px; padding: 12px; }
.pd-act-h { display: flex; align-items: center; gap: 10px; }
.pd-act-h b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-areas { background: #1f222b; border-radius: 12px; margin-top: 10px; padding: 6px 8px 10px; }
.pd-areas-h { display: flex; align-items: center; gap: 6px; width: 100%; height: 34px; font-weight: 700; font-size: 14px; }
.pd-areas-h .sp { flex: 1; }
.pd-trow { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.pd-trow.ex { padding-left: 14px; }
.pd-trow.ex .pd-zt b { font-size: 13px; }
.pd-dash { color: #8c93a3; }
.pd-entpill { height: 22px; line-height: 22px; padding: 0 10px; border-radius: 11px; background: #12384a; color: #4fc3f7; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pd-exl { font-size: 11.5px; color: #9aa0ad; white-space: nowrap; }
.pd-btnrow2 { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pd-tealbtn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 18px; background: #12384a; color: #4fc3f7; font-weight: 700; font-size: 13px; }
.pd-textbtn { height: 36px; padding: 0 8px; color: #4fc3f7; font-weight: 700; font-size: 13px; }
.pd-act-f { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #9aa0ad; font-size: 12.5px; }
.pd-condcard { background: #383d4c; border: 1px solid #4a4f5c; border-radius: 14px; padding: 6px 12px 10px; margin-bottom: 8px; }
.pd-dd { display: flex; align-items: center; gap: 8px; width: 100%; height: 48px; padding: 0 12px; border-radius: 8px; background: #2f3340; border-bottom: 2px solid #8a90a0; text-align: left !important; margin-top: 6px; }
.pd-dd small { font-size: 11px; }
.pd-dd span { flex: 1; font-size: 14px; }
.pd-dd.static { justify-content: space-between; }
.pd-radio { display: flex; align-items: center; gap: 10px; height: 38px; width: 100%; color: #e6e6e6; }
.pd-radio .pd-ic { color: #4fc3f7; }
.pd-ed-foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 22px; flex: none; border-top: 1px solid rgba(255, 255, 255, .08); background: #2e3240; }
.pd-ed-del { color: #ff6b6b; font-weight: 700; font-size: 15px; padding: 8px; }
.pd-ed-save { color: #4fc3f7; font-weight: 700; font-size: 15px; padding: 8px; }
.pd-dlgbox { position: absolute; z-index: 5; inset: 0; display: none; align-items: flex-end; background: rgba(0, 0, 0, .5); }
.pd-dlgbox.pd-open { display: flex; }
.pd-sheet2 { width: 100%; max-height: 82%; display: flex; flex-direction: column; background: #383d4c; border-radius: 24px 24px 0 0; padding: 0 14px 22px; }
.pd-sh-h { display: flex; align-items: center; gap: 6px; }
.pd-sh-h b { flex: 1; font-size: 18px; }
.pd-search { width: 100%; height: 46px; margin: 6px 0 8px; padding: 0 14px; border-radius: 10px; border: 2px solid #c08cf5; background: transparent; color: #fff; font: inherit; outline: none; user-select: text; -webkit-user-select: text; flex: none; }
.pd-chips2.pf { margin-bottom: 6px; flex: none; }
.pd-dlg-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.pd-dlg-list::-webkit-scrollbar { display: none; }
.pd-dlg-t { font-size: 18px; font-weight: 700; padding: 18px 4px 10px; }
.pd-pitem-h { font-size: 12px; color: #9aa0ad; font-weight: 700; padding: 10px 4px 4px; }
.pd-pitem { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 4px; border-radius: 10px; text-align: left !important; }
.pd-pitem:active { background: rgba(255, 255, 255, .08); }
.pd-pit { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pd-pit b { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pit small { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-pitem em { font-style: normal; font-size: 12px; color: #9aa0ad; }
.pd-chips2.days { margin: 4px 0; }
.pd-dlg-btns { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 12px; }
.pd-okbtn { width: 46px; height: 46px; border-radius: 50%; background: #29b6f6; color: #06293a; display: flex; align-items: center; justify-content: center; }

/* toast, tap ripple */
.pd-toast { position: absolute; z-index: 75; left: 50%; bottom: 84px; transform: translate(-50%, 12px); max-width: 320px; padding: 11px 20px; border-radius: 24px; background: #181b25; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--pd-ease); box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.pd-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pd-tap { position: absolute; z-index: 80; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .38); border: 2px solid rgba(255, 255, 255, .7); pointer-events: none; animation: pd-tap .7s ease-out forwards; }
@keyframes pd-tap { 0% { transform: scale(.3); opacity: 1; } 70% { opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

/* instant (no slide) for static/initial screens */
.pd-instant .pd-popup, .pd-instant .pd-scrim, .pd-instant .pd-home { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .pd-root *, .pd-root *::before, .pd-root *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
}

.pd-zt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
