:root {
  --wp: linear-gradient(165deg, #1b2440, #6a4c7d 45%, #e8998d 80%, #f6c9a0);
  --bl: #007aff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: #0d0e13;
  user-select: none;
}

#phone {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 393px;
  height: 852px;
  border-radius: 56px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 9px #1b1b1e, 0 0 0 11px #4a4a50, 0 40px 90px #000c;
  transform: translate(-50%, -50%) scale(var(--s, 1));
}

#phone.full {
  border-radius: 0;
  box-shadow: none;
}

#phone.full #isl {
  display: none;
}

.scr {
  position: absolute;
  inset: 0;
}

.wp {
  background: var(--wp);
}

#sb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  z-index: 80;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 34px 0 48px;
  color: #fff;
  font-size: 17px;
  pointer-events: none;
}

#sb .r {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 15px;
}

.sig {
  display: flex;
  gap: 1.5px;
  align-items: flex-end;
  height: 11px;
}

.sig i {
  width: 3.5px;
  background: currentColor;
  border-radius: 1px;
}

.sig i:nth-child(1) {
  height: 4px;
}

.sig i:nth-child(2) {
  height: 6px;
}

.sig i:nth-child(3) {
  height: 8px;
}

.sig i:nth-child(4) {
  height: 11px;
}

.bat {
  position: relative;
  width: 28px;
  height: 13px;
  border-radius: 4.5px;
  overflow: hidden;
  margin-left: 2px;
}

.bat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: .3;
}

.bat i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 85%;
  background: currentColor;
  border: 0;
}

.bat b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  mix-blend-mode: difference;
  color: #fff;
}

#isl {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 124px;
  height: 36px;
  margin-left: -62px;
  border-radius: 20px;
  background: #000;
  z-index: 85;
}

#bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 140px;
  height: 5px;
  margin-left: -70px;
  border-radius: 3px;
  background: #fff;
  z-index: 90;
  cursor: pointer;
}

#bar::after {
  content: "";
  position: absolute;
  inset: -22px -90px;
}

#phone[data-ui=dark] #sb {
  color: #000;
}

#phone[data-ui=dark] #bar {
  background: #000;
}

/* lock + passcode */
#lock {
  z-index: 50;
  color: #fff;
  text-align: center;
}

#lt {
  line-height: 1.05;
}

#notif,
.nf {
  position: absolute;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 11px;
  align-items: center;
  text-align: left;
  padding: 13px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 0;
  transform: translateY(40px);
  transition: .5s;
  cursor: pointer;
}

#notif.in,
.nf.in {
  opacity: 1;
  transform: none;
}

#notif u,
.nf u {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

#notif p,
.nf p {
  flex: 1;
  font-size: 15px;
  line-height: 1.3;
}

#notif p b,
.nf p b {
  display: block;
}

#notif small,
.nf small {
  align-self: flex-start;
  font-size: 13px;
  opacity: .8;
}

#lhint {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  font-size: 14px;
  opacity: .85;
  cursor: pointer;
}

.qb {
  position: absolute;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

#pass {
  color: #fff;
  text-align: center;
  pointer-events: none;
}

#pass.show {
  opacity: 1;
  pointer-events: auto;
}

#pass h3 {
  margin-top: 110px;
  font-size: 20px;
  font-weight: 500;
}

#pdots {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 26px 0 44px;
}

#pdots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #fff;
}

#pdots i.f {
  background: #fff;
}

#pdots.shake {
  animation: sh .45s;
}

@keyframes sh {

  20%,
  60% {
    transform: translateX(-12px);
  }

  40%,
  80% {
    transform: translateX(12px);
  }
}

#pad {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 16px 22px;
  justify-content: center;
}

#pad b {
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  backdrop-filter: blur(14px);
  place-items: center;
  font-weight: 400;
  cursor: pointer;
}


#pad b.e {
  background: none;
  pointer-events: none;
}

#pbot {
  display: flex;
  justify-content: space-between;
  font-size: 17px;
}


/* home */
#home {
  z-index: 1;
  padding: 66px 20px 0;
}

.wg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 24px;
}

.w1,
.w2 {
  height: 169px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
}

.w1 {
  padding: 14px;
  background: linear-gradient(#4a8fe0, #6fa9ea);
}

.w1 h4 {
  font-size: 15px;
  font-weight: 600;
}

.w1 .t {
  font-size: 50px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
}

.w2 {
  background: #fff;
  color: #000;
  padding: 10px 12px;
}

.mc {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  font-size: 10.5px;
  text-align: center;
  row-gap: 3px;
  margin-top: 5px;
  line-height: 16px;
}

.mc b {
  color: #8e8e93;
  font-weight: 600;
  font-size: 9px;
}

.mc>*:nth-child(7n+1) {
  color: #ff6b6b;
}

.mc .td {
  background: #ff3b30;
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  width: 17px;
  margin: auto;
}

.g {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 22px;
  justify-items: center;
}

.ic {
  width: 64px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 3px #0005;
}

.ic u {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 6px;
  text-decoration: none;
  position: relative;
}

.ic u:active {
  filter: brightness(.75);
}

.ic u svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.bd {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #ff3b30;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.dock {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 26px;
  height: 90px;
  border-radius: 34px;
  background: rgba(255, 255, 255, .25);
  backdrop-filter: blur(22px);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.dock .ic span {
  display: none;
}

.dock .ic u {
  margin: 0;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 9px;
  letter-spacing: 6px;
}

/* app shell ios */
.app {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: #fff;
  color: #000;
  opacity: 0;
  pointer-events: none;
}

.app.open {
  opacity: 1;
  pointer-events: auto;
}

.v {
  position: absolute;
  inset: 0;
  display: none;
  overflow: auto;
  padding: 54px 0 96px;
  background: #fff;
}

.v.on {
  display: block;
}

.v.fx.on {
  display: flex;
  flex-direction: column;
}

.nv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
  padding: 0 16px;
  font-size: 17px;
}

.bk {
  color: var(--bl);
  font-size: 17px;
}

.y {
  color: #e5a000;
}

.rd {
  color: #ff3b30;
}

.ttl {
  font-size: 34px;
  font-weight: 700;
  padding: 4px 20px 8px;
}

.srch {
  margin: 0 16px 12px;
  height: 36px;
  border-radius: 10px;
  background: #7676801f;
  color: #8e8e93;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 17px;
  gap: 6px;
}

.sec {
  padding: 14px 20px 6px;
  font-size: 20px;
  font-weight: 700;
}

.grp {
  margin: 0 16px 20px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.gy {
  background: #f2f2f7;
}

.li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 17px;
  cursor: pointer;
}

.li:last-child {
  border: 0;
}

.li s {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 17px;
  color: #fff;
}

.li em {
  margin-left: auto;
  font-style: normal;
  color: #8e8e93;
  font-size: 16px;
  white-space: nowrap;
}

.tb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  border-top: .5px solid #c6c6c8;
  display: none;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 9px;
  font-size: 10px;
  color: #8e8e93;
  z-index: 5;
  text-align: center;
}

.tb i {
  display: block;
  font-style: normal;
}

.tb .a {
  color: var(--bl);
}

.tb b {
  font-weight: 400;
  font-size: 17px;
}

.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(#a5acb8, #7d8492);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 44px;
  text-align: center;
  background-size: cover;
  flex: none;
}

/* notes */
.nr {
  border-bottom: .5px solid #c6c6c8;
  cursor: pointer;
}

.nr:last-child {
  border: 0;
}

.nr b {
  display: block;
}

.nr p {
  color: #8e8e93;
  margin: 2px 0;
}

.nr p span {
  color: #000;
  margin-right: 8px;
}

.nr small {
  font-size: 13px;
  color: #8e8e93;
}

.nb {
  padding: 6px 20px;
}

.nb small {
  display: block;
  text-align: center;
  color: #8e8e93;
  font-size: 13px;
  margin-bottom: 14px;
}

.nb h1 {
  font-size: 28px;
  margin-bottom: 6px;
}

.nb p {
  font-size: 17px;
  line-height: 1.4;
  white-space: pre-line;
}

/* photos */
.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.ti {
  aspect-ratio: 1;
  cursor: pointer;
  background-size: cover;
}

.seg {
  position: absolute;
  display: flex;
  background: #f2f2f7f0;
  border-radius: 22px;
  padding: 3px;
  font-size: 14px;
  box-shadow: 0 2px 12px #0002;
  z-index: 6;
}

.seg span {
  padding: 8px 13px;
  border-radius: 19px;
}

.seg .a {
  background: #fff;
  font-weight: 600;
  box-shadow: 0 1px 3px #0002;
}

#pimg {
  flex: 1;
  margin: 0;
}

/* instagram */
.sto {
  display: flex;
  gap: 12px;
  padding: 6px 14px 10px;
  overflow: hidden;
  font-size: 12px;
  text-align: center;
}

.sto div {
  width: 70px;
}

.sto i {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #feda75, #d62976, #4f5bd5);
  margin-bottom: 4px;
}

.sto i u {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
  background-size: cover;
  background-color: #ccd;
}

.ph {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
}

.ph .av {
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
}

.ph em {
  margin-left: auto;
  font-style: normal;
  font-weight: 400;
}

.pim {
  background-size: cover;
  background-position: center;
}

.pa {
  display: flex;
}

.pa span:last-child {
  margin-left: auto;
}

.pt {
  padding: 2px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.pt small {
  color: #8e8e93;
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.ig {
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: 30px;
}

.pf {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 6px 18px 10px;
  font-size: 14px;
  text-align: center;
}

.pf .av {
  width: 84px;
  height: 84px;
  line-height: 84px;
  font-size: 34px;
}

.pf b {
  display: block;
  font-size: 17px;
}

.eb {
  margin: 0 16px 12px;
  height: 32px;
  border-radius: 8px;
  background: #efefef;
  font-weight: 600;
  font-size: 14px;
  display: grid;
  place-items: center;
}

/* calendar */
.cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0 10px;
  row-gap: 2px;
}

.cal b {
  font-size: 12px;
  color: #8e8e93;
  padding: 6px 0;
}

.cal div {
  height: 42px;
  font-size: 19px;
  border-top: .5px solid #e5e5ea;
  padding-top: 4px;
  position: relative;
}

.cal div span {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
}

.cal .td span {
  background: #ff3b30;
  color: #fff;
  font-weight: 600;
}

.cal div u {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2px;
  border-radius: 50%;
  background: #8e8e93;
}

.ev {
  display: flex;
  gap: 10px;
  padding: 10px 20px;
  font-size: 15px;
  line-height: 1.35;
}

.ev i {
  width: 4px;
  border-radius: 2px;
  background: #ff3b30;
}

.ev small {
  color: #8e8e93;
  display: block;
}

/* maps */
.map {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, #fff 0 7px, transparent 7px 90px), repeating-linear-gradient(90deg, #fff 0 7px, transparent 7px 110px), #ece8dc;
  overflow: hidden;
}

.map::before {
  content: "";
  position: absolute;
  left: -20%;
  top: 36%;
  width: 150%;
  height: 60px;
  background: #a8d3f0;
  transform: rotate(-14deg);
}

.map::after {
  content: "";
  position: absolute;
  left: 58%;
  top: 8%;
  width: 140px;
  height: 130px;
  background: #bfe3b0;
  border-radius: 18px;
}

.pin {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -100%);
}

.fb {
  position: absolute;
  right: 12px;
  width: 44px;
  height: 44px;
  background: #fffe;
  display: grid;
  place-items: center;
  color: var(--bl);
  box-shadow: 0 2px 8px #0003;
  z-index: 3;
}

