:root {
  --k: 1;
  --page: #dfe3ee;
  --blue: #0a84ff;
  --green: #30d158;
  --red: #ff453a;
  --yellow: #ffd60a;
  --orange: #ff9f0a;
  --g1: #1c1c1e;
  --g2: #2c2c2e;
  --g3: #3a3a3c;
  --sep: rgba(84, 84, 88, 0.6);
  --l2: rgba(235, 235, 245, 0.6);
  --l3: rgba(235, 235, 245, 0.3);
  --ac: var(--blue);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #07080b;
  }
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
body {
  background: var(--page);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font: 17px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter",
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: inherit;
}
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.ico {
  flex: none;
}

/*device*/
#stage {
  width: calc(393px * var(--k));
  height: calc(852px * var(--k));
  position: relative;
  flex: none;
}
#dev {
  position: absolute;
  left: 0;
  top: 0;
  width: 393px;
  height: 852px;
  transform: scale(var(--k));
  transform-origin: 0 0;
}
#ph {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: 55px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 4px #0b0b0d, 0 0 0 6.5px #55585f, 0 0 0 8px #24262b,
    0 30px 80px rgba(0, 0, 0, 0.45);
}
.hw {
  position: absolute;
  width: 5px;
  background: linear-gradient(90deg, #3a3c42, #6d7078);
  border-radius: 2px;
}
.hw.act {
  left: -12px;
  top: 118px;
  height: 34px;
}
.hw.vup {
  left: -12px;
  top: 182px;
  height: 62px;
}
.hw.vdn {
  left: -12px;
  top: 258px;
  height: 62px;
}
.hw.side {
  right: -12px;
  top: 226px;
  height: 100px;
  background: linear-gradient(270deg, #3a3c42, #6d7078);
}
.hw:active {
  filter: brightness(1.3);
}
#hud {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #5b6070;
  min-height: 34px;
}
#hud button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(127, 127, 140, 0.18);
  font-size: 16px;
  text-align: center;
}
#hud button.off {
  opacity: 0.4;
}
@media (prefers-color-scheme: dark) {
  #hud {
    color: #8a8f9c;
  }
}
#hfull {
  display: none;
}
html,
body {
  overscroll-behavior: none;
}
body {
  -webkit-touch-callout: none;
}
/* phone-sized screens framed phone scaled to fit n HUD underneath */
body.mob {
  height: 100dvh;
  gap: 8px;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
body.mob #hfull {
  display: block;
}
body.mob #hud {
  min-height: 30px;
  gap: 8px;
  font-size: 12px;
}
body.mob #hud button {
  width: 30px;
  height: 30px;
  font-size: 14px;
}
/* fullscreen mode -> the real screen becomes the phone */
body.mob.full {
  justify-content: flex-start;
  gap: 0;
  padding: 0 0 env(safe-area-inset-bottom);
  background: #000;
}
body.mob.full #stage {
  width: 100vw;
  height: calc(100dvh - 30px - env(safe-area-inset-bottom));
}
body.mob.full #dev {
  width: 100%;
  height: 100%;
  transform: none;
}
body.mob.full #ph {
  border-radius: 0;
  box-shadow: none;
}
body.mob.full .hw {
  display: none;
}
body.mob.full #hud {
  min-height: 30px;
  gap: 6px;
  color: #8a8f9c;
  font-size: 11px;
}
body.mob.full #hud button {
  width: 24px;
  height: 24px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
}

#scr {
  position: absolute;
  inset: 0;
}
#off {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
#off.on {
  opacity: 1;
  pointer-events: auto;
}
#off.slow {
  transition: opacity 2.2s;
}
.hb {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 170px;
  height: 28px;
  z-index: 52;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.hb::after {
  content: "";
  width: 134px;
  height: 5px;
  border-radius: 3px;
  background: #fff;
}
#volhud {
  position: absolute;
  left: 8px;
  top: 160px;
  width: 10px;
  height: 120px;
  border-radius: 6px;
  background: rgba(60, 60, 64, 0.75);
  overflow: hidden;
  z-index: 58;
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
#volhud i {
  display: block;
  width: 100%;
  background: #fff;
  height: 80%;
}
#volhud.on {
  opacity: 1;
}

/* status bar */
.sb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
  pointer-events: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.2px;
  transition: color 0.2s;
}
.sbl,
.sbr {
  width: calc(50% - 63px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
}
.sbl {
  padding-left: 16px;
  transition: opacity 0.2s;
}
.sbr {
  gap: 5px;
  padding-right: 12px;
}
.net {
  font-size: 14px;
  font-weight: 600;
}
.bat {
  position: relative;
  display: inline-flex;
}
.bat b {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 13px;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 700;
}
#ph.locked .sbl {
  opacity: 0;
}
#ph.sbd .sb {
  color: #000;
}
#ph.sbd .sb svg {
  filter: invert(1) hue-rotate(180deg);
}