.sh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 330px;
  background: #f2f2f7;
  border-radius: 14px 14px 0 0;
  padding: 8px 16px;
  z-index: 4;
  box-shadow: 0 -2px 14px #0003;
}

.sh::before {
  content: "";
  display: block;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: #c6c6c8;
  margin: 0 auto 10px;
}

.fav {
  display: flex;
  gap: 26px;
  margin: 4px 0 14px;
  font-size: 12px;
  text-align: center;
}

.fav s {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  text-decoration: none;
  margin-bottom: 4px;
}

/* gmail */
.gs {
  margin: 6px 12px 8px;
  border-radius: 24px;
  background: #e9eef6;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #444;
  font-size: 16px;
}

.gs .av {
  margin-left: auto;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
}

.gm {
  display: flex;
  gap: 14px;
  padding: 10px 16px;
  cursor: pointer;
}

.gm div {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
}

.gm b {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.gm b small {
  font-weight: 400;
  color: #5f6368;
}

.gm p {
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fab {
  position: absolute;
  right: 16px;
  bottom: 100px;
  border-radius: 16px;
  background: #c2e7ff;
  font-size: 15px;
  z-index: 4;
}

/* safari */
.fg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 6px;
  padding: 8px 20px;
  text-align: center;
  font-size: 11px;
  color: #555;
}

.fg u {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 5px;
  background: #fff;
  text-decoration: none;
}

.ab {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 96px;
  height: 44px;
  border-radius: 14px;
  background: #e9e9ee;
  place-items: center;
  font-size: 16px;
  color: #555;
}

/* keypad */
.kp {
  display: grid;
  grid-template-columns: repeat(3, 78px);
  gap: 14px 24px;
  justify-content: center;
  margin-top: 10px;
}

.kp b {
  height: 78px;
  border-radius: 50%;
  background: #e5e5ea;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.kp b small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: #333;
  margin-top: -2px;
}

/* messages */
.mh {
  position: relative;
  text-align: center;
  border-bottom: .5px solid #c6c6c8;
}

.mh .bk {
  position: absolute;
  font-size: 36px;
  line-height: 1;
}


.mh .vd {
  position: absolute;
  color: var(--bl);
}

.thr {
  flex: 1;
  min-height: 0;
  overflow: auto;
  flex-direction: column;
}

.thr small {
  text-align: center;
  color: #8e8e93;
  font-size: 12px;
  margin: 6px 0;
}

.thr small.dl {
  text-align: right;
  margin: 0 4px;
}

.b {
  font-size: 17px;
  animation: pop .2s;
}

@keyframes pop {
  from {
    transform: scale(.85);
    opacity: 0;
  }
}

.b.me {
  align-self: flex-end;
  background: #0b84fe;
  color: #fff;
}

.b.them {
  align-self: flex-start;
  background: #e9e9eb;
}

.tp {
  display: flex;
  gap: 4px;
  padding: 13px 14px;
}

.tp i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9a9aa0;
  animation: bl 1s infinite;
}

.tp i:nth-child(2) {
  animation-delay: .2s;
}

.tp i:nth-child(3) {
  animation-delay: .4s;
}

@keyframes bl {
  50% {
    opacity: .3;
  }
}

.ib {
  display: flex;
  align-items: flex-end;
}

.ib>i {
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}

.fld {
  flex: 1;
  border: 1px solid #c8c8cc;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
}

#inp {
  flex: 1;
  word-break: break-word;
}

#inp:empty::before {
  content: "iMessage";
  color: #aaa;
}

#mic {
  color: #8e8e93;
}

#snd {
  display: none;
  background: var(--bl);
  color: #fff;
  text-align: center;
}


.fld.has #mic {
  display: none;
}

#phone.kbu #inp::after {
  content: "";
  border-left: 2px solid var(--bl);
  margin-left: 1px;
  animation: bl 1s infinite;
}

#kb {
  height: 0;
  overflow: hidden;
  transition: height .35s;
}

#kb.up {
  height: 336px;
}

.pr {
  display: flex;
  font-size: 16px;
  align-items: center;
  text-align: center;
}

.pr span {
  flex: 1;
  border-right: .5px solid #b9bcc2;
  line-height: 26px;
}

.pr span:last-child {
  border: 0;
}

.kr {
  display: flex;
  justify-content: center;
  margin: 11px 0 0;
}

.k {
  background: #fff;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 22px;
}

.k.sp {
  font-size: 15px;
}

.k.rt {
  font-size: 16px;
  background: #adb3bc;
}

.k.m {
  background: #adb3bc;
  font-size: 16px;
}

.kg {
  display: flex;
  justify-content: space-between;
  padding: 6px 20px;
  font-size: 22px;
  color: #444;
}

/* call */
#call {
  z-index: 70;
  color: #fff;
  text-align: center;
  background: linear-gradient(#323853, #12141d);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

#call.on {
  opacity: 1;
  pointer-events: auto;
}

#call .av {
  width: 72px;
  height: 72px;
  line-height: 72px;
  font-size: 32px;
  margin: 70px auto 8px;
}

#call h2 {
  font-size: 28px;
  font-weight: 500;
}

#cs {
  margin-top: 2px;
  font-size: 16px;
  opacity: .75;
}

#ct {
  left: 14px;
  right: 14px;
  top: 222px;
  bottom: 268px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 15px;
}

#call.inc #ct {
  display: none;
}

.cm {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 16px;
  line-height: 1.3;
  animation: pop .2s;
}

.cm small {
  display: block;
  font-size: 11px;
  opacity: .7;
  margin-bottom: 1px;
}

.cm.them {
  align-self: flex-start;
  background: rgba(255, 255, 255, .2);
}

.cm.me {
  align-self: flex-end;
  background: rgba(10, 132, 254, .75);
}

#cin,
#cact {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
}

#cin {
  display: none;
  justify-content: space-around;
  padding: 0 50px;
  bottom: 110px;
}

#call.inc #cin {
  display: flex;
}

#cin div {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

#cact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

#call.inc #cact {
  display: none;
}

.cb {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  place-items: center;
  margin: auto;
}

.cb.r {
  background: #ff3b30;
}

.cb.g {
  background: #34c759;
}

#cact .cb.r {
  transform: rotate(135deg);
}

.cg {
  display: grid;
  font-size: 22px;
}

.cg i {
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-style: normal;
}

/* ios timpa*/
body {
  overscroll-behavior: none;
  touch-action: manipulation;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", system-ui, sans-serif;
}

#phone {
  letter-spacing: -.025em;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

.io {
  display: inline-flex;
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  flex: none;
}

.io svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.bk,
.nv b,
.nv span {
  display: inline-flex;
  align-items: center;
}

.bk .io {
  font-size: 26px;
  margin-left: -6px;
  margin-right: 2px;
}

.nv>b .io,
.nv>span .io {
  font-size: 24px;
}

.nv span[style*="22px"] {
  gap: 18px;
}

.srch .io {
  font-size: 16px;
  color: #8e8e93;
}

.srch {
  cursor: text;
}

/* press + hover states */
.ic u {
  transition: transform .2s var(--ease), filter .2s;
  border-radius: 22.4%;
}

.ic:active u {
  transform: scale(.9);
  filter: brightness(.75);
}

.li,
.nr,
.gm {
  transition: background .3s;
}

.li:active,
.nr:active,
.gm:active {
  background: #d1d1d6;
  transition: none;
}

.bk,
.tb>*,
.fb,
.fab,
.cb,
.qb,
#pbot span,
.pa span {
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}

.bk:active,
.tb>*:active,
.fb:active,
.pa span:active {
  opacity: .35;
}

@media(hover:hover) {
  .ic:hover u {
    filter: brightness(1.1);
  }

  .li:hover,
  .nr:hover,
  .gm:hover {
    background: #0000000a;
  }

  .tb>*:hover,
  .bk:hover {
    opacity: .7;
  }

  .fab:hover {
    box-shadow: 0 2px 6px #0004, 0 6px 14px 4px #00000018;
  }
}

/* app open/close */
.app {
  transform: scale(.14);
  border-radius: 50px;
  overflow: hidden;
  transition: transform .45s var(--ease), opacity .22s, border-radius .45s var(--ease);
}

.app.open {
  transform: none;
  border-radius: 0;
}

#home {
  transition: transform .45s var(--ease), filter .45s;
}

#phone.inapp #home {
  transform: scale(.92);
  filter: blur(6px);
}

@media(prefers-reduced-motion:reduce) {

  .app,
  #home {
    transition-duration: .01s;
  }
}

/* home */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  bottom: 118px;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff6;
}

.dots i.on {
  background: #fff;
}

/* lock */
#ld {
  margin-top: 84px;
  font-size: 21px;
  font-weight: 600;
  opacity: .85;
}

#lt {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif;
  font-size: 100px;
  font-weight: 700;
  color: #ffffffd9;
}

.qb {
  width: 52px;
  height: 52px;
  background: #0005;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 23px;
}

.qb:active {
  transform: scale(.9);
}

#pad b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  transition: background .4s;
}

#pad b small {
  font-size: 10px;
  font-weight: 600;
  margin: 3px -2px 0 0;
  height: 12px;
}

#pad b:active {
  transition: none;
  background: #ffffff80;
}

/* lists */

.li {
  position: relative;
  border: 0;
  min-height: 44px;
}

.li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 0;
  bottom: 0;
  border-bottom: .5px solid #c6c6c8;
}

.li:has(s):not(:last-child)::after {
  left: 58px;
}

.li s .io {
  font-size: 18px;
}

.li em {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.li em .io {
  font-size: 14px;
  color: #c4c4c7;
}

.nr small {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* tab bars */
.tb {
  background: #f9f9f9d9;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  font-weight: 500;
}

.tb>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 56px;
}

.tb i {
  font-size: 25px;
  line-height: 1;
  margin: 0;
}

.tb i .io {
  vertical-align: top;
}

.tb>b,
.tb>span {
  display: inline-flex;
}

.tb b .io {
  font-size: 24px;
}

.tb>span {
  font-size: 26px;
}

.tb>span .io {
  font-size: 26px;
}

#app-insta .tb {
  color: #000;
}

/* messages list */
#ml .gm {
  position: relative;
  padding: 10px 16px 10px 28px;
  align-items: center;
  min-height: 72px;
}

#ml .gm::after {
  content: "";
  position: absolute;
  left: 76px;
  right: 0;
  bottom: 0;
  border-bottom: .5px solid #c6c6c8;
}

#ml .ud {
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bl);
}

#ml .gm b {
  font-size: 17px;
}

#ml .gm small {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
}

#ml small .io {
  font-size: 12px;
  color: #c4c4c7;
}

#ml .gm p {
  font-size: 15px;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* chat */
.mh {
  padding: 50px 0 8px;
  background: #f7f7f7d9;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  font-size: 11px;
  color: #000;
  z-index: 2;
}

.mh .bk {
  left: 8px;
  top: 60px;
  color: var(--bl);
  display: inline-flex;
}

.mh .bk .io {
  font-size: 30px;
}

.mh .av {
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto 4px;
}

#mname {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

#mname .io {
  font-size: 9px;
  color: #8e8e93;
}

.mh .vd {
  right: 16px;
  top: 64px;
  font-size: 26px;
  display: inline-flex;
}

.thr {
  padding: 12px 14px 6px;
  gap: 2px;
  background: #fff;
}

.thr>small:first-child {
  font-size: 11px;
  line-height: 1.35;
  margin: 4px 0 8px;
}

.thr small.dl {
  font-size: 11px;
  font-weight: 500;
}

.b {
  position: relative;
  isolation: isolate;
  max-width: 75%;
  padding: 7px 12px 8px;
  border-radius: 18px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.b.me+.b.them,
.b.them+.b.me,
.dl+.b {
  margin-top: 7px;
}

.b.tail::before,
.b.tail::after {
  content: "";
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.b.me.tail::before {
  background: #0b84fe;
}

.b.me.tail::after {
  background: #fff;
}

.b.them.tail::before {
  background: #e9e9eb;
}

.b.them.tail::after {
  background: #fff;
}

.ib {
  padding: 8px 10px 10px;
  gap: 8px;
  background: #fff;
}

.ib>i {
  width: 34px;
  height: 34px;
  background: #e9e9eb;
  color: #6c6c70;
  font-size: 20px;
  cursor: pointer;
}

.fld {
  min-height: 36px;
  border-radius: 19px;
  padding: 4px 5px 4px 14px;
}

#mic {
  font-size: 20px;
  display: inline-flex;
}

#snd {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  place-items: center;
}

.fld.has #snd {
  display: grid;
}

/* keyboard */
#kb {
  background: #d2d5db;
}

.pr {
  height: 40px;
  border-bottom: 0;
}

.kr {
  gap: 6px;
  padding: 0 3px;
}

#keys .kr:nth-child(2) {
  padding: 0 21px;
}

.kr>span {
  display: none;
}

.k {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 43px;
  cursor: pointer;
  box-shadow: 0 1px 0 #8a8c91;
}

.k.w {
  flex: 1.45;
  background: #adb3bc;
  font-size: 20px;
}

.k.w .io {
  font-size: 21px;
}

.k.m {
  flex: 1.35;
}

.k.sp {
  flex: 5;
}

.k.rt {
  flex: 2;
}

.k.p {
  background: #fff;
  transform: none;
}

.k.p[data-k]:not(.sp)::after {
  content: attr(data-k);
  position: absolute;
  bottom: calc(100% - 4px);
  left: -6px;
  right: -6px;
  height: 54px;
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 2px 6px #0004;
  z-index: 5;
}

.kg .io {
  font-size: 24px;
}

.kg {
  align-items: center;
}

/* gmail */
.gm>.av {
  flex: none;
}

.gm>div:not(.av) {
  flex: 1;
  min-width: 0;
}

.gm {
  align-items: flex-start;
}

.gm .av {
  margin-top: 2px;
}

.gs {
  height: 50px;
  gap: 12px;
}

.gs .io {
  font-size: 22px;
}

.fab {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #001d35;
  font-weight: 500;
  padding: 16px 20px;
  box-shadow: 0 1px 3px #0003, 0 4px 8px 3px #00000014;
}

.fab:active {
  transform: scale(.96);
}

.fab .io {
  font-size: 22px;
}

#app-gmail .tb {
  border-top: 0;
  height: 82px;
}


#app-gmail .tb .a i {
  background: #d3e3fd;
  border-radius: 16px;
  padding: 4px 20px;
  box-sizing: content-box;
}

/* instagram */
.pa {
  font-size: 26px;
  color: #000;
}

.pa span {
  display: inline-flex;
}

.pa .lk {
  color: #ff3040;
}

.pa .lk svg {
  animation: pop .25s;
}

/* maps / safari / call */
.pin {
  font-size: 44px;
  color: #ff3b30;
  display: flex;
  filter: drop-shadow(0 2px 3px #0005);
}

.fb {
  font-size: 22px;
  border-radius: 10px;
}

.fb:active {
  background: #e5e5ea;
}

.fav s {
  color: var(--bl);
  font-size: 24px;
}

.fg u {
  border-radius: 22.4%;
  font-size: 30px;
  box-shadow: 0 1px 2px #0001;
}

.ab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ab .io {
  font-size: 15px;
}

.cb {
  font-size: 32px;
}

.cb:active {
  opacity: .7;
}

.cg div {
  display: grid;
  justify-items: center;
  gap: 7px;
  font-size: 13px;
}

.cg i {
  font-size: 28px;
}

/* font */
.ttl {
  letter-spacing: .012em;
}

.tb,
.tb *,
small,
.seg,
.fav,
.sto,
.mc,
.cal b,
#pad b small,
.k,
.ph {
  letter-spacing: .01em;
}

.k {
  letter-spacing: 0;
}

#lt {
  letter-spacing: -.02em;
}

/* ekor bubble */
.b.tail::before,
.b.tail::after {
  height: 14px;
}

.b.me.tail::before {
  right: -5px;
  width: 15px;
  border-bottom-left-radius: 12px 10px;
}

.b.me.tail::after {
  right: -20px;
  width: 20px;
  border-bottom-left-radius: 8px;
}

.b.them.tail::before {
  left: -5px;
  width: 15px;
  border-bottom-right-radius: 12px 10px;
}

.b.them.tail::after {
  left: -20px;
  width: 20px;
  border-bottom-right-radius: 8px;
}

/* tombol senter/kamera lockscreen naik */
.qb {
  bottom: 86px;
}

#notif,
.nf {
  bottom: 156px;
}

/* input bar naik di atas home indicator. pas keyboard muncul, rapat ke keyboard */
.ib {
  padding-bottom: 34px;
  transition: padding .3s;
}

#phone.kbu .ib {
  padding-bottom: 8px;
}

.thr {
  overflow-x: hidden;
}

.thr::-webkit-scrollbar,
.v::-webkit-scrollbar {
  display: none;
}

.thr,
.v {
  scrollbar-width: none;
}

/* call screen */
#call {
  display: flex;
  flex-direction: column;
}

#call .av {
  flex: none;
}

#ct {
  position: static;
  flex: 1;
  min-height: 0;
  margin: 14px 14px 0;
  overflow: hidden;
  justify-content: flex-start;
}

#cact {
  position: static;
  flex: none;
  margin-bottom: 64px;
  padding-top: 10px;
}

.cg {
  grid-template-columns: repeat(3, 72px);
  gap: 16px 18px;
}

.cg i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  flex: none;
}

.cm {
  max-height: 140px;
  transition: opacity .3s, transform .35s, max-height .35s, padding .35s, margin .35s;
}

.cm.out {
  opacity: 0;
  transform: translateY(-26px);
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: -3px 0;
  overflow: hidden;
}

/* banner notifikasi */
#banner {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 60px;
  z-index: 88;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 26px;
  background: #f6f6f6e0;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  color: #000;
  box-shadow: 0 6px 24px #0003;
  transform: translateY(-140%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .3s;
  cursor: pointer;
  pointer-events: none;
}

#banner.in {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

#banner u {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
}

#banner u svg {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

#banner p {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.25;
}

#banner p b,
#banner p span {
  display: block;
}

#banner p span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #333;
}

#banner small {
  align-self: flex-start;
  color: #6c6c70;
  font-size: 13px;
}

#lock,
#bar {
  touch-action: none;
}

.cb .io {
  display: block;
}

.cb {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* lock */
#lock {
  transition: transform .55s var(--ease);
}

#lock.drag {
  transition: none;
}

#lock.up,
#lock.gone {
  transform: translateY(-100%);
  opacity: 1;
}

#lock.gone {
  pointer-events: none;
}

#pass {
  z-index: 45;
  opacity: 1;
  transition: transform .55s var(--ease);
}

#pass>* {
  opacity: var(--p, 0);
  transition: opacity .3s;
}

#pass.show>* {
  opacity: 1;
}

#pass.out {
  transform: translateY(-100%);
  pointer-events: none;
}

#pass.out>* {
  opacity: 0;
}

#phone.locked #home {
  transform: scale(.92);
}

/* instagram (apdet) */
.ih {
  padding: 0 16px;
}

.ih .io {
  font-size: 27px;
  color: #000;
}

.ih .ig {
  font-size: 29px;
}

.sto div:first-child i {
  background: none;
  position: relative;
}

.sto div:first-child i::after {
  content: "+";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0095f6;
  border: 2.5px solid #fff;
  color: #fff;
  font-size: 17px;
  line-height: 16px;
  text-align: center;
  font-weight: 600;
}

.pim {
  height: 491px;
}

.pa {
  padding: 12px 14px 6px;
  gap: 17px;
}

.itb {
  display: none;
  background: #fff;
  border-top: .5px solid #dbdbdb;
  height: 84px;
  padding-top: 10px;
  color: #000;
  justify-content: space-around;
  align-items: flex-start;
}

.itb>span {
  display: inline-flex;
}

.itb .io {
  font-size: 27px;
}

.pav {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-size: cover;
  background-color: #9aa;
  border: 1.5px solid #000;
  display: block;
}

.eb2 {
  display: flex;
  gap: 6px;
  margin: 0 16px 12px;
}

.eb2 div {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  background: #efefef;
  font-weight: 600;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.eb2 div:last-child {
  flex: none;
  width: 40px;
}

.eb2 .io {
  font-size: 18px;
}

.hl {
  display: flex;
  gap: 14px;
  padding: 0 16px 12px;
  font-size: 12px;
  text-align: center;
}

.hl div {
  width: 64px;
}

.hl i {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid #dbdbdb;
  background-size: cover;
  margin-bottom: 4px;
}

.pts {
  display: flex;
  border-bottom: .5px solid #dbdbdb;
}

.pts span {
  flex: 1;
  text-align: center;
  font-size: 24px;
  color: #8e8e93;
}

.pts .a {
  color: #000;
  border-bottom: 1.5px solid #000;
}

.ig3 {
  gap: 1px;
}

.ig3 .ti {
  aspect-ratio: 3/4;
}

/* photos (apdet) */
.phh {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 8px;
  height: 50px;
}

.phh b {
  font-size: 30px;
  margin-right: auto;
}

.phh .sl {
  font-size: 15px;
  font-weight: 500;
  background: #7676801f;
  padding: 6px 14px;
  border-radius: 16px;
}

.phh .av {
  width: 34px;
  height: 34px;
  line-height: 34px;
}

#app-photos .pg {
  gap: 1.5px;
}

.pc h3 {
  font-size: 20px;
  font-weight: 700;
  padding: 24px 16px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.pc h3 .io {
  font-size: 15px;
  color: #c4c4c7;
}

.hs {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  overflow: hidden;
}

.hs div {
  flex: none;
  font-size: 13px;
  font-weight: 600;
}

.hs i {
  display: block;
  border-radius: 12px;
  background-size: cover;
  margin-bottom: 5px;
}

.hs small {
  display: block;
  color: #8e8e93;
  font-weight: 400;
  font-size: 12px;
}

.pc .grp {
  background: #f2f2f7;
  margin-top: 2px;
}

.pc .li {
  background: #f2f2f7;
}

.seg {
  left: 50%;
  transform: translateX(-50%);
  bottom: 34px;
}

.sbtn {
  position: absolute;
  right: 16px;
  bottom: 34px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f2f2f7f0;
  box-shadow: 0 2px 12px #0002;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
}

/* notes (apdet) */
#n-list .sec {
  padding-top: 10px;
}

.nr {
  padding: 10px 16px 11px;
}

.nr b {
  font-size: 16px;
}

.nr p {
  font-size: 14px;
}

/* emergency/cancel */
#pbot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  padding: 0 44px;
}

/* ukuran pas layar */
html,
body {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

#phone.full {
  left: 0;
  top: 0;
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
}

/* thread chat */
.thr {
  display: none;
}

.thr.on {
  display: flex;
}

/* dark theme */
#home.wp,
#lock.wp {
  background-color: #000;
  background-image: var(--wl);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center
}