/* dynamic island */
.isl {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 125px;
  height: 37px;
  margin-left: -62.5px;
  background: #000;
  border-radius: 19px;
  z-index: 60;
  overflow: hidden;
  transition: width 0.45s cubic-bezier(0.25, 1.25, 0.4, 1),
    height 0.45s cubic-bezier(0.25, 1.25, 0.4, 1),
    margin 0.45s cubic-bezier(0.25, 1.25, 0.4, 1), border-radius 0.45s;
}
.isl.x {
  width: 375px;
  margin-left: -187.5px;
  height: 76px;
  border-radius: 38px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.isl.x.alarm {
  height: 140px;
  border-radius: 44px;
}
.isl.p {
  width: 210px;
  margin-left: -105px;
}
.isw {
  opacity: 0;
  animation: isw 0.3s 0.2s forwards;
  height: 100%;
}
@keyframes isw {
  to {
    opacity: 1;
  }
}
body.mob.full .isl:not(.x):not(.p) {
  opacity: 0;
}
.isc {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 14px;
}
.isn {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.isn small {
  color: var(--l2);
  font-size: 13px;
}
.isn b {
  font-size: 17px;
  font-weight: 600;
}
.cr {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.cr.red {
  background: #ff3b30;
}
.cr.green {
  background: #30d158;
}
.isa {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.isa-l {
  display: flex;
  gap: 10px;
  align-items: center;
}
.isa-l small {
  display: block;
  color: var(--l2);
  font-size: 13px;
}
.isa-l b {
  font-size: 20px;
  font-weight: 600;
}
.isa-b {
  display: flex;
  gap: 10px;
}
.snz {
  flex: 1;
  background: var(--orange);
  color: #000;
  border-radius: 22px;
  height: 44px;
  font-weight: 600;
  text-align: center;
}
.stp {
  flex: 1;
  background: var(--g3);
  border-radius: 22px;
  height: 44px;
  font-weight: 600;
  text-align: center;
}
.isl.p .isw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}
.sil {
  color: #fff;
  display: grid;
}
.sil.on {
  color: #ff6a3d;
}

/* banners n lock notifications */
#bns {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 54px;
  z-index: 55;
  pointer-events: none;
}
.bn {
  pointer-events: auto;
  width: 100%;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 24px;
  background: rgba(44, 44, 48, 0.74);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: bnin 0.5s cubic-bezier(0.2, 1.2, 0.4, 1);
  text-align: left;
  transition: transform 0.2s;
  touch-action: none;
}
.bn.out {
  transform: translateY(-150%) !important;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
@keyframes bnin {
  from {
    transform: translateY(-140%);
  }
}
.mi {
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  flex: none;
  overflow: hidden;
}
.ntx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ntt {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 15px;
}
.ntt b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ntt span {
  color: var(--l2);
  font-size: 13px;
  white-space: nowrap;
}
.ntb {
  font-size: 15px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ntm {
  font-size: 13px;
  color: var(--l2);
  margin-top: 3px;
}

/* lock screen */
.lock {
  position: absolute;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  touch-action: none;
}
.lock.out {
  animation: lkout 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes lkout {
  to {
    transform: translateY(-100%);
  }
}
.lock.wakeup {
  animation: wk 1.1s ease-out;
}
@keyframes wk {
  from {
    filter: brightness(0);
  }
}
.lk-in {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 12px 0;
  transition: filter 0.35s, transform 0.35s, opacity 0.3s;
}
.lk-in.dim {
  filter: blur(20px) brightness(0.55);
  transform: scale(1.05);
}
.lk-pad {
  height: 22px;
  margin-top: 4px;
  opacity: 0.9;
}
.lk-pad.shake {
  animation: sh 0.4s;
}
.lk-date {
  font-size: 21px;
  font-weight: 600;
  margin-top: 4px;
  opacity: 0.88;
}
.lk-time {
  font-size: 98px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-top: -2px;
  opacity: 0.92;
  font-family: "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Inter",
    sans-serif;
}
.lk-ns {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 430px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.lk-ns::-webkit-scrollbar {
  display: none;
}
.nt {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(38, 38, 44, 0.5);
  backdrop-filter: blur(28px) saturate(1.7);
  -webkit-backdrop-filter: blur(28px) saturate(1.7);
  text-align: left;
  position: relative;
  flex: none;
  animation: ntin 0.45s cubic-bezier(0.2, 1, 0.4, 1);
}
@keyframes ntin {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
}
.nt.stk {
  margin-bottom: 9px;
}
.nt.stk::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -9px;
  height: 14px;
  border-radius: 0 0 18px 18px;
  background: rgba(38, 38, 44, 0.34);
  z-index: -1;
}
.lk-bot {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 46px;
  display: flex;
  justify-content: space-between;
}
.lkb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(25, 25, 30, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.2s, color 0.2s;
}
.lkb.on {
  background: #fff;
  color: #000;
}
.lk-sw {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 12px;
  white-space: nowrap;
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}

/* passcode */
.pw {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 108px;
  background: rgba(0, 0, 0, 0.25);
  animation: fade 0.25s;
}
.pw-t {
  font-size: 20px;
  font-weight: 500;
}
.dots {
  display: flex;
  gap: 22px;
  margin: 20px 0 8px;
}
.dots i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.4px solid #fff;
  transition: background 0.1s;
}
.dots i.on {
  background: #fff;
}
.dots.shake {
  animation: sh 0.45s;
}
.pw-h {
  min-height: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0 40px;
}
.kp {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 16px 26px;
  margin-top: 38px;
}
.kp button {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  text-align: center;
}
.kp button:active {
  background: rgba(255, 255, 255, 0.55);
  transition: 0s;
}
.kp span {
  font-size: 37px;
  font-weight: 400;
  line-height: 1;
}
.kp small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  height: 12px;
  margin-top: 1px;
}
.pw-b {
  position: absolute;
  bottom: 50px;
  left: 56px;
  right: 56px;
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}
@keyframes sh {
  20% {
    transform: translateX(-12px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-7px);
  }
  80% {
    transform: translateX(4px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}

/*  home */
.home {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 64px 14px 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.45s;
}
.home.behind {
  transform: scale(0.92);
  filter: brightness(0.7);
}
.home.zin {
  animation: zin 0.55s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes zin {
  from {
    transform: scale(1.18);
    opacity: 0;
  }
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 92px;
  row-gap: 10px;
}
.ap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  justify-self: center;
  width: 74px;
}
.ai {
  width: 62px;
  height: 62px;
  border-radius: 14.5px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: filter 0.15s;
}
.ap:active .ai {
  filter: brightness(0.65);
}
.al {
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.bd {
  position: absolute;
  top: -7px;
  right: -1px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 12px;
  background: var(--red);
  font-size: 14.5px;
  font-weight: 500;
  display: grid;
  place-items: center;
}
.wd {
  grid-column: span 2;
  grid-row: span 2;
  margin: 2px 9px 16px;
  border-radius: 22px;
  padding: 14px 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.wd .wdi {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
}
.wx {
  background: linear-gradient(#64799a, #3c4b63);
}
.wx-p {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}
.wx-t {
  font-size: 44px;
  font-weight: 300;
  line-height: 1.05;
}
.wx-c {
  margin-top: auto;
  font-size: 17px;
}
.wx-s {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.wc {
  background: #fff;
  color: #000;
}
.wc-d {
  color: #ff3b30;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.wc-n {
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}
.wc-e {
  border-left: 3px solid #bf5af2;
  padding-left: 6px;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}
.wc-e b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-e span {
  color: #8a8a8e;
}
.cal-ic {
  text-align: center;
  line-height: 1;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cal-ic b {
  color: #ff3b30;
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.cal-ic span {
  font-size: 33px;
  font-weight: 300;
}
.spot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 122px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 13px;
  font-weight: 500;
}
.dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 94px;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
}
.dock .ap {
  width: auto;
}

/*  windows n pages */
.win {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #000;
  overflow: hidden;
}
.win.ovl {
  z-index: 25;
}
.win.zoom {
  transition: clip-path 0.5s cubic-bezier(0.2, 0.9, 0.25, 1),
    transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1);
}
.win.zoom > .page {
  transition: opacity 0.35s;
}
.win.zoomout {
  transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s 0.15s;
  opacity: 0;
}
.win.fadein {
  animation: fade 0.25s;
}
.win.fadeout {
  opacity: 0;
  transition: opacity 0.25s;
}
.page {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}
.page.hid {
  visibility: hidden;
}
.page.a-in {
  animation: pin 0.42s cubic-bezier(0.2, 0.9, 0.25, 1);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.page.a-under {
  animation: pund 0.42s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}
.page.a-out {
  animation: pout 0.38s cubic-bezier(0.3, 0.8, 0.3, 1) forwards;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.page.a-back {
  animation: pback 0.38s cubic-bezier(0.3, 0.8, 0.3, 1);
}
@keyframes pin {
  from {
    transform: translateX(100%);
  }
}
@keyframes pund {
  to {
    transform: translateX(-30%);
  }
}
@keyframes pout {
  to {
    transform: translateX(100%);
  }
}
@keyframes pback {
  from {
    transform: translateX(-30%);
  }
}
/* dimming the page underneath with an overlay instead of a filter (filters + blur flash black) */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}
.page.a-under::after {
  animation: dimin 0.42s forwards;
}
.page.a-back::after {
  animation: dimout 0.38s;
}
@keyframes dimin {
  to {
    opacity: 0.3;
  }
}
@keyframes dimout {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0;
  }
}
.page.a-in,
.page.a-out,
.page.a-under,
.page.a-back {
  will-change: transform;
}
/* no live blur while pages slide to remove stutter that happens */
.win.anim * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.win.anim .nbw,
.win.anim .tab,
.win.anim .tbar,
.win.anim .sfb {
  background-color: rgba(18, 18, 20, 0.97);
}
.win.anim .page:not(.scr):not(.thp) .nbw {
  background-color: transparent;
}

.nbw {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding-top: 54px;
  transition: background 0.2s, border-color 0.2s;
  border-bottom: 0.5px solid transparent;
}
.page.scr .nbw,
.page.nolt.scr .nbw {
  background: rgba(18, 18, 20, 0.82);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-color: var(--sep);
}
.nb {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  position: relative;
}
.nbt {
  position: absolute;
  left: 96px;
  right: 96px;
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page.tt .nbt,
.page.nolt .nbt {
  opacity: 1;
}
.bk {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ac);
  font-size: 17px;
  height: 44px;
  padding-right: 6px;
  max-width: 150px;
  z-index: 1;
}
.bk span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nbr {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ac);
  padding-right: 8px;
  z-index: 1;
}
.nbl {
  color: var(--ac);
  font-size: 17px;
  padding: 0 8px;
  height: 44px;
  white-space: nowrap;
}
.nbl.nbb {
  font-weight: 600;
  white-space: nowrap;
}
.nbi {
  color: var(--ac);
  display: grid;
  place-items: center;
  height: 44px;
}
.pill {
  background: rgba(120, 120, 128, 0.36);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 15px;
}
.sc {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 98px 0 40px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.sc::-webkit-scrollbar {
  display: none;
}
.sc.hastab {
  padding-bottom: 110px;
}
.page:has(.tbar) .sc {
  padding-bottom: 100px;
}
.lt {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.35px;
  margin: 0 16px 8px;
  line-height: 1.2;
}
.srch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 16px 12px;
  height: 36px;
  border-radius: 10px;
  background: rgba(118, 118, 128, 0.24);
  color: var(--l2);
  padding: 0 8px;
  font-size: 17px;
}
.srch span {
  flex: 1;
}
.sech {
  font-size: 13px;
  color: var(--l2);
  text-transform: uppercase;
  margin: 22px 32px 7px;
}
.sech.big {
  text-transform: none;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 22px 16px 8px;
}
.rowh {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.rowh span {
  font-size: 17px;
  font-weight: 400;
}
.grp {
  margin: 0 16px 22px;
  background: var(--g1);
  border-radius: 11px;
  overflow: hidden;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 16px;
  width: 100%;
  position: relative;
  text-align: left;
  font-size: 17px;
}
.row::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--sep);
}
.row:has(.sico)::after,
.row:has(.rico)::after {
  left: 58px;
}
.row:last-child::after {
  display: none;
}
button.row:active,
.mrow:active,
.mlr:active,
.crow:active,
.lrow:active,
.evr:active {
  background: var(--g2);
}
.row .rl {
  flex: 1;
}
.row .rv {
  color: var(--l2);
  display: flex;
  align-items: center;
  gap: 5px;
}
.row.col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.row.col small {
  font-size: 13px;
  color: var(--l2);
}
.row.ctr {
  justify-content: center;
}
.row.blue {
  color: var(--blue);
}
.rico {
  width: 30px;
  display: grid;
  place-items: center;
  color: var(--ac);
}
.sico {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blue {
  color: var(--blue);
}
.yl {
  color: var(--yellow);
}
.l2 {
  color: var(--l2);
}
.red {
  color: var(--red);
}
.tab {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 83px;
  display: flex;
  justify-content: space-around;
  padding: 7px 4px 0;
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-top: 0.5px solid var(--sep);
  z-index: 6;
}
.tab button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 500;
  color: #8e8e93;
  flex: 1;
  position: relative;
}
.tab .on {
  color: var(--ac);
}
.tbd {
  position: absolute;
  top: -3px;
  left: calc(50% + 6px);
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  padding: 0 5px;
}
.tbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 83px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 22px 0;
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 0.5px solid var(--sep);
  color: var(--ac);
  z-index: 6;
}
.tbar .tbc {
  color: #fff;
  font-size: 11px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.tbar.yl {
  color: var(--yellow);
}
.tbar.rd {
  color: var(--red);
  font-size: 17px;
}
.seg {
  display: flex;
  margin: 2px 16px 10px;
  background: rgba(118, 118, 128, 0.24);
  border-radius: 9px;
  padding: 2px;
}
.seg button {
  flex: 1;
  height: 28px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.seg .on {
  background: #636366;
}
.hasseg .seg {
  position: absolute;
  top: 61px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  margin: 0;
  z-index: 2;
}
.hasseg .nbt {
  display: none;
}
.tg {
  width: 51px;
  height: 31px;
  border-radius: 16px;
  background: rgba(120, 120, 128, 0.32);
  position: relative;
  flex: none;
  transition: background 0.2s;
}
.tg i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.tg.on {
  background: var(--green);
}
.tg.on i {
  transform: translateX(20px);
}
.foot {
  color: var(--l2);
  font-size: 13px;
  margin: -14px 32px 22px;
  line-height: 1.35;
}
.pre {
  white-space: pre-wrap;
}

/* alerts, sheets, toasts */
.alw {
  position: absolute;
  inset: 0;
  z-index: 75;
  background: rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  animation: fade 0.2s;
}
.alb {
  width: 270px;
  border-radius: 14px;
  background: rgba(37, 37, 40, 0.9);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  text-align: center;
  overflow: hidden;
}
.alb.pop {
  animation: apop 0.3s cubic-bezier(0.2, 1.3, 0.4, 1);
}
@keyframes apop {
  from {
    transform: scale(1.15);
    opacity: 0;
  }
}
.alt {
  font-size: 17px;
  font-weight: 600;
  padding: 19px 16px 2px;
}
.alm {
  font-size: 13px;
  padding: 2px 16px 16px;
  line-height: 1.35;
}
.ali {
  margin: 0 16px 16px;
  width: calc(100% - 32px);
  height: 32px;
  border-radius: 7px;
  border: 0.5px solid #48484a;
  background: #1c1c1e;
  color: #fff;
  font-size: 15px;
  padding: 0 8px;
  outline: none;
}
.albs {
  display: flex;
  border-top: 0.5px solid #48484a;
}
.albs button {
  flex: 1;
  height: 44px;
  color: var(--blue);
  font-size: 17px;
  text-align: center;
}
.albs button + button {
  border-left: 0.5px solid #48484a;
}
.albs button.btn-b {
  font-weight: 600;
}
.albs.v {
  flex-direction: column;
}
.albs.v button + button {
  border-left: 0;
  border-top: 0.5px solid #48484a;
}
.shw {
  position: absolute;
  inset: 0;
  z-index: 75;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
  padding: 0 8px 34px;
  animation: fade 0.2s;
}
.sh {
  width: 100%;
}
.pop-up {
  animation: pup 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes pup {
  from {
    transform: translateY(110%);
  }
}
.shg {
  background: rgba(44, 44, 48, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 8px;
}
.shg button {
  display: block;
  width: 100%;
  height: 57px;
  font-size: 20px;
  color: var(--blue);
  text-align: center;
  border-top: 0.5px solid #48484a;
}
.shg button:first-child {
  border-top: 0;
}
.shg .btn-b {
  font-weight: 600;
}
.sht {
  font-size: 13px;
  color: var(--l2);
  padding: 14px;
  text-align: center;
}
.toast {
  position: absolute;
  left: 50%;
  top: 62px;
  transform: translateX(-50%);
  z-index: 80;
  background: rgba(44, 44, 48, 0.94);
  padding: 9px 16px;
  border-radius: 16px;
  font-size: 14px;
  white-space: nowrap;
  animation: fade 0.2s;
}
.fid {
  position: absolute;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.fid-b {
  width: 150px;
  height: 150px;
  border-radius: 30px;
  background: rgba(44, 44, 48, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  animation: apop 0.3s;
}
.fid.shake .fid-b {
  animation: sh 0.45s;
}
.flashw {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 90;
  animation: flashw 0.25s forwards;
  pointer-events: none;
}
@keyframes flashw {
  to {
    opacity: 0;
  }
}

/*  messages */
.av {
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: none;
  background: linear-gradient(#a7abb6, #7f838e);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.avg {
  position: relative;
  display: inline-block;
  flex: none;
}
.avg .av {
  position: absolute;
  border: 2px solid #000;
}
.avg .av:first-child {
  left: 0;
  top: 0;
}
.avg .av:last-child {
  right: 0;
  bottom: 0;
}
.pins {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 0;
  padding: 6px 10px 16px;
}
.pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--l2);
}
.pinav {
  position: relative;
  display: block;
}
.pin .ud {
  position: absolute;
  left: -8px;
  top: 6px;
  margin: 0;
}
.mrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 0 0 0 6px;
  text-align: left;
}
.ud {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  margin-top: 28px;
  display: block;
}
.ud0 {
  width: 10px;
  flex: none;
  display: block;
}
.mrow > .av,
.mrow > .avg {
  margin-top: 10px;
}
.mx {
  flex: 1;
  min-width: 0;
  border-bottom: 0.5px solid var(--sep);
  padding: 9px 14px 10px 0;
  display: flex;
  flex-direction: column;
}
.mrow:last-child .mx {
  border: 0;
}
.mt {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.mt b {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm {
  color: var(--l2);
  font-size: 15px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tm .ico {
  color: #5a5a5e;
}
.mp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--l2);
  font-size: 15px;
  line-height: 1.3;
  margin-top: 1px;
}
.thp .nbw {
  background: rgba(18, 18, 20, 0.84);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 0.5px solid var(--sep);
}
.thnb .nb {
  height: 84px;
  align-items: flex-start;
}
.bkc {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  min-width: 21px;
  height: 21px;
  border-radius: 11px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  margin-left: 1px;
}
.thw {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.thw > span:last-child {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  white-space: nowrap;
}
.thw .ico {
  color: var(--l2);
}
.thp .nbr {
  height: 44px;
}
.msgs {
  padding: 146px 12px 6px;
  bottom: 84px;
}
.dv {
  text-align: center;
  color: var(--l2);
  font-size: 11px;
  margin: 16px 0 7px;
}
.dv b {
  font-weight: 600;
}
.b {
  position: relative;
  z-index: 0;
  max-width: 74%;
  width: fit-content;
  padding: 7px 12px 8px;
  border-radius: 18px;
  font-size: 17px;
  line-height: 22px;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.b.me {
  background: #0b84fe;
  margin-left: auto;
}
.b.them {
  background: #262629;
}
.b.tl {
  margin-bottom: 8px;
}
.b.tl::before,
.b.tl::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 20px;
  z-index: -1;
}
.b.me.tl::before {
  right: -7px;
  width: 20px;
  background: #0b84fe;
  border-bottom-left-radius: 16px 14px;
}
.b.me.tl::after {
  right: -26px;
  width: 26px;
  background: #000;
  border-bottom-left-radius: 10px;
}
.b.them.tl::before {
  left: -7px;
  width: 20px;
  background: #262629;
  border-bottom-right-radius: 16px 14px;
}
.b.them.tl::after {
  left: -26px;
  width: 26px;
  background: #000;
  border-bottom-right-radius: 10px;
}
.b.emo {
  background: none !important;
  font-size: 46px;
  line-height: 1.1;
  padding: 0 2px;
}
.b.emo::before,
.b.emo::after,
.b.pb::before,
.b.pb::after {
  display: none;
}
.b.pb {
  padding: 0;
  overflow: hidden;
  background: none !important;
  border-radius: 18px;
}
.scn.bp {
  width: 210px;
  height: 240px;
}
.b.in {
  animation: bin 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.15);
}
.b.me.in {
  transform-origin: right bottom;
}
.b.them.in {
  transform-origin: left bottom;
}
@keyframes bin {
  from {
    transform: scale(0.6) translateY(12px);
    opacity: 0;
  }
}
.sn {
  font-size: 11px;
  color: var(--l2);
  margin: 8px 0 1px 48px;
}
.gr {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.gr > .av {
  margin-bottom: 8px;
}
.avsp {
  width: 28px;
  flex: none;
}
.rc {
  text-align: right;
  font-size: 11px;
  color: var(--l2);
  margin: -4px 4px 6px;
}
.rc.flip {
  animation: fade 0.6s;
}
.typr {
  margin: 2px 0 8px;
}
.typ {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  background: #262629;
  border-radius: 18px;
  width: fit-content;
  position: relative;
  animation: bin 0.3s;
  transform-origin: left bottom;
}
.typ i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8e8e93;
  animation: ty 1.3s infinite;
}
.typ i:nth-child(2) {
  animation-delay: 0.18s;
}
.typ i:nth-child(3) {
  animation-delay: 0.36s;
}
.typ::before,
.typ::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #262629;
}
.typ::before {
  width: 11px;
  height: 11px;
  left: -2px;
  bottom: -1px;
}
.typ::after {
  width: 5px;
  height: 5px;
  left: -6px;
  bottom: -5px;
}
@keyframes ty {
  0%,
  55%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  28% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.mpad {
  height: 4px;
}
.ib {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px 10px 36px;
  background: #000;
  z-index: 7;
  transition: bottom 0.25s ease-out, padding 0.25s;
}
.ibp {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--g2);
  display: grid;
  place-items: center;
  color: #a4a4a9;
  flex: none;
}
.ibf {
  flex: 1;
  min-height: 36px;
  border: 1px solid #3a3a3c;
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 6px 4px 6px 13px;
  position: relative;
  font-size: 17px;
  line-height: 22px;
}
.ibph {
  color: #68686d;
  flex: 1;
}
.ibt {
  flex: 1;
  display: none;
}
.ibf.has .ibph {
  display: none;
}
.ibf.has .ibt {
  display: block;
}
.ibm {
  color: #68686d;
  display: grid;
  place-items: center;
  padding-right: 6px;
}
.ibs {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  place-items: center;
  flex: none;
  align-self: flex-end;
}
.ibf.full .ibs {
  display: grid;
}
.ibf.has .ibm {
  display: none;
}
.ibf.live {
  border-color: #5a5a5e;
  cursor: text;
  animation: livep 2.4s ease-in-out infinite;
}
.ibf.live .ibph::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 20px;
  background: var(--blue);
  vertical-align: -4px;
  margin-right: 2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@keyframes livep {
  50% {
    border-color: #8e8e93;
  }
}
.kbon .ib {
  bottom: 291px;
  padding-bottom: 8px;
}
.kbon .msgs {
  bottom: 343px;
}
.kb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 291px;
  background: rgba(40, 40, 42, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transform: translateY(100%);
  transition: transform 0.25s ease-out;
  z-index: 8;
  padding: 0 3px;
}
.kb.on {
  transform: none;
}
.qt {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid #48484a;
}
.qt button {
  font-size: 15px;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qt button:active {
  background: #4a4a4c;
}
.kr {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 11px;
  padding: 0 0;
}
.kr button {
  flex: 1;
  max-width: 34px;
  height: 43px;
  border-radius: 5px;
  background: #6a6a6d;
  font-size: 22px;
  box-shadow: 0 1px 0 #000;
  display: grid;
  place-items: center;
}
.kr button:active {
  background: #8a8a8d;
}
.kr.r2 {
  padding: 0 18px;
}
.kr .fn {
  background: #454548;
  max-width: 44px;
  font-size: 16px;
}
.kr .w {
  max-width: 90px;
  font-size: 15px;
}
.kr .sp {
  max-width: none;
  flex: 4;
  font-size: 15px;
  background: #6a6a6d;
}

/* phone n calls */
.crow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
  min-height: 58px;
  position: relative;
}
.crow::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--sep);
}
.crow.fv {
  padding-left: 12px;
}
.crow.fv::after {
  left: 62px;
}
.cx {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  padding: 8px 0;
}
.cn {
  font-size: 17px;
  font-weight: 600;
}
.cn.red {
  color: var(--red);
}
.cs {
  font-size: 15px;
  color: var(--l2);
  display: flex;
  align-items: center;
  gap: 3px;
}
.ct {
  color: var(--l2);
  font-size: 15px;
}
.ci {
  color: var(--blue);
  padding: 0 14px 0 6px;
  height: 44px;
  display: grid;
  place-items: center;
}
.mycard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px 14px;
  text-align: left;
  width: 100%;
  border-bottom: 0.5px solid var(--sep);
}
.mycard b {
  display: block;
  font-size: 20px;
}
.mycard small {
  color: var(--l2);
  font-size: 14px;
}
.lrow {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  position: relative;
  font-size: 17px;
  font-weight: 600;
}
.lrow::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--sep);
}
.lrow .l2 {
  font-weight: 400;
}
.kpage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px !important;
}
.kdisp {
  height: 50px;
  font-size: 38px;
  letter-spacing: 1px;
}
.kp.dk {
  margin-top: 26px;
}
.kp.dk button,
.codep .kp button {
  background: #333336;
  backdrop-filter: none;
}
.kp.dk button:active,
.codep .kp button:active {
  background: #6a6a6d;
}
.kcall {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 26px;
  margin-top: 16px;
  align-items: center;
  justify-items: center;
}
.cbig {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  color: #fff;
}
.cbig span {
  position: absolute;
  bottom: -26px;
  font-size: 14px;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
}
.cbig.green {
  background: #30d158;
}
.cbig.red {
  background: #ff3b30;
}
.cbig.grey {
  background: rgba(255, 255, 255, 0.25);
}
.kdel {
  font-size: 26px;
  color: #fff;
}
.hidden {
  visibility: hidden;
}
.vrow {
  position: relative;
}
.vrow::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--sep);
}
.vh {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 0 16px 0 6px;
  text-align: left;
}
.vh .ud {
  margin-top: 19px;
}
.vx {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}
.vs {
  display: flex;
  justify-content: space-between;
  color: var(--l2);
  font-size: 15px;
}
.vb {
  padding: 2px 16px 16px 22px;
}
.prg {
  height: 4px;
  border-radius: 2px;
  background: var(--g3);
  overflow: hidden;
  margin-top: 6px;
}
.prg i {
  display: block;
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: 2px;
  transition: width 0.15s linear;
}
.vt {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--l2);
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.vc {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.vbtn {
  display: grid;
  place-items: center;
  color: #fff;
}
.vbtn.sm {
  color: var(--blue);
}
.vbtn.red {
  color: var(--red);
}
.vrow .vc .vbtn:first-child {
  margin-right: auto;
}
.vtr {
  margin-top: 12px;
  background: var(--g1);
  border-radius: 12px;
  padding: 10px 12px;
}
.vtr small {
  color: var(--l2);
  font-size: 12px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.vtr p {
  margin: 5px 0 0;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}
.tw {
  transition: color 0.2s;
}
.tw.on {
  color: #fff;
}
.cp {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 16px 18px;
  text-align: center;
}
.cp h2 {
  font-size: 28px;
  margin: 12px 0 0;
  font-weight: 600;
}
.cpb {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}
.cpb button {
  flex: 1;
  background: var(--g1);
  border-radius: 10px;
  padding: 9px 0 7px;
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.cph {
  display: flex;
  gap: 10px;
  font-size: 15px;
}

.call {
  position: absolute;
  inset: 0;
  z-index: 45;
  background: radial-gradient(ellipse at 50% 18%, #3c4c6a, transparent 70%),
    linear-gradient(#1e2433, #07080c);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 26px 66px;
  animation: fade 0.3s;
}
.call.ending {
  opacity: 0;
  transition: opacity 0.6s 0.5s;
}
.cl-top {
  text-align: center;
}
.cl-n {
  font-size: 34px;
  font-weight: 500;
}
.cl-s {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.cl-mid {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cap {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.capl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 6px;
}
.capb {
  max-height: 220px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: none;
}
.capb p {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}
.capb p.in {
  animation: capin 0.5s;
}
@keyframes capin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.cl-bot {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cl-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 22px;
}
.cl-row.sm button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  width: 78px;
}
.cl-row + .cl-row {
  margin-bottom: 20px;
}
.cl-grid {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 22px 28px;
}
.cg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.cg .ico {
  box-sizing: content-box;
  width: 30px;
  height: 30px;
  padding: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.almf {
  position: absolute;
  inset: 0;
  z-index: 46;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade 0.3s;
}
.almf::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(24px) brightness(0.6);
  -webkit-backdrop-filter: blur(24px) brightness(0.6);
}
.almf-in {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.almf-l {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 70px;
}
.snz.big {
  width: 260px;
  height: 58px;
  border-radius: 29px;
  font-size: 20px;
  flex: none;
}
.stp.big {
  width: 150px;
  height: 44px;
  border-radius: 22px;
  flex: none;
}

/*  mail */
.mlr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 0 0 0 4px;
  text-align: left;
}
.mlr .ud {
  margin-top: 15px;
}
.mlr .mx {
  padding: 10px 14px 11px 0;
}
.ms {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mv {
  padding: 0 16px 40px;
}
.mvh {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--sep);
}
.mvh .av {
  background: linear-gradient(#8f94a0, #6b6f7a);
}
.mvf {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 15px;
}
.mvs {
  font-size: 22px;
  margin: 14px 0 12px;
  font-weight: 700;
  line-height: 1.25;
}
.mvb {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.5;
}

/* notes */
.yel {
  --ac: var(--yellow);
}
.nr {
  align-items: flex-start;
}
.nr b {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.nr .l2 {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.nd {
  color: #fff;
  margin-right: 4px;
}
.ndt {
  text-align: center;
  color: var(--l2);
  font-size: 13px;
  margin: -4px 0 4px;
}
.nv {
  padding: 0 20px 60px;
}
.nv h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 12px;
  line-height: 1.2;
}
.nb_ {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.5;
}
.nb_ s {
  color: var(--l2);
}
.ck {
  margin: 4px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cki {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.35;
}
.ckb {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1.5px solid #5a5a5e;
  flex: none;
  display: grid;
  place-items: center;
  color: #000;
}
.cki.d .ckb {
  background: var(--yellow);
  border-color: var(--yellow);
}
.cki.d > span:last-child {
  color: var(--l2);
}
.nlk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 130px 40px 0;
  color: var(--l2);
}
.nlk h3 {
  color: #fff;
  font-size: 20px;
  margin: 16px 0 6px;
}
.nlk p {
  margin: 0;
  font-size: 15px;
}
.nlk button {
  margin-top: 18px;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 600;
}

/*  photos */
.scn {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.scn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  background: radial-gradient(
      ellipse at center,
      transparent 55%,
      rgba(0, 0, 0, 0.45)
    ),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.scn i {
  font-style: normal;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35)) saturate(0.85);
  transform: rotate(-4deg);
  line-height: 1;
}
.scn.t {
  width: 100%;
  height: 100%;
}
.scn.t i {
  font-size: 44px;
}
.scn.v {
  width: 100%;
  aspect-ratio: 3 / 4;
}
.scn.v i {
  font-size: 150px;
}
.scn.bp i {
  font-size: 96px;
}
.scn.shot {
  background: #f2f2f7;
  color: #111;
  place-items: start;
}
.shot-in {
  padding: 14% 10%;
  display: flex;
  flex-direction: column;
  gap: 0.65em;
  font-size: 17px;
  line-height: 1.3;
  width: 100%;
  text-align: left;
}
.shot-in div:first-child {
  font-size: 0.72em;
  color: #6b6b70;
}
.scn.t .shot-in {
  font-size: 7.5px;
}
.pho .nbw {
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent) !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
}
.pho .sc {
  padding-top: 54px;
}
.phd {
  padding-left: 10px;
  font-size: 17px;
}
.pmh {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 14px 8px;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pt {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: block;
}
.pdl {
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px #000;
}
.pcount {
  text-align: center;
  color: var(--l2);
  font-size: 13px;
  padding: 16px 0 0;
}
.agrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
}
.alc {
  text-align: left;
  display: flex;
  flex-direction: column;
}
.alc .scn {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 8px;
}
.alc b {
  font-size: 15px;
  font-weight: 500;
  margin-top: 6px;
}
.alc span:last-child {
  font-size: 15px;
  color: var(--l2);
}
.mem {
  display: block;
  margin: 0 16px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  text-align: left;
}
.mem .scn {
  aspect-ratio: 1;
}
.mem > span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
}
.mem b {
  font-size: 28px;
}
.mem small {
  font-size: 15px;
}
.pnote {
  color: var(--l2);
  font-size: 13px;
  text-align: center;
  padding: 0 24px 14px;
}
.pvp .nbw {
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.pvd {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  align-items: center;
}
.pvd b {
  font-size: 15px;
}
.pvd small {
  font-size: 12px;
  color: var(--l2);
  font-weight: 400;
}
.pv-info {
  padding: 14px 16px;
}
.pv-cap {
  font-size: 17px;
  padding: 4px 0 12px;
  border-bottom: 0.5px solid var(--sep);
}
.pv-cap.ph {
  color: var(--l3);
}
.pv-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  font-size: 15px;
}
.pv-map {
  height: 110px;
  border-radius: 12px;
  background: linear-gradient(160deg, #2f4033, #24343f 55%, #1c3247);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.pvb {
  color: var(--blue);
  align-items: center;
}

/*  calendar */
.cal {
  --ac: var(--red);
}
.calh {
  display: flex;
  align-items: center;
}
.calh .lt {
  margin: 0 0 4px 16px;
  flex: 1;
}
.calh button {
  color: var(--red);
  padding: 8px 10px;
}
.cwk,
.cgr {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 0 6px;
  text-align: center;
}
.cwk {
  font-size: 11px;
  color: var(--l2);
  padding-bottom: 6px;
  border-bottom: 0.5px solid var(--sep);
}
.cd {
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  font-size: 19px;
}
.cd span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cd.today span {
  color: var(--red);
  font-weight: 600;
}
.cd.sel span {
  background: #fff;
  color: #000;
  font-weight: 600;
}
.cd.today.sel span {
  background: var(--red);
  color: #fff;
}
.cd i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8e8e93;
  margin-top: 2px;
}
.cdl {
  padding: 14px 16px 6px;
  font-size: 15px;
  font-weight: 600;
  border-top: 0.5px solid var(--sep);
  margin-top: 6px;
}
.evr {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  padding: 8px 16px;
  text-align: left;
}
.evt {
  width: 50px;
  font-size: 13px;
  line-height: 1.3;
  text-align: right;
  flex: none;
}
.evt small {
  color: var(--l2);
}
.evc {
  width: 4px;
  border-radius: 2px;
  background: #bf5af2;
  flex: none;
}
.evc.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.evx {
  display: flex;
  flex-direction: column;
  font-size: 16px;
}
.evx small {
  color: var(--l2);
  font-size: 13px;
}
.evn {
  color: var(--l2);
  text-align: center;
  padding: 24px;
}
.evd {
  padding: 0 16px 20px;
}
.evd h2 {
  font-size: 24px;
  margin: 4px 0 4px;
}
.evw {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
}

/*  voice memos */
.mmr {
  position: relative;
  border-bottom: 0.5px solid var(--sep);
  margin-left: 16px;
}
.mmh {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 11px 16px 11px 0;
  gap: 2px;
}
.mmh b {
  font-size: 17px;
  font-weight: 600;
  transition: font-size 0.2s;
}
.mmh .mt {
  width: 100%;
  font-size: 15px;
}
.mmr.open .mmh b {
  font-size: 20px;
}
.mmb {
  padding: 0 16px 14px 0;
}
.mmb .vc {
  justify-content: center;
  gap: 40px;
}
.wv {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 46px;
  margin: 6px 0 2px;
}
.wv i {
  flex: 1;
  background: #8e8e93;
  border-radius: 1px;
  min-height: 2px;
}
.rec {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 112px;
  background: rgba(18, 18, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--sep);
  display: grid;
  place-items: center;
  padding-bottom: 22px;
  z-index: 6;
}
.rec button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
}
.rec i {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ff3b30;
}
.page:has(.rec) .sc {
  padding-bottom: 130px;
}

/*  safari */
.stw {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 180px 40px 0;
}
.sti {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(#6a68ee, #3634a3);
  display: grid;
  place-items: center;
}
.stw h2 {
  font-size: 28px;
  margin: 20px 0 6px;
}
.stw p {
  color: var(--l2);
  margin: 0;
  font-size: 17px;
}
.stb {
  margin-top: 26px;
  color: var(--blue);
  font-size: 17px;
}
.codep .cdw {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
}
.cd-sub {
  color: var(--l2);
  font-size: 14px;
  margin-bottom: 10px;
}
.codep .pw-b {
  position: static;
  width: 282px;
  margin-top: 22px;
}
.saf .sc.web {
  padding: 0 0 130px;
}
.saf .sc.web::before {
  content: "";
  display: block;
  height: 54px;
  background: inherit;
}
.sfb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  padding: 8px 12px 30px;
  border-top: 0.5px solid var(--sep);
  z-index: 6;
}
.sfa {
  height: 44px;
  border-radius: 12px;
  background: var(--g3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 16px;
}
.aa {
  font-size: 15px;
  font-weight: 600;
}
.sfu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sft {
  display: flex;
  justify-content: space-between;
  padding: 12px 10px 0;
  color: var(--blue);
}
.sft .dim {
  opacity: 0.35;
}
.tbg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 70px 18px 120px;
}
.tabsp .sc {
  padding-top: 0;
}
.tcard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  text-align: center;
  min-width: 0;
}
.tcw {
  display: block;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  position: relative;
  border: 3px solid transparent;
}
.tcard.cur .tcw {
  border-color: var(--blue);
}
.tcs {
  position: absolute;
  left: 0;
  top: 0;
  width: 393px;
  transform: scale(0.42);
  transform-origin: 0 0;
  pointer-events: none;
}
.tcard b {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hr {
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.hr::after {
  left: 58px;
}
.hico {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--g3);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  flex: none;
}
.hr b {
  font-weight: 400;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hr small {
  font-size: 13px;
}
.seg.wide {
  margin: 0 16px 8px;
}

/*  settings n small apps */
.prof {
  gap: 14px;
  padding: 10px 16px;
}
.prof b {
  font-size: 20px;
}
.bigp {
  font-size: 28px;
  font-weight: 600;
}
.battbar {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--g3);
  overflow: hidden;
  margin-top: 6px;
}
.battbar i {
  display: block;
  height: 100%;
}
.stbars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
  width: 100%;
  margin-top: 8px;
}
.stbars i {
  flex: 1;
  background: var(--blue);
  border-radius: 3px;
}
.slider {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--g3);
  margin: 10px 0;
  overflow: hidden;
}
.slider i {
  display: block;
  height: 100%;
  background: #fff;
}
.orn {
  --ac: var(--orange);
}
.alr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 0.5px solid var(--sep);
  margin-left: 16px;
  padding-left: 0;
}
.alt_ {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.alr small {
  font-size: 15px;
}
.alr.off {
  color: var(--l2);
}
.wcn {
  font-size: 26px;
}
.swt {
  font-size: 82px;
  font-weight: 200;
  text-align: center;
  margin-top: 140px;
  font-variant-numeric: tabular-nums;
}
.swt.sm {
  font-size: 30px;
  margin-top: 40px;
}
.swb {
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
}
.swb button {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #333;
  font-size: 17px;
  text-align: center;
}
.swb .g {
  background: rgba(48, 209, 88, 0.25);
  color: var(--green);
}
.page.wxp {
  background: linear-gradient(#5b6f88, #36445a 60%, #252f3f);
}
.wxp .sc {
  padding-top: 84px;
}
.wxh {
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.wxh small {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
}
.wxh h2 {
  margin: 2px 0 0;
  font-size: 32px;
  font-weight: 400;
}
.wxt {
  font-size: 96px;
  font-weight: 200;
  line-height: 1;
}
.wxc {
  margin: 18px 16px 0;
  background: rgba(40, 50, 70, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 12px 14px;
}
.wxn {
  font-size: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 5px;
  align-items: center;
}
.wxhr {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}
.wxhr span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}
.wxhr i {
  font-style: normal;
  font-size: 22px;
}
.wxd {
  display: grid;
  grid-template-columns: 58px 30px 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
  font-size: 17px;
}
.wxd:nth-child(2) {
  border-top: 0;
}
.wxd i {
  font-style: normal;
}
.wxbar {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5ac8fa, #ffd60a);
  display: block;
}
.mapp .sc {
  padding: 0;
}
.map {
  position: absolute;
  inset: 0;
}
.map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.me_ {
  position: absolute;
  left: 46%;
  top: 54%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0a84ff;
  border: 3px solid #fff;
  animation: pulse2 2s infinite;
}
@keyframes pulse2 {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 24px rgba(10, 132, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
  }
}
.msh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 14px 14px 0 0;
  padding: 8px 0 40px;
  max-height: 58%;
  overflow: auto;
}
.grab {
  display: block;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: #5a5a5e;
  margin: 0 auto 12px;
}
.mic_ {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--g2);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}
.msh .row {
  padding-top: 8px;
  padding-bottom: 8px;
}
.msh .row::after {
  left: 62px;
}
.msh .sech {
  margin-top: 14px;
}
.rdac {
  --ac: #fa2d48;
}
.mus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px;
}
.mc {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mart {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
}
.mart.sm {
  width: 46px;
  height: 46px;
  aspect-ratio: auto;
  background: var(--g2);
  border-radius: 6px;
  flex: none;
}
.mc b {
  font-size: 15px;
  font-weight: 500;
  margin-top: 5px;
}
.mc small {
  font-size: 13px;
}
.mini {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 91px;
  height: 62px;
  border-radius: 12px;
  background: rgba(40, 40, 44, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 8px;
  z-index: 7;
}
.mini > span:nth-child(2) {
  flex: 1;
}
.camp {
  background: #000;
}
.cam-t {
  position: absolute;
  top: 54px;
  left: 0;
  right: 0;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  color: #fff;
}
.cam-c {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}
.cam-live {
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  opacity: 0.8;
}
.vf {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.vfi {
  position: absolute;
  inset: 0;
}
.vfi .scn {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.wv1,
.wv2 {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 10%;
  top: 61%;
  background: linear-gradient(
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  animation: wvv 6s ease-in-out infinite;
}
.wv2 {
  top: 66%;
  animation-delay: -3s;
  opacity: 0.6;
}
@keyframes wvv {
  50% {
    transform: translateY(12px) scaleY(1.4);
    opacity: 0.3;
  }
}
.zm {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 22px;
}
.zm span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
}
.zm .on {
  color: #ffd60a;
  width: 38px;
  height: 38px;
}
.modes {
  position: absolute;
  bottom: 168px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transform: translateX(-34px);
}
.modes .on {
  color: #ffd60a;
}
.cam-b {
  position: absolute;
  bottom: 64px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 34px;
}
.cam-th {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.shut {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: grid;
  place-items: center;
}
.shut i {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.1s;
}
.shut:active i {
  transform: scale(0.88);
}
.cam-fl {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}

/* intro n endings */
.end {
  position: absolute;
  inset: 0;
  z-index: 95;
  background: #000;
  overflow-y: auto;
  display: flex;
}
.end-in {
  margin: auto;
  padding: 80px 30px 60px;
  max-width: 430px;
  width: 100%;
}
.end h2 {
  font-size: 30px;
  margin: 0 0 16px;
}
.end-tx {
  font-size: 17px;
  line-height: 1.6;
  color: #d1d1d6;
}
.end-tx.big {
  font-size: 20px;
  color: #fff;
  line-height: 1.55;
}
.end-res {
  font-size: 13px;
  color: #8e8e93;
  line-height: 1.5;
  margin-top: 26px;
}
.end-k {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #8e8e93;
  margin-bottom: 10px;
}
.end-in > button {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 15px;
  border-radius: 14px;
  background: var(--g1);
  color: var(--blue);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}
.fadein {
  animation: fade 0.9s;
}
.sndrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
}
.chip {
  padding: 7px 12px;
  border-radius: 16px;
  background: var(--g1);
  font-size: 14px;
}
.chip.on {
  color: var(--blue);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*  v3 additions */
.scn.real::after {
  display: none;
}
.scn.face {
  border-radius: 50%;
}
.edw {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.edw.me {
  align-items: flex-end;
}
.edw .b.old {
  display: none;
  opacity: 0.45;
  margin-bottom: 4px;
}
.edw.open .b.old {
  display: block;
  animation: fade 0.3s;
}
.edw .b.old::before,
.edw .b.old::after {
  display: none;
}
.edl {
  font-size: 11px;
  color: var(--blue);
  margin: -5px 6px 8px;
}
.fdot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-left: 5px;
  vertical-align: 2px;
}
.cnt {
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  padding: 0 7px;
}
.mrow.dl {
  padding-left: 16px;
}
.mrow.dl > .av {
  margin-top: 10px;
}
.dlt {
  font-size: 12px;
  color: var(--l3);
  margin-top: 2px;
}
.acc {
  padding: 20px 22px 40px;
  color: #2b2118;
  font-family: -apple-system, sans-serif;
}
.acc-h {
  font-family: Georgia, serif;
  font-size: 22px;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2d5bf;
  margin-bottom: 16px;
}
.acc h2 {
  font-size: 22px;
  margin: 4px 0 14px;
}
.acc label {
  display: block;
  font-size: 13px;
  color: #7a6650;
  margin: 12px 0 5px;
}
.acc-i {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d8c8ad;
  background: #fff;
  padding: 0 12px;
  font-size: 16px;
  color: #2b2118;
  outline: none;
  user-select: text;
  -webkit-user-select: text;
}
.acc-b {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background: #2b2118;
  color: #f6efe3;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}
.acc-l {
  color: #8a5a1c;
  font-size: 15px;
  margin-top: 14px;
  display: block;
}
.acc-err {
  color: #b42318;
  font-size: 13px;
  min-height: 16px;
  margin-top: 8px;
}
.acc-e {
  color: #7a6650;
  font-size: 13px;
  margin-bottom: 14px;
}
.ord {
  background: #fff;
  border: 1px solid #e2d5bf;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.ord-t {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
}
.ord-t span {
  color: #7a6650;
}
.ord-s {
  color: #b42318;
  font-weight: 600;
  margin-top: 4px;
  font-size: 13px;
}
.fm-map {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 560px;
  overflow: hidden;
}
.fm-map svg {
  width: 100%;
  height: 100%;
  display: block;
}
.fm-dot {
  position: absolute;
  transform: translate(-50%, -100%);
  transition: left 2s ease, top 2s ease;
}
.fm-dot .av {
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.fm-me {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: #0a84ff;
  border: 3px solid #fff;
  animation: pulse2 2s infinite;
}
.fm-sh {
  bottom: 83px;
  max-height: 46%;
}
.wstack {
  padding: 4px 16px 40px;
}
.wcard {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  height: 200px;
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.45);
  position: relative;
}
.wcard b {
  font-size: 17px;
}
.wcard span {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 2px;
}
.wpass {
  margin: 6px 16px;
  border-radius: 16px;
  padding: 20px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.wpass b {
  font-size: 22px;
}
.wpass > span {
  opacity: 0.85;
  margin-top: 4px;
}
.wdet {
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.5;
}
.wqr {
  margin: auto auto 0;
  background: #fff;
  color: #000;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
}
.remp .lt {
  color: #0a84ff;
}
.rrow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 16px;
  border-bottom: 0.5px solid var(--sep);
  margin-left: 0;
}
.rrow .col span {
  font-size: 17px;
}
.rrow small {
  font-size: 14px;
}
.rrow.done .col span {
  color: var(--l2);
}
.rck {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1.5px solid #5a5a5e;
  flex: none;
  margin-top: 1px;
}
.rck.on {
  background: #0a84ff;
  border-color: #0a84ff;
  box-shadow: inset 0 0 0 3px #000;
}

/* fixes group avatars above bubble tails n text in screenshot-style photos */
.gr > .av {
  position: relative;
  z-index: 1;
}
.scn .shot-in i {
  font-size: inherit !important;
  filter: none !important;
  transform: none !important;
  font-style: italic;
}
.scn.bp .shot-in {
  font-size: 15px;
  padding: 18% 12%;
}
.scn.bp.shot {
  place-items: center start;
}
.wpass.bank {
  min-height: 0;
  aspect-ratio: 1.586;
  justify-content: flex-start;
}
.txr {
  align-items: center;
  gap: 12px;
}
.txr .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.txr b {
  font-weight: 600;
  font-size: 16px;
}
.txr small {
  font-size: 13px;
}
.txi {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3a3a3c;
  display: grid;
  place-items: center;
  font-weight: 600;
  flex: none;
}
.txa {
  font-size: 16px;
  white-space: nowrap;
}
.txa.plus {
  color: #30d158;
}
.acc.lib {
  color: #1f2a24;
}
.acc.lib .acc-h {
  border-color: #d9d4c3;
}
.acc.lib .acc-b {
  background: #1f2a24;
  color: #e9e4d4;
}
.lib-sh {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7d8a6f;
  margin: 18px 0 8px;
}
.lib-ok {
  color: #2f7a46 !important;
}
.tcard {
  cursor: pointer;
}
.fm-sh .row {
  gap: 12px;
}
.fm-sh .row .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.fm-sh .row .rv {
  margin-left: auto;
  flex: none;
}
.qt.multi {
  justify-content: stretch;
  gap: 0;
  padding: 0 4px;
}
.qt.multi button {
  flex: 1 1 0;
  min-width: 0;
  font-size: 14px;
  text-align: center;
  padding: 6px 6px;
  position: relative;
}
.qt.multi button + button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 0.5px;
  background: #5a5a5e;
}
.qt button.on {
  background: #4a4a4c;
}
.qt.nudge {
  animation: qtn 0.5s;
}
@keyframes qtn {
  0%,
  100% {
    background: transparent;
  }
  40% {
    background: rgba(10, 132, 255, 0.28);
  }
}
.txr.pend b,
.txr.pend .txa {
  opacity: 0.75;
}
/* music */
.mart.xs {
  width: 46px;
  height: 46px;
  aspect-ratio: auto;
  border-radius: 6px;
  flex: none;
}
.mart.big {
  width: 220px;
  height: 220px;
  aspect-ratio: auto;
  border-radius: 10px;
  margin: 6px auto 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.plh {
  text-align: center;
  padding: 4px 20px 14px;
}
.plh h2 {
  font-size: 22px;
  margin: 14px 0 2px;
}
.pl-by {
  color: var(--ac, #fa2d48);
  color: #fa2d48;
  font-size: 17px;
}
.pl-sub {
  font-size: 13px;
  margin-top: 6px;
}
.trks {
  padding: 0 0 150px;
}
.trk {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 16px;
  text-align: left;
  position: relative;
}
.trk::after {
  content: "";
  position: absolute;
  left: 74px;
  right: 0;
  bottom: 0;
  height: 0.5px;
  background: var(--sep);
}
.trk .col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.trk b {
  font-weight: 400;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trk small {
  font-size: 13px;
}
.trk.on b {
  color: #fa2d48;
}
.trk.na {
  opacity: 0.35;
}
.trk-p {
  color: #fa2d48;
}
.mini button {
  color: #fff;
}
.mini-t {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}
.np {
  padding: 10px 26px 40px;
  display: flex;
  flex-direction: column;
}
.np-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  transform: scale(0.86);
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.np-art.pl {
  transform: scale(1);
}
.np-ti {
  display: flex;
  flex-direction: column;
  margin-top: 26px;
}
.np-ti b {
  font-size: 20px;
  font-weight: 600;
}
.np-ti span {
  font-size: 18px;
}
.np-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 22px;
  overflow: hidden;
  cursor: pointer;
}
.np-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: rgba(255, 255, 255, 0.85);
}
.np-tt {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--l2);
  margin-top: 6px;
}
.np-c {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 18px;
}
.np-c .dim {
  opacity: 0.35;
}
.np-note {
  text-align: center;
  font-size: 13px;
  margin-top: 18px;
}
.np-sp {
  border-radius: 14px;
  overflow: hidden;
  background: #282828;
}
.np-sp iframe {
  display: block;
  border: 0;
}
#hud button#hmus.off {
  opacity: 0.4;
}
/* library card photo */
.scn.libc {
  background: radial-gradient(
      ellipse at 30% 20%,
      rgba(255, 230, 190, 0.25),
      transparent 60%
    ),
    linear-gradient(160deg, #4a3a2c, #241a12);
  display: grid;
  place-items: center;
}
.lc-card {
  width: 78%;
  aspect-ratio: 1.586;
  background: linear-gradient(160deg, #26362c, #3d5245);
  border-radius: 6%/9%;
  color: #e9e4d4;
  padding: 7% 8%;
  display: flex;
  flex-direction: column;
  transform: rotate(-6deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
  font-family: -apple-system, sans-serif;
}
.scn.t .lc-card {
  font-size: 6px;
}
.scn.v .lc-card {
  font-size: 14px;
}
.lc-h {
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85em;
  color: #d9c07a;
}
.lc-n {
  font-size: 2.1em;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.lc-bc {
  height: 1.6em;
  margin: 0.5em 0;
  background: repeating-linear-gradient(
    90deg,
    #e9e4d4 0 2px,
    transparent 2px 4px,
    #e9e4d4 4px 5px,
    transparent 5px 8px
  );
  opacity: 0.8;
}
.lc-f {
  display: flex;
  justify-content: space-between;
  font-size: 0.75em;
  opacity: 0.85;
}
.ord.desk {
  border-color: #d9c07a;
  background: #fffaf0;
}
.desk-n {
  font-style: italic;
  color: #55604c;
  margin-top: 8px;
  font-size: 13px;
}
.mini.low {
  bottom: 34px;
}
.capme {
  color: #8ec5ff;
  font-style: italic;
}
/* the reply field during the finale -> to make it obvious you can type it shines blue */
.ibf.live {
  border-color: var(--blue) !important;
  animation: ibglow 1.6s ease-in-out infinite;
}
.ibf.live .ibph {
  color: #8ec5ff;
}
@keyframes ibglow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.35);
  }
}
/* ending credit + "start over" */
.end-cr {
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--g1);
  font-size: 14px;
  line-height: 1.55;
  color: #c7c7cc;
}
.end-cr a {
  color: var(--blue);
  font-weight: 600;
}
.end-in > button.ghost {
  margin-top: 10px;
  background: none;
  color: #8e8e93;
  font-weight: 500;
}
/* call buttons  */
.cr.red,
.cbig.red {
  color: #fff;
}