#home.wp {
  overflow: hidden
}

#home.wp::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  background-image: var(--wl);
  background-size: cover;
  background-position: center;
  filter: blur(16px) brightness(.68) saturate(1.15)
}

#lock.wp {
  background-image: var(--wl)
}

#lock.gone {
  background-image: none;
  background-color: rgba(0, 0, 0, .35)
}

#pass {
  background: #000;
  overflow: hidden
}

#pass::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background-image: var(--wl);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(24px) brightness(.75)
}

#home .ic {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .72)
}

#app-wa,
#app-wa .v,
#app-wa .thr,
#app-wa .ib {
  background: #000;
  color: #fff
}

#app-wa .ttl,
#app-wa .nv b,
#app-wa #mname,
#app-wa #ml .gm b,
#app-wa .gm b {
  color: #fff
}

#app-wa .srch {
  background: #7676803d;
  color: #98989d
}

#app-wa .gm p,
#app-wa .gm b small,
#app-wa #ml .gm p,
#app-wa #ml .gm small {
  color: #98989d
}

#app-wa #ml .gm::after {
  border-bottom-color: #38383a
}

#app-wa #ml small .io {
  color: #5a5a5e
}

#app-wa .gm:active,
#app-wa .gm:hover {
  background: #1c1c1e
}

#app-wa .thr small {
  color: #8e8e93
}

#app-wa .b.me,
#app-wa .b.me.tail::before {
  background: #0a84ff;
  color: #fff
}

#app-wa .b.them,
#app-wa .b.them.tail::before {
  background: #262628;
  color: #fff
}

#app-wa .b.me.tail::after,
#app-wa .b.them.tail::after {
  background: #000
}

#app-wa .ib>i {
  background: #1c1c1e;
  color: #98989d
}

#app-wa #fld {
  background: #000;
  border-color: #3a3a3c;
  color: #fff
}

#app-wa #inp {
  color: #fff
}

#app-wa #inp:empty::before {
  color: #636366
}

#app-wa #kb {
  background: #1c1c1e
}

#app-wa .pr {
  border-color: #38383a;
  color: #fff
}

#app-wa .pr span {
  border-color: #38383a;
  color: #fff
}

#app-wa .k {
  background: #5c5c5f;
  color: #fff;
  box-shadow: 0 1px 0 #000a
}

#app-wa .k.w {
  background: #3c3c3f
}

#app-wa .k.p {
  background: #8a8a8e
}

#app-wa .k.p[data-k]:not(.sp)::after {
  background: #6c6c70;
  color: #fff
}

#app-wa .kg {
  color: #fff
}

.b.im,
.b.loc {
  padding: 3px
}

.b.im::before,
.b.im::after,
.b.loc::before,
.b.loc::after {
  display: none
}

.b.im i {
  display: block;
  width: 210px;
  height: 260px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  background-color: #555
}

.b.loc .mp {
  position: relative;
  width: 210px;
  height: 120px;
  border-radius: 15px;
  background: linear-gradient(90deg, transparent 48%, #fffa 48% 52%, transparent 52%), linear-gradient(0deg, transparent 45%, #fffa 45% 50%, transparent 50%), #9bc59d
}

.b.loc .mp::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -14px 0 0 -7px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #e5413a
}

.b.loc span {
  display: block;
  padding: 6px 8px 3px;
  font-size: 15px
}

.b .sn {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: .9;
  margin-bottom: 2px
}

.sys {
  text-align: center;
  font-size: 12px;
  color: #8e8e93;
  margin: 10px 0 4px
}

#dlg {
  position: absolute;
  inset: 0;
  z-index: 95;
  background: #0008;
  display: none;
  align-items: center;
  justify-content: center
}

#dlg.on {
  display: flex
}

#dlg .bx {
  width: 270px;
  background: #2c2c2e;
  color: #fff;
  border-radius: 14px;
  text-align: center;
  overflow: hidden;
  font: 15px -apple-system, Helvetica, Arial, sans-serif
}

#dlg b {
  display: block;
  padding: 18px 16px 4px;
  font-size: 17px
}

#dlg p {
  padding: 0 16px 16px;
  font-size: 13px;
  margin: 0
}

#dlg .bt {
  display: flex;
  border-top: .5px solid #545458
}

#dlg .bt div {
  flex: 1;
  padding: 12px;
  color: #0a84ff;
  border-left: .5px solid #545458;
  cursor: pointer
}

#dlg .bt div:first-child {
  border-left: 0
}

#dlg .bt div.dis {
  opacity: .4;
  cursor: default
}

#vcs {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: #000;
  display: none;
  color: #fff;
  text-align: center
}

#vcs.on {
  display: block
}

#vcs video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none
}

#vcs.live video {
  display: block
}

#vcs .vi {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 150px;
  background: linear-gradient(#1c1c1e, #000)
}

#vcs.live .vi {
  display: none
}

#vcs .vi .av {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #8d94a3 center/cover
}

#vcs .vi h2 {
  margin: 18px 0 4px;
  font-size: 30px;
  font-weight: 500
}

#vcs .vb {
  position: absolute;
  bottom: 90px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  font-size: 13px
}

#endsc {
  position: absolute;
  inset: 0;
  z-index: 120;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 30px
}

#endsc.on {
  display: flex
}

#endsc p {
  color: #d40000;
  font: 22px/1.7 Georgia, "Times New Roman", serif;
  letter-spacing: .5px;
  margin: 0
}

/* header chat */
#app-wa .mh {
  background: rgba(28, 28, 30, .88);
  color: #fff;
  font-size: 13px
}

#app-wa #mname {
  font-size: 13px;
  font-weight: 500;
  color: #fff
}

#app-wa #mname .io {
  font-size: 10px
}

#sb .net {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.3px;
  margin: 0 1px
}

/* dark theme apk lain */
.app:not(#app-wa):not(#app-clock):not(#app-weather):not(#app-camera):not(#app-music):not(#app-maps) {
  filter: invert(1) hue-rotate(180deg)
}

.app:not(#app-wa):not(#app-insta):not(#app-clock):not(#app-weather):not(#app-camera):not(#app-music):not(#app-maps) img,
.app:not(#app-wa):not(#app-insta):not(#app-clock):not(#app-weather):not(#app-camera):not(#app-music):not(#app-maps) video,
.app:not(#app-wa):not(#app-insta):not(#app-clock):not(#app-weather):not(#app-camera):not(#app-music):not(#app-maps) [style*="url("],
.app:not(#app-wa):not(#app-insta):not(#app-clock):not(#app-weather):not(#app-camera):not(#app-music):not(#app-maps) [style*="gradient("],
#app-set .li s,
#app-set .ios-sw,
#app-gmail .gx-ga,
#app-files .li s[style*="#007aff"] {
  filter: invert(1) hue-rotate(180deg)
}

/* elemen tanpa halaman gabisa dipencet */
#app-files .li:not([onclick]),
#app-photos .pc .li,
#app-set .li:not([onclick]),
#app-maps .srch,
#app-files .tb>div:not([onclick]),
#app-gmail .tb>div:not([onclick]),
#app-gmail .gs,
#app-gmail .fab,
#app-cal .tb>b:not([onclick]),
#app-phone .tb>div:not([onclick]),
#app-safari .tb>span,
#app-safari .ab,
#app-insta .itb>span:not([onclick]),
#app-insta .ih .io:not([onclick]),
#app-insta .eb2>div:not([onclick]),
#app-insta .pts span:not([onclick]),
#app-insta .pa span:not([onclick]),
#app-photos .phh .sl,
.srch:not(.srch-in) {
  pointer-events: none
}

#fpc {
  padding: 10px 0
}

#fpc video {
  width: 100%;
  max-height: 560px;
  background: #000;
  border-radius: 10px
}

#app-gmail,
#app-gmail .v {
  background: #dddee1;
  color: #131518
}

#app-gmail .gs {
  background: #cdced1;
  color: #3b3f44
}

#app-gmail .gm b small,
#app-gmail .gm p {
  color: #5b6167
}

#app-gmail .gm b {
  color: #131518
}

#app-gmail .gm:active {
  background: #d0d1d3
}

#app-gmail .fab {
  background: #84cefb;
  color: #00243c
}

#app-gmail .tb {
  background: #d5d6d9;
  border-color: #bcc0c3;
  color: #5b6167
}

#app-gmail .tb .a {
  color: #00243c
}

#app-gmail>div:first-child {
  color: #5b6167
}

.gx-ga {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #000;
  overflow: hidden
}

.gx-ga svg {
  width: 100%;
  height: 100%
}

.gx-gt {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 16px;
  height: 46px;
  color: #3b3f44;
  font-size: 24px
}

.gx-gt i {
  flex: 1
}

.gx-gt svg {
  width: 24px;
  height: 24px
}

.gx-gsub {
  padding: 10px 16px 4px;
  font-size: 21px;
  line-height: 1.45;
  position: relative;
  padding-right: 46px
}

.gx-inb {
  font-size: 12px;
  border: 1px solid #999da2;
  border-radius: 5px;
  padding: 1px 6px;
  margin-left: 8px;
  color: #3b3f44;
  vertical-align: middle
}

.gx-gsub em {
  position: absolute;
  right: 16px;
  top: 20px;
  color: #3b3f44
}

.gx-gsub em svg {
  width: 24px;
  height: 24px
}

.gx-gfr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px
}

.gx-gfr>div:nth-child(2) {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5
}

.gx-gfr small {
  color: #5b6167;
  font-size: 13px;
  margin-left: 4px
}

.gx-gact {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #3b3f44
}

.gx-gact svg {
  width: 21px;
  height: 21px
}

.gx-gact u {
  color: #295397;
  text-decoration: none;
  font-size: 14px
}

.gx-gbd {
  padding: 6px 16px 120px;
  font-size: 14px;
  line-height: 1.5;
  color: #3b3f44
}

.gx-mb1 {
  background: #d0d1d3;
  padding: 22px
}

.gx-mc {
  background: #dddee1;
  border-radius: 12px;
  padding: 34px 20px
}

.gx-mc h2 {
  text-align: center;
  font-size: 28px;
  line-height: 1.2;
  color: #383838;
  margin-bottom: 22px
}

.gx-mc p {
  margin: 12px 0
}

.gx-mc a,
.gx-dcb a {
  color: #295397;
  text-decoration: underline
}

.gx-mdh {
  background: #000;
  color: #fff;
  font: 700 34px/1 Georgia, serif;
  padding: 34px 18px;
  letter-spacing: -1px
}

.gx-mda {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 26px 18px
}

.gx-mda i {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #555;
  flex: none
}

.gx-mdt {
  width: calc(100% - 36px);
  margin: 0 18px;
  border-collapse: collapse;
  text-align: center
}

.gx-mdt td {
  border: 1px solid #131518;
  padding: 22px 4px;
  color: #5b6167;
  background: #dadcde
}

.gx-mdt b {
  display: block;
  font-size: 28px;
  font-weight: 400;
  color: #131518;
  margin-top: 8px
}

.gx-dc {
  background: #d8d9dd;
  border-radius: 10px 10px 0 0
}

.gx-dch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0;
  color: #7e8bff;
  font-size: 26px
}

.gx-dcb {
  padding: 34px 22px 24px;
  background: #dddee1
}

.gx-dcb h3 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #383838
}

.gx-dcb p {
  margin: 14px 0
}

.gx-vbtn {
  width: 150px;
  margin: 26px auto 10px;
  text-align: center;
  background: #6670e2;
  color: #fff;
  padding: 15px 0;
  border-radius: 4px;
  font-size: 16px
}

.gx-att {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  border: 1px solid #999da2;
  border-radius: 12px;
  padding: 10px 14px;
  color: #131518;
  font-size: 13px
}

.gx-att b {
  background: #ff7769;
  color: #000;
  font-size: 10px;
  padding: 5px 6px;
  border-radius: 4px
}

.gm .gx-ga {
  flex: none;
  width: 40px;
  height: 40px
}

#app-gmail .gm b small {
  white-space: nowrap
}

.pts span {
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.pts span svg {
  width: 24px;
  height: 24px
}

/* video call */
#vcs .vt,
#vcs .vself,
#vcs .vctl {
  display: none
}

#vcs.live .vt,
#vcs.live .vself,
#vcs.live .vctl {
  display: flex
}

#vcs.black video,
#vcs.black .vt,
#vcs.black .vself,
#vcs.black .vctl {
  display: none
}

#vcs .vt {
  position: absolute;
  top: 62px;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: center;
  text-shadow: 0 1px 6px #0009
}

#vcs .vt b {
  font-size: 17px;
  font-weight: 600
}

#vcs .vt small {
  font-size: 13px;
  opacity: .85
}

#vcs .vself {
  position: absolute;
  right: 16px;
  bottom: 150px;
  width: 104px;
  height: 150px;
  border-radius: 20px;
  background: #8d94a3 center/cover;
  box-shadow: 0 6px 20px #0008, inset 0 0 0 1px #fff3
}

#vcs .vctl {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 36px;
  height: 74px;
  border-radius: 37px;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  background: rgba(60, 60, 67, .5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 .5px #fff3
}

#vcs .vctl b {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(255, 255, 255, .18);
  pointer-events: none
}

#vcs .vctl b.r {
  background: #ff3b30
}

#vcs .vctl b.r .io {
  transform: rotate(135deg)
}

/* galeri foto geser */
#pimg {
  position: relative;
  overflow: hidden;
  background: #fff;
  touch-action: none;
  cursor: grab
}

#ptrack {
  position: absolute;
  inset: 0;
  will-change: transform
}

.ps {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat
}

#ps0 {
  left: -100%
}

#ps1 {
  left: 0
}

#ps2 {
  left: 100%
}

/* kursor */
#phone.kbu #inp:empty {
  position: relative
}

#phone.kbu #inp:empty::before {
  margin-left: 3px
}

#phone.kbu #inp:empty::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 1.2em;
  transform: translateY(-50%);
  margin: 0;
  border-left: 2px solid var(--bl);
  animation: bl 1s infinite
}

/* ring story, buntut bubble */
.sto i u {
  border-color: #fff
}

/* buntut bubble imes */
.b.tail::after {
  display: none !important
}

.b.tail::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 14px;
  height: 17px;
  z-index: -1
}

#app-wa .b.them.tail::before {
  left: -7px;
  right: auto;
  background: radial-gradient(ellipse 8px 17px at 0 0, transparent 99%, #262628 100%);
  border-radius: 0
}

#app-wa .b.me.tail::before {
  right: -7px;
  left: auto;
  background: radial-gradient(ellipse 8px 17px at 100% 0, transparent 99%, #0a84ff 100%);
  border-radius: 0
}

/* player audio */
.vm {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  background: #000;
  color: #fff;
  filter: invert(1) hue-rotate(180deg)
}

.vm-h {
  flex: none;
  height: 98px;
  padding: 54px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #121212;
  border-bottom: .5px solid #2c2c2e
}

.vm-l,
.vm-d {
  flex: 0 0 80px;
  color: #0a84ff;
  font-size: 17px;
  font-weight: 600
}

.vm-l {
  display: flex;
  pointer-events: none
}

.vm-l svg {
  width: 22px;
  height: 18px
}

.vm-d {
  text-align: right;
  cursor: pointer
}

.vm-t {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff
}

.vm-t span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.vm-t i {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3a3a3c;
  display: grid;
  place-items: center;
  color: #8e8e93
}

.vm-t i svg {
  width: 10px;
  height: 10px
}

.vm-c {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 46px
}

.vm-e {
  position: relative;
  width: 211px;
  height: 195px;
  color: #8e8e93
}

.vm-e>svg {
  display: block;
  width: 100%;
  height: 100%
}

.vm-pb {
  position: absolute;
  left: 50%;
  top: 53.9%;
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  border-radius: 50%;
  background: #d1d1d1;
  color: #2c2c2e;
  display: grid;
  place-items: center;
  cursor: pointer
}

.vm-pb svg {
  width: 26px;
  height: 26px
}

.vm-tm {
  flex: none;
  padding-bottom: 12px;
  text-align: center;
  font-size: 15px;
  color: #8e8e93;
  font-variant-numeric: tabular-nums
}

.vm-w {
  flex: none;
  position: relative;
  height: 43px;
  background: #121212;
  border-top: .5px solid #2c2c2e;
  border-bottom: .5px solid #2c2c2e;
  touch-action: none;
  cursor: grab
}

.vm-w canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.vm-w i {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff
}

.vm-f {
  flex: none;
  height: 84px;
  padding: 14px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #121212;
  color: #0a84ff
}

.vm-f svg {
  width: 28px;
  height: 28px
}

.vm-f .io {
  display: flex;
  pointer-events: none
}

.vm-f .vm-pp {
  cursor: pointer
}

/* bubble igs */
.sto i {
  background: conic-gradient(from 0deg, #ff00a8 0deg, #ff00c0 15deg, #fb00cc 30deg, #fe02d3 45deg, #ff00cc 60deg, #ff00b7 75deg, #ff009e 90deg, #ff0080 105deg, #ff0059 120deg, #ff0010 135deg, #ff3b00 150deg, #ff7a00 165deg, #ff9900 180deg, #ffb400 195deg, #ffc300 210deg, #ffc900 225deg, #ffc100 240deg, #ffb200 255deg, #ff9700 270deg, #ff7800 285deg, #ff4700 300deg, #fe0000 315deg, #ff0051 330deg, #ff0081 345deg, #ff00a8 360deg)
}

.sto div:first-child i {
  background: none
}

#app-insta.app {
  filter: none !important;
  background: #fff
}

#app-insta .v {
  background: #fff;
  color: #111
}

#app-insta .sto,
#app-insta .sto * {
  filter: none !important
}

#app-insta .sto {
  color: #111
}

#app-insta .sto div:first-child i::after {
  border-color: #fff
}

#phone:has(#app-insta.open) #sb {
  color: #111
}

#phone:has(#app-insta.open) #bar {
  background: #111
}

/* petunjuk sandi di bawah enter passcode */
#phint {
  margin: 8px 26px 0;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, .78)
}

/* halaman judul */
#pass #intro {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 34px 0;
  color: #fff
}

#intro::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background-image: var(--wl);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(24px) brightness(.75)
}

#intro h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0
}

#intro .sub {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, .8)
}

#intro .imid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding-bottom: 130px
}

#intro .imid p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9)
}

#intro .itx {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px
}

#intro .ibd {
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, .5)
}

#intro .imt {
  display: inline-block;
  padding: 1px 9px;
  margin: 0 1px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 8px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap
}

#intro .imt::after {
  content: " \2197";
  font-size: .85em;
  opacity: .8
}

#intro .imt:active {
  background: rgba(255, 255, 255, .3)
}

#intro #iok {
  padding: 11px 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .4);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer
}

#intro #iok:active {
  transform: scale(.95);
  background: rgba(255, 255, 255, .32)
}

#pass #intro.go {
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s
}

/* checkpoint di safari */
#sfg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

#sfg>div {
  flex: 0 0 100px;
  cursor: pointer
}

#sfg u {
  color: #000;
  font-weight: 600
}

/* layout passcode adaptif */
#pass {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  --pk: 78px;
  --prg: 16px;
  --pcg: 22px;
  --pmt: 110px;
  --phf: 12.5px
}

#pass h3 {
  flex: none;
  margin-top: var(--pmt)
}

#pass #phint {
  flex: none;
  font-size: var(--phf)
}

#pass #pdots {
  flex: none;
  margin: calc(var(--pk)*.33) 0 calc(var(--pk)*.56)
}

#pass #pad {
  flex: none;
  grid-template-columns: repeat(3, var(--pk));
  gap: var(--prg) var(--pcg)
}

#pass #pad b {
  height: var(--pk);
  font-size: calc(var(--pk)*.46)
}

#pass #pad b small {
  font-size: clamp(7px, calc(var(--pk)*.128), 10px);
  height: calc(var(--pk)*.15);
  margin: 2px -2px 0 0
}

/* emergency & cancel */
#pass #pbot {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  flex: none;
  height: var(--pk);
  margin-top: calc(var(--pk)*-1);
  align-items: flex-end;
  padding: 0 44px 0;
  transform: translateY(calc(var(--pk)*.32));
  pointer-events: none
}

#pass #pbot span {
  pointer-events: auto
}

/* hapus bulat transparan */
#pass #pad b.e {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  visibility: hidden
}

/* informasi */
@media (max-height:700px) and (max-width:500px) {
  #pass #intro {
    padding-top: 80px
  }

  #intro .imid {
    padding-top: 24px;
    padding-bottom: 70px;
    gap: 22px
  }

  #intro .imid p {
    font-size: 13.5px;
    line-height: 1.5
  }
}

/* ============================================================
   WHATSAPP SKIN — mirrored from au.jeanverseis.com (AU Creator Studio)
   Light theme, glass controls, doodle wallpaper, floating tabs.
   ============================================================ */
#app-wa {
  --wa-green: #0aa569;
  --wa-ink: #111b16;
  --wa-grey: #7b817d;
  --wa-glass: #ffffffe0;
  --wa-bg: #f1eee8;
  --wa-sep: #e4e4e0;
  --wa-tick: #42a5c5;
  background: #fff;
  color: var(--wa-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

#app-wa .v {
  background: #fff;
  color: var(--wa-ink);
  padding: 0;
}

#m-list,
#m-tab {
  overflow: hidden;
  background: #fff;
}

/* status bar + home indicator switch to dark ink over the light app */
#phone:has(#app-wa.open) #sb {
  color: #111b16;
}

#phone:has(#app-wa.open) #bar {
  background: #111b16;
}

/* ---------------- chat list ---------------- */
.wa-header {
  position: absolute;
  z-index: 6;
  inset: 0 0 auto;
  height: 150px;
  padding: 54px 16px 0;
  background: #ffffffed;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.wa-top-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
  margin-bottom: 9px;
}

.wa-top-controls>div {
  display: flex;
  gap: 10px;
}

.wa-ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #151b17;
  box-shadow: 0 3px 18px #00000008, inset 0 1px 0 #fff;
}

.wa-ic .io {
  font-size: 23px;
  color: inherit;
}

.wa-ic.wa-primary {
  background: var(--wa-green);
  color: #fff;
}

.wa-header h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -.9px;
}

.wa-scroll {
  position: absolute;
  inset: 150px 0 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 104px;
}

.wa-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 34px);
  height: 40px;
  margin: 4px 17px 16px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: #f4f4f4;
  color: #868b87;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

.wa-search .io {
  font-size: 19px;
  color: #868b87;
}

.wa-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--wa-ink);
}

.wa-search input::placeholder {
  color: #868b87;
}

.wa-filters {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.wa-filters::-webkit-scrollbar {
  display: none;
}

.wa-filters button {
  flex: none;
  padding: 6px 12px;
  border: 1px solid #d9ddda;
  border-radius: 22px;
  background: none;
  color: #6a716c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.15;
  white-space: nowrap;
}

.wa-filters button[aria-pressed=true] {
  color: #183a23;
  border-color: #c3ddc7;
  background: #d9fdd3;
}

#ml {
  padding: 0;
}

#ml .gm {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 11px 17px;
  background: #fff;
}

#ml .gm:active,
#ml .gm:hover {
  background: #f8f8f6;
}

#ml .gm::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 81px;
  right: 17px;
  height: .5px;
  border: 0;
  background: var(--wa-sep);
}

#ml .gm>.av {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #ebe8f8;
}

#ml .gmx {
  flex: 1;
  min-width: 0;
}

#ml .gt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

#app-wa #ml .gt b {
  min-width: 0;
  overflow: hidden;
  color: var(--wa-ink);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -.2px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app-wa #ml .ct {
  flex: none;
  color: #8d918e;
  font-size: 12px;
  font-weight: 400;
}

#ml .gb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

#app-wa #ml .gb p {
  flex: 1;
  min-width: 0;
  display: block;
  overflow: hidden;
  color: #838783;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#ml .gb .io {
  display: none;
}

#ml .uc {
  flex: none;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--wa-green);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px;
  text-align: center;
  display: none;
  place-items: center;
}

#ml .ud,
#ml .gm>i.ud {
  display: none !important;
}

#badge,
.bd {
  background: #ff3b30;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .32);
}

/* filter hiding */
#ml .gm.wa-hide {
  display: none !important;
}

/* ---------------- floating tab bar ---------------- */
.wa-tabs {
  position: absolute;
  z-index: 10;
  bottom: 26px;
  left: 10px;
  right: 10px;
  height: 63px;
  display: flex;
  align-items: stretch;
  padding: 4px;
  border: 1px solid #fff;
  border-radius: 34px;
  background: #ffffffdc;
  box-shadow: 0 4px 25px #14251b10, inset 0 1px 0 #fff;
  backdrop-filter: blur(25px) saturate(1.5);
  -webkit-backdrop-filter: blur(25px) saturate(1.5);
}

.wa-tabs button {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: none;
  color: #5e6660;
  font-family: inherit;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.1;
}

.wa-tabs .io {
  font-size: 24px;
  color: inherit;
}

.wa-tabs .wa-tab-ic {
  position: relative;
  display: grid;
  place-items: center;
  height: 24px;
}

.wa-tabs [aria-current=page] {
  background: #ebedeb;
  color: #17291d;
  font-weight: 650;
}

.wa-tabs .wa-you {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #eceaf3;
  background-size: cover;
  background-position: center;
}

/* ---------------- chat screen ---------------- */
#app-wa #m-chat {
  background-color: var(--wa-bg);
  background-image: linear-gradient(rgba(241, 238, 232, .52), rgba(241, 238, 232, .52)), var(--wh);
  background-size: cover;
  background-position: center;
}

#app-wa .mh.chat-h {
  flex: none;
  display: grid;
  grid-template-columns: 40px 33px minmax(0, 1fr) auto;
  grid-template-areas: "bk av nm rt";
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 54px 12px 8px;
  border: 0;
  background: linear-gradient(#f1eee8f5, #f1eee8b0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
  color: var(--wa-ink);
  font-size: 13px;
}

#app-wa .chat-h .bk {
  grid-area: bk;
  position: static;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wa-glass);
  box-shadow: inset 0 1px 0 #fff9, 0 2px 9px #0000000a;
  color: #1a241e;
}

#app-wa .chat-h .bk .io {
  margin: 0;
  font-size: 19px;
  color: #18231c;
}

#app-wa .chat-h .av {
  grid-area: av;
  width: 33px;
  height: 33px;
  margin: 0;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #ebe8f8;
}

#app-wa .chat-h #mname {
  grid-area: nm;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  padding: 0;
  line-height: 1.15;
  text-align: left;
}

#app-wa #mname b {
  max-width: 100%;
  overflow: hidden;
  color: var(--wa-ink);
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app-wa #mname small {
  color: #7b817d;
  font-size: 12px;
  font-weight: 400;
}

#app-wa #mname .io {
  display: none;
}

#app-wa .chat-h .vd {
  grid-area: rt;
  position: static;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 3px 7px;
  border-radius: 24px;
  background: var(--wa-glass);
  box-shadow: inset 0 1px 0 #fff9, 0 2px 9px #0000000a;
  color: #1d2b22;
  font-size: 20px;
}

#app-wa .chat-h .vd .io {
  display: grid;
  place-items: center;
  width: 33px;
  height: 32px;
  color: #1d2b22;
}

#app-wa .chat-h .vd svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#app-wa .chat-h .vd .wa-call {
  display: grid;
  place-items: center;
  width: 33px;
  height: 32px;
}

#app-wa .chat-h .vd .wa-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------------- thread ---------------- */
#app-wa .thr {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: auto;
  overflow-x: hidden;
  flex-direction: column;
  padding: 8px 12px 14px;
  gap: 2px;
  background: transparent;
}

#app-wa .thr.on {
  display: flex;
}

#app-wa .thr>small:first-child,
#app-wa .thr small.dl {
  display: none;
}

#app-wa .thr .sys {
  display: table;
  margin: 12px auto 8px;
  padding: 3px 10px;
  border-radius: 8px;
  background: #ffffffe0;
  box-shadow: 0 1px 2px #0001;
  color: #464e47;
  font-size: 11px;
  text-align: center;
}

#app-wa .b {
  position: relative;
  align-self: flex-start;
  max-width: 85%;
  padding: 7px 9px 4px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 1px #0001;
  color: var(--wa-ink);
  font-size: 15.5px;
  line-height: 1.38;
  letter-spacing: 0;
}

#app-wa .b.them {
  align-self: flex-start;
  background: #fff;
  color: var(--wa-ink);
  border-top-left-radius: 16px;
}

#app-wa .b.me {
  align-self: flex-end;
  background: #d9fdd3;
  color: var(--wa-ink);
  border-top-right-radius: 16px;
}

#app-wa .b.tail::before,
#app-wa .b.tail::after {
  display: none;
}

#app-wa .b .sn {
  display: block;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
}

#app-wa .b .mt {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 2px 0 0 10px;
  color: #718073;
  font-size: 10.5px;
  line-height: 14px;
  white-space: nowrap;
}

#app-wa .tks {
  width: 17px;
  height: 12px;
  color: var(--wa-tick);
  flex: none;
}

#app-wa .b.im,
#app-wa .b.loc {
  padding: 0;
  border-radius: 16px;
  background: none;
  box-shadow: none;
  overflow: visible;
}

#app-wa .b.im i {
  display: block;
  width: 230px;
  height: 290px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-color: #d8d4cc;
}

#app-wa .b.im.land i {
  width: 248px;
  height: 162px;
}

#app-wa .b.im .mt,
#app-wa .b.loc .mt {
  position: absolute;
  right: 6px;
  bottom: 6px;
  margin: 0;
  padding: 2px 6px;
  border-radius: 8px;
  background: #0005;
  color: #fff;
}

#app-wa .b.im .tks,
#app-wa .b.loc .tks {
  color: #e8f6ff;
}

#app-wa .b.loc {
  padding: 0 0 4px;
  background: #fff;
  box-shadow: 0 1px 1px #0001;
}

#app-wa .b.loc .mp {
  width: 230px;
  height: 130px;
  border-radius: 16px 16px 6px 6px;
}

#app-wa .b.loc span {
  display: block;
  padding: 6px 10px 2px;
  font-size: 14px;
  color: #111b16;
}

/* ---------------- composer ---------------- */
#app-wa .ib.wa-composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 8px 10px 26px;
  border-radius: 0;
  background: transparent;
}

#app-wa .wa-composer>i {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--wa-glass);
  box-shadow: inset 0 1px 0 #fff9;
  color: #203128;
  font-size: 22px;
}

#app-wa .wa-composer #fld {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid #ffffff90;
  border-radius: 23px;
  background: var(--wa-glass);
  box-shadow: 0 1px 4px #00000008;
}

#app-wa #inp {
  flex: 1;
  min-width: 0;
  color: #303a33;
  font-size: 15px;
  line-height: 1.3;
}

#app-wa #inp:empty::before {
  content: 'Message';
  color: #8b948d;
  font-size: 15px;
}

#app-wa #mic {
  display: inline-flex;
  color: #7b817d;
  font-size: 20px;
}

#app-wa #snd {
  display: none;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  place-items: center;
  font-size: 17px;
  line-height: 1;
}

#app-wa #fld.has #snd {
  display: grid;
}

#app-wa #fld.has #mic {
  display: none;
}

#app-wa .wa-cam {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wa-glass);
  box-shadow: inset 0 1px 0 #fff9;
  color: #203128;
  font-size: 22px;
}

#phone.kbu #inp::after {
  border-left-color: var(--wa-green);
}

/* keyboard keeps the iOS light materials */
#app-wa #kb {
  background: #d2d5db;
}

#app-wa .pr {
  border-color: #c2c5cb;
  color: #111;
}

#app-wa .pr span {
  border-color: #bcc0c7;
  color: #111;
}

#app-wa .k {
  background: #fff;
  color: #000;
  box-shadow: 0 1px 0 #898a8d;
}

#app-wa .k.w,
#app-wa .k.m,
#app-wa .k.rt {
  background: #adb3bc;
  color: #000;
}

#app-wa .k.p {
  background: #e5e7eb;
}

#app-wa .k.p[data-k]:not(.sp)::after {
  background: #fff;
  color: #000;
}

#app-wa .kg {
  color: #50555c;
}

/* ---------------- tab screens ---------------- */
#wa-tab-body {
  padding-top: 4px;
}

.wa-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 20px 14px;
}

.wa-heading h2 {
  flex: 1;
  margin: 0;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.3px;
}

.wa-status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 20px 22px;
}

.wa-status-owner {
  position: relative;
  flex: none;
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #25d366, #0aa569, #25d366);
}

.wa-status-owner .av {
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.wa-status-owner small {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.wa-status-row b {
  display: block;
  color: var(--wa-ink);
  font-size: 16px;
  font-weight: 600;
}

.wa-status-row span {
  color: #838783;
  font-size: 14px;
}

.wa-empty {
  padding: 34px 28px 42px;
  text-align: center;
  color: #818982;
}

.wa-empty .wa-hero {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: #e9f3ea;
  color: #5c8c66;
  font-size: 42px;
}

.wa-empty h3 {
  margin: 0 0 8px;
  color: #303b32;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.3px;
}

.wa-empty p {
  color: #7b847d;
  font-size: 14px;
  line-height: 1.55;
}

.wa-seg {
  display: flex;
  gap: 4px;
  margin: 0 20px 18px;
  padding: 3px;
  border-radius: 12px;
  background: #f2f2f0;
}

.wa-seg button {
  flex: 1;
  padding: 7px 0;
  border: 0;
  border-radius: 9px;
  background: none;
  color: #6a716c;
  font-family: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}

.wa-seg button.on {
  background: #fff;
  color: #17291d;
  box-shadow: 0 1px 3px #0000000f;
}

.wa-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 20px 22px;
}

.wa-profile .av {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #ebe8f8;
}

.wa-profile b {
  display: block;
  color: var(--wa-ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.3px;
}

.wa-profile small {
  display: block;
  margin-top: 4px;
  color: #8a928b;
  font-size: 13px;
}

.wa-group {
  margin: 0 16px 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 .5px #ececea;
}

.wa-group button,
.wa-group>div {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-bottom: .5px solid #ececea;
  background: none;
  color: #111b16;
  font-family: inherit;
  font-size: 15px;
  text-align: left;
}

.wa-group button:last-child,
.wa-group>div:last-child {
  border-bottom: 0;
}

.wa-group .io {
  flex: none;
  font-size: 21px;
  color: #5f7264;
}

.wa-group>div>span:not(.io),
.wa-group>button>span:not(.io) {
  flex: 1;
}

.wa-group .wa-call-row {
  padding: 10px 16px;
  gap: 12px;
  min-height: 62px;
  cursor: pointer;
}

.wa-group .wa-call-row:active,
.wa-group .wa-call-row:hover {
  background: #f8f8f6;
}

.wa-call-row .av {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #e4e7ea;
}

.wa-call-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-call-meta b {
  font-size: 16px;
  font-weight: 550;
  color: var(--wa-ink);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wa-call-meta small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #7b817d;
}

.wa-call-meta small .io {
  font-size: 13px;
  color: #8d9490;
}

.wa-group .wa-call-tm {
  flex: none !important;
  font-size: 13px;
  color: #8d918e;
  white-space: nowrap;
}

.wa-group .wa-call-inf {
  flex: none !important;
  display: inline-flex;
  align-items: center;
  color: var(--wa-green);
}

.wa-group .wa-call-inf .io {
  font-size: 21px;
  color: var(--wa-green);
}

.wa-group small {
  color: #8d918e;
  font-size: 12.5px;
}

.wa-note {
  padding: 2px 20px 0;
  color: #8a928b;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------------- in-app notification banner ---------------- */
#banner {
  top: 54px;
  padding: 11px 13px;
  border: 1px solid #ffffffcc;
  border-radius: 22px;
  background: #ffffffee;
  color: #111b16;
  box-shadow: 0 12px 34px #1b2b201f;
  backdrop-filter: blur(26px) saturate(1.4);
  -webkit-backdrop-filter: blur(26px) saturate(1.4);
}

#banner u {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
}

#banner p {
  font-size: 13.5px;
  line-height: 1.3;
}

#banner p b {
  color: #111b16;
  font-size: 13.5px;
  font-weight: 650;
}

#banner p b::after {
  content: ' · WhatsApp';
  color: var(--wa-green);
  font-size: 11.5px;
  font-weight: 500;
}

#banner p span {
  color: #5d665f;
  font-size: 13.5px;
  display: block;
}

#banner small {
  color: #8a928b;
  font-size: 11px;
}

/* ============================================================
   ADDED APPS — Instagram search, iMessage, Clock, Weather,
   Camera, Music. Clock/Weather/Camera/Music are excluded from
   the global dark-invert and styled natively.
   ============================================================ */

/* instagram search */
.igs {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 0 12px;
  padding: 0 10px;
  border-radius: 10px;
  background: #7676801f;
}

.igs .io {
  font-size: 16px;
  color: #8e8e93;
}

.igs input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: inherit;
}

.igrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
}

.igrow .av {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.igrow b {
  font-size: 14px;
}

.igrow small {
  font-size: 12px;
  color: #8e8e93;
}

/* imessage */
#app-imessage .v {
  background: #fff;
  color: #111;
}

.imrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: .5px solid #e5e5ea;
}

.imrow:last-child {
  border-bottom: 0;
}

.imrow .av {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #8d94a3;
}

.imrow .imx {
  flex: 1;
  min-width: 0;
}

.imrow b {
  font-size: 16px;
}

.imrow p {
  font-size: 14px;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.imrow>span {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13px;
  color: #8e8e93;
}

#im-chat {
  display: none;
}

#im-chat.on {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.imbody {
  flex: 1;
  overflow: auto;
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.imb {
  max-width: 74%;
  padding: 8px 13px;
  border-radius: 18px;
  font-size: 16px;
  line-height: 1.3;
  word-break: break-word;
}

.imb.them {
  align-self: flex-start;
  background: #e9e9eb;
  color: #111;
  border-bottom-left-radius: 5px;
}

.imb.me {
  align-self: flex-end;
  background: #0a84ff;
  color: #fff;
  border-bottom-right-radius: 5px;
}

.imc {
  flex: none;
  padding: 8px 12px 28px;
  background: #f7f7f8;
  border-top: .5px solid #e5e5ea;
}

.imc .fld {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #d1d1d6;
  background: #fff;
  color: #8e8e93;
  font-size: 16px;
}

/* clock */
#app-clock .v {
  background: #000;
  color: #fff;
}

.ck-wrap {
  padding: 28px 22px 100px;
}

.ck-big {
  font-size: 82px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -3px;
  font-variant-numeric: tabular-nums;
}

.ck-sub {
  margin: 6px 0 28px;
  font-size: 14px;
  color: #8e8e93;
}

.ck-h {
  margin: 16px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.ck-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: .5px solid #2c2c2e;
}

.ck-row b {
  width: 100px;
  font-size: 30px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

.ck-row span {
  font-size: 14px;
}

.ck-row span small {
  display: block;
  font-size: 12px;
  color: #8e8e93;
}

.ck-row i {
  margin-left: auto;
  width: 44px;
  height: 26px;
  border-radius: 13px;
  background: #34c759;
  position: relative;
}

.ck-row i::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
}

/* weather */
#app-weather .v {
  background: linear-gradient(180deg, #3a7bd5, #1e3f7a 58%, #101a2e);
  color: #fff;
}

.wt-wrap {
  padding: 6px 18px 100px;
}

.wt-hero {
  padding: 18px 0 26px;
  text-align: center;
}

.wt-hero small {
  font-size: 18px;
  font-weight: 500;
}

.wt-temp {
  font-size: 84px;
  font-weight: 200;
  line-height: 1.05;
}

.wt-cond {
  font-size: 16px;
  opacity: .85;
}

.wt-hilo {
  margin-top: 2px;
  font-size: 15px;
  opacity: .7;
}

.wt-card {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff1f;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.wt-h {
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .7;
}

.wt-hours {
  display: flex;
  justify-content: space-between;
}

.wt-hours>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.wt-hours .io {
  font-size: 22px;
  color: #cfe4ff;
}

.wt-hours b {
  font-size: 15px;
  font-weight: 500;
}

.wt-p {
  font-size: 14px;
  line-height: 1.45;
  opacity: .9;
}

/* camera */
#app-camera .v {
  background: #000;
  color: #fff;
}

#cm-main {
  overflow: hidden;
}

.cm-view {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .25s;
}

.cm-view.flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  animation: cmflash .2s ease-out;
}

@keyframes cmflash {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.cm-top {
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 12px;
  text-shadow: 0 1px 2px #000;
}

.cm-live {
  color: #ffd60a;
  font-weight: 600;
}

.cm-bar {
  position: absolute;
  bottom: 150px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 12px;
  letter-spacing: .5px;
  color: #ffffffb0;
}

.cm-mode.on {
  color: #ffd60a;
}

.cm-shut-row {
  position: absolute;
  bottom: 46px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.cm-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid #ffffff60;
  background-size: cover;
  background-position: center;
}

.cm-shut {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #ffffff50;
  box-shadow: 0 0 0 3px #000;
  cursor: pointer;
}

.cm-shut:active {
  transform: scale(.94);
}

.cm-flip {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff22;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

/* music */
#app-music .v {
  background: #0b0b0d;
  color: #fff;
}

.mu-head {
  padding: 70px 20px 2px;
  font-size: 34px;
  font-weight: 700;
}

.mu-sub {
  padding: 0 20px 10px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #8e8e93;
}

.mu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  cursor: pointer;
}

.mu-art {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.mu-meta {
  flex: 1;
  min-width: 0;
}

.mu-meta b {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.mu-meta small {
  font-size: 13px;
  color: #8e8e93;
}

.mu-row>span {
  font-size: 13px;
  color: #8e8e93;
}

.mu-row.on .mu-meta b {
  color: #fa2b47;
}

/* ig search rows + follow state */
.igrow>div:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.igrow b {
  font-weight: 600;
}

.igrow small {
  color: #8e8e93;
}

#jfollow.on {
  background: #efefef;
  color: #111;
  font-weight: 600;
}

.jmore {
  flex: 0 0 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* follow pill — double invert cancels the app-level dark filter */
#app-insta .eb2 .fol {
  background: #0095f6;
  color: #fff;
}

#app-insta .eb2 .fol.on {
  background: #efefef;
  color: #111;
}

/* imessage header back button: plain glyph, no chrome */
#app-imessage .mh .bk {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--bl);
  font-size: 22px;
}

/* ============================================================
   INSTAGRAM — profile chrome matched to the client's layout
   mockups (ig-arjuna-7.png / ig-jinandra-7.png)
   ============================================================ */

#app-insta .ig-top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  justify-items: center;
  padding: 0 10px;
}

#app-insta .ig-top>b {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

#app-insta .ig-top .io {
  font-size: 24px;
  justify-self: center;
}

#app-insta .eb1 {
  display: flex;
  margin: 0 16px 12px;
}

#app-insta .eb1>div {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbdbdb;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

#app-insta .pts {
  display: flex;
  height: 46px;
  border-bottom: .5px solid #dbdbdb;
}

#app-insta .pts>span {
  flex: 1;
  display: grid;
  place-items: center;
  color: #8e8e93;
  border-bottom: 0;
}

#app-insta .pts>span.a {
  color: #000;
  border-bottom: 0;
}

#app-insta .pts svg {
  width: 24px;
  height: 24px;
  display: block;
}

#app-insta .igtab {
  align-items: center;
  padding-top: 0;
  height: 84px;
}

#app-insta .igtab>span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #8e8e93;
  cursor: pointer;
}

#app-insta .igtab svg {
  width: 25px;
  height: 25px;
  display: block;
}

#app-insta .igtab .pav {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

#app-insta:has(#i-feed.on) .igt-home,
#app-insta:has(#i-prof.on) .igt-me,
#app-insta:has(#i-search.on) .igt-search {
  color: #000;
}

#app-insta .igtab .igt-me .pav {
  box-shadow: 0 0 0 1.5px transparent;
  transition: box-shadow .15s;
}

#app-insta:has(#i-prof.on) .igt-me .pav {
  box-shadow: 0 0 0 1.5px #000;
}

/* profile action buttons — outlined like the layout mockups */
#app-insta .eb2>div {
  background: #fff;
  border: 1px solid #dbdbdb;
  color: #111;
}

#app-insta .eb2>div.fol,
#app-insta .eb2>div.fol.on {
  border-color: transparent;
}

#app-insta .eb2>div.fol {
  background: #0095f6;
  color: #fff;
}

#app-insta .eb2>div.fol.on {
  background: #efefef;
  color: #111;
  border-color: #dbdbdb;
}

#app-insta .ig3 {
  gap: 2px;
}

/* camera — live viewfinder */
#cmvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
  transition: transform .25s;
}

#cmview.live #cmvid {
  display: block;
}

#cmview.live {
  background-image: none !important;
}

#cmshot {
  display: none;
}

.cm-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 176px;
  z-index: 2;
  padding: 0 26px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: #ffd60a;
  text-shadow: 0 1px 3px #000;
  display: none;
}

.cm-note.on {
  display: block;
}

/* ============================================================
   APP SWITCHER — authentic iOS live preview card deck
   ============================================================ */
#switcher {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: none;
  background: rgba(14, 14, 18, .44);
  backdrop-filter: blur(28px) saturate(155%);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  opacity: 0;
  transition: opacity .22s cubic-bezier(.32, .72, 0, 1);
}
#switcher.on { display: block; }
#switcher.vis { opacity: 1; }
#phone:has(#switcher.on) #home {
  transform: scale(.91);
  filter: blur(6px);
}
#phone:has(#switcher.on) #sb { color: #fff !important; }
#phone:has(#switcher.on) #bar { background: #fff !important; }
#swcards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 58px 72px 32px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#swcards::-webkit-scrollbar {
  display: none;
}

.sw-item {
  flex: none;
  width: 248px;
  position: relative;
  scroll-snap-align: center;
  touch-action: pan-x;
  cursor: pointer;
  will-change: transform, opacity;
}
.sw-item + .sw-item { margin-left: -30px; }
.sw-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  transform-origin: center center;
  will-change: transform;
}
.sw-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 6px;
  transition: opacity .14s;
}
.sw-hico {
  width: 26px;
  height: 26px;
  border-radius: 6.5px;
  overflow: hidden;
  flex: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}
.sw-hico svg { width: 100%; height: 100%; display: block; }
.sw-hname {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.15px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sw-shot {
  width: 248px;
  height: 538px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #141416;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .62), 0 4px 14px rgba(0, 0, 0, .35);
  will-change: filter;
}
.sw-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 .75px rgba(255, 255, 255, .2);
  pointer-events: none;
  z-index: 2;
}

.sw-ico {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}

.sw-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sw-name {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2px;
}

#swhint {
  flex: none;
  text-align: center;
  color: #ffffff66;
  font-size: 12px;
  padding-top: 14px;
}

/* ============================================================
   REALISM POLISH — Home icons, widgets, and all 16 apps
   ============================================================ */

/* Home icons, notifications & weather widget */
.ic u svg {
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28), 0 0 0 .5px rgba(255, 255, 255, .14);
}

.dock {
  background: rgba(255, 255, 255, .2);
  box-shadow: inset 0 .5px 0 rgba(255, 255, 255, .28);
}

#notif u,
.nf u {
  overflow: hidden;
}

#notif u svg,
.nf u svg,
#banner u svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

.w1 {
  cursor: pointer;
  background: linear-gradient(180deg, #357ad8, #63a2eb);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

.w1.night {
  background: linear-gradient(180deg, #172342, #293c69);
}

.w2 {
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

/* Live search inputs (Notes & Messages) */
.srch.srch-in {
  cursor: text;
}

.srch.srch-in input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 16px;
  color: #111;
}

.srch.srch-in input::placeholder {
  color: #8e8e93;
}

/* Photos viewer bar & interactive segmented pill */
#app-photos .seg {
  bottom: 24px;
  cursor: pointer;
}

#app-photos .seg span {
  cursor: pointer;
}

.pv-bar {
  flex: none;
  height: 76px;
  padding: 10px 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9f9f9;
  border-top: .5px solid #d1d1d6;
  color: var(--bl);
  font-size: 24px;
}

.pv-bar>span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

#app-photos #pfav.lk {
  filter: invert(1) hue-rotate(180deg);
  color: #ff3b30;
}

/* Calendar interactive date selection */
.cal div {
  cursor: pointer;
}

.cal div.sel:not(.td) span {
  background: #1c1c1e;
  color: #fff;
  font-weight: 600;
}

#app-cal .tb>b[onclick] {
  cursor: pointer;
}

/* Instagram polish */
#app-insta .ih .ig {
  display: inline-flex;
  align-items: center;
  font-size: 0;
}

#app-insta .ig-bk {
  cursor: pointer;
}

#app-insta .sto {
  overflow-x: auto;
  scrollbar-width: none;
}

#app-insta .sto::-webkit-scrollbar {
  display: none;
}

#app-insta .sto>div {
  flex: none;
  cursor: pointer;
}

#app-insta .ig3 .ti {
  aspect-ratio: 1;
}

#app-insta .ig-link {
  color: #00376b;
  font-weight: 500;
}

#app-insta .pcap {
  margin-top: 2px;
  font-size: 13.5px;
  color: #111;
}

#app-insta .pa .sv svg {
  fill: currentColor;
}

#app-insta .pts span[onclick] {
  cursor: pointer;
}

#app-insta .ig-empty {
  display: none;
  padding: 52px 24px;
  text-align: center;
  color: #8e8e93;
  font-size: 14px;
}

#app-insta .ig-sh {
  padding: 10px 16px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* iMessage (SMS) */
.im-ts {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #8e8e93;
  margin: 4px 0 8px;
}

/* Clock (interactive alarms, stopwatch, timers, dark tab bar) */
.ck-row {
  cursor: pointer;
}

.ck-row.off b,
.ck-row.off span {
  opacity: .42;
}

.ck-row i {
  background: #39393d;
  transition: background .2s;
}

.ck-row i.on {
  background: #34c759;
}

.ck-row i::after {
  right: auto;
  left: 2px;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

.ck-row i.on::after {
  transform: translateX(18px);
}

.ck-tb {
  background: rgba(18, 18, 20, .92);
  border-top-color: #2c2c2e;
  color: #8e8e93;
}

.ck-tb .a {
  color: #ff9f0a;
}

.ck-swc {
  padding-top: 46px;
  text-align: center;
}

.ck-sw-t {
  margin: 34px 0 36px;
  font-size: 64px;
  font-weight: 200;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.ck-sw-btns {
  display: flex;
  justify-content: space-between;
  padding: 0 12px 22px;
}

.ck-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.ck-btn.g {
  background: #2c2c2e;
  color: #fff;
  box-shadow: inset 0 0 0 2px #000, 0 0 0 2px #2c2c2e;
}

.ck-btn.s {
  background: #12331b;
  color: #30d158;
  box-shadow: inset 0 0 0 2px #000, 0 0 0 2px #12331b;
}

.ck-btn.stop {
  background: #3b1312;
  color: #ff453a;
  box-shadow: inset 0 0 0 2px #000, 0 0 0 2px #3b1312;
}

.ck-presets {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.ck-presets button {
  padding: 7px 14px;
  border-radius: 18px;
  border: 1px solid #3a3a3c;
  background: #1c1c1e;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* Weather (night gradient, 5-day bars, 2x2 metrics) */
#app-weather.night .v {
  background: linear-gradient(180deg, #0d162b, #17274a 55%, #1e325c);
}

.wt-drow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: .5px solid rgba(255, 255, 255, .14);
  font-size: 15px;
}

.wt-drow:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.wt-drow>span:first-child {
  width: 52px;
  font-weight: 500;
}

.wt-drow .io {
  font-size: 20px;
  color: #cfe4ff;
  width: 24px;
  justify-content: center;
}

.wt-drow small {
  width: 28px;
  text-align: right;
  opacity: .68;
  font-size: 14px;
}

.wt-drow b {
  width: 28px;
  font-weight: 500;
  font-size: 14px;
}

.wt-bar {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  position: relative;
  overflow: hidden;
}

.wt-bar u {
  display: block;
  position: absolute;
  left: 16%;
  right: 18%;
  top: 0;
  bottom: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #64d2ff, #ffd60a);
}

.wt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wt-grid .wt-card {
  margin-bottom: 0;
}

.wt-mv {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}

.wt-mv small {
  font-size: 15px;
  opacity: .8;
}

.wt-ms {
  font-size: 12.5px;
  line-height: 1.35;
  opacity: .78;
}

/* Camera interactive controls */
.cm-live {
  cursor: pointer;
}

.cm-live.off {
  opacity: .4;
}

.cm-mode {
  cursor: pointer;
}

/* Music floating mini-player & native dark tab bar */
#mu-main {
  padding-bottom: 164px;
}

.mu-mini {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 92px;
  height: 58px;
  padding: 0 12px 0 8px;
  border-radius: 14px;
  background: rgba(34, 34, 38, .92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .55), inset 0 .5px 0 rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  overflow: hidden;
  z-index: 6;
}

.mu-mart {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  background-color: #2c2c2e;
}

.mu-mmeta {
  flex: 1;
  min-width: 0;
}

.mu-mmeta b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-mmeta small {
  display: block;
  font-size: 12px;
  color: #a0a0a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mu-mbtn {
  flex: none;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: none;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mu-prog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .12);
}

.mu-prog i {
  display: block;
  height: 100%;
  width: 0;
  background: #fa2b47;
  transition: width .5s linear;
}

.mu-tb {
  background: rgba(18, 18, 20, .92);
  border-top-color: #2c2c2e;
  color: #8e8e93;
}

.mu-tb .a {
  color: #fa2b47;
}

/* Maps (native Apple Maps Dark Mode) */
#app-maps,
#app-maps .v {
  background: #181c22;
  color: #fff;
}

#app-maps .map {
  background-color: #181c22;
  background-size: cover;
  background-position: center;
}

#app-maps .map::before,
#app-maps .map::after {
  display: none;
}

.map-me {
  position: absolute;
  left: 48%;
  top: 39%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0a84ff;
  border: 2.5px solid #fff;
  box-shadow: 0 0 0 8px rgba(10, 132, 255, .24);
  transform: translate(-50%, -50%);
}

#app-maps .pin {
  flex-direction: column;
  align-items: center;
  transition: left .35s cubic-bezier(.32, .72, 0, 1), top .35s cubic-bezier(.32, .72, 0, 1);
}

#maplbl {
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: 10px;
  background: rgba(20, 22, 26, .88);
  border: .5px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

#app-maps .fb {
  background: rgba(28, 28, 30, .9);
  color: #0a84ff;
  border: .5px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#app-maps .sh {
  background: #1c1c1e;
  color: #fff;
  border-top: .5px solid rgba(255, 255, 255, .08);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, .55);
}

#app-maps .sh::before {
  background: #545458;
}

#app-maps .srch {
  margin: 0 0 12px;
  background: #2c2c2e;
  color: #98989d;
}

#app-maps .fav>div {
  cursor: pointer;
  color: #e5e5ea;
}

#app-maps .fav s {
  background: #2c2c2e;
  color: #0a84ff;
}

#app-maps .grp {
  background: #2c2c2e;
}

#app-maps .li {
  color: #fff;
  cursor: pointer;
}

#app-maps .li:not(:last-child)::after {
  border-bottom-color: #3a3a3c;
}

#app-maps .li:active,
#app-maps .li:hover {
  background: #38383a;
}

/* Files document preview */
.doc-sheet {
  margin: 12px 16px 40px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.doc-meta {
  font-size: 12px;
  color: #8e8e93;
  padding-bottom: 10px;
  border-bottom: .5px solid #d1d1d6;
}

.doc-sheet pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #111;
}

/* Gmail letter avatar typography & star toggle */
.gx-ga {
  font-weight: 600;
  font-size: 17px;
}

.gx-gsub em {
  cursor: pointer;
}

.gx-gsub em.st-on {
  filter: invert(1) hue-rotate(180deg);
  color: #fbbc04;
}

.gx-gsub em.st-on svg {
  fill: #fbbc04;
}

/* Settings interactive Airplane Mode switch */
#app-set .set-sw {
  cursor: pointer;
}

#app-set .ios-sw {
  margin-left: auto;
  width: 50px;
  height: 30px;
  border-radius: 15px;
  background: #39393d;
  position: relative;
  transition: background .2s;
  flex: none;
}

#app-set .ios-sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
  transition: transform .2s;
}

#app-set .set-sw.on .ios-sw {
  background: #34c759;
}

#app-set .set-sw.on .ios-sw::after {
  transform: translateX(20px);
}

/* Phone keypad call + backspace row */
.kp-act {
  display: grid;
  grid-template-columns: 78px 78px 78px;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.kp-del {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  justify-self: center;
  font-size: 26px;
  color: #8e8e93;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}