/** notes */
.layar.notes {
  background: #000;
  color: #fff;
}

.nt-kuning {
  color: #f5b400;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.nt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 4px;
  flex-shrink: 0;
}

.nt-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 14px;
}

.nt-scroll::-webkit-scrollbar {
  display: none;
}

.nt-judul {
  margin: 6px 0 10px;
  font-size: 30px;
}

.nt-cari {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #1c1c1e;
  color: #8e8e93;
}

.nt-grup {
  margin: 22px 4px 8px;
  font-size: 18px;
  font-weight: 700;
}

.nt-kartu {
  background: #1c1c1e;
  border-radius: 12px;
  overflow: hidden;
}

.nt-baris {
  padding: 10px 14px;
  cursor: pointer;
}

.nt-baris + .nt-baris {
  border-top: 1px solid #2c2c2e;
}

.nt-baris b {
  display: block;
  font-size: 15px;
}

.nt-meta {
  font-size: 13px;
  color: #8e8e93;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nt-folder {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8e8e93;
  margin-top: 2px;
}

.nt-folder .ik {
  width: 14px;
  height: 14px;
}

.nt-bawah {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  padding: 12px 18px 34px;
  font-size: 12px;
  background: #161616;
}

.nt-isi-wadah {
  display: flex;
  flex-direction: column;
}

.nt-input-judul {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  padding: 6px 0;
}

.nt-input-isi {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  resize: none;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  padding: 0 0 40px;
}

/** photos */
.layar.ft {
  background: #1c1c1e;
  color: #fff;
}

.ft-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 6px 16px 10px;
  flex-shrink: 0;
}

.ft-header h1 {
  margin: 0;
  font-size: 32px;
}

.ft-header small {
  color: #aaa;
  font-size: 14px;
}

.ft-cari {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0a84ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-cari .ik {
  width: 18px;
  height: 18px;
}

.ft-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 40px;
}

.ft-scroll::-webkit-scrollbar {
  display: none;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.ft-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.ft-judul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 22px 16px 10px;
  font-size: 22px;
  font-weight: 700;
}

.ft-memories {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  overflow-x: auto;
}

.ft-memories::-webkit-scrollbar {
  display: none;
}

.ft-kartu {
  position: relative;
  flex: 0 0 82%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
}

.ft-kartu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-kartu div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 16px 20px;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  font-weight: 800;
  letter-spacing: 1px;
}

.ft-kartu small {
  display: block;
  font-weight: 400;
  margin-top: 4px;
}

.ft-album {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px;
}

.ft-album-item {
  display: flex;
  background: #2c2c2e;
  border-radius: 16px;
  overflow: hidden;
  height: 76px;
  cursor: pointer;
}

.ft-album-cover {
  width: 76px;
  flex-shrink: 0;
  background: #3a3a3c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-album-teks {
  padding: 10px;
  min-width: 0;
  font-size: 14px;
}

.ft-album-teks b {
  display: block;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ft-album-teks span {
  color: #aaa;
}

.ft-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px 10px;
  flex-shrink: 0;
}

.ft-bar > * {
  flex: 1;
}

.ft-bar > .ft-bulat {
  flex: 0 0 36px;
}

.ft-bar b {
  text-align: center;
}

.ft-biru {
  color: #0a84ff;
  background: none;
  border: none;
  font-size: 16px;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  cursor: pointer;
}

/** Utilities */
.ft-kartu-daftar {
  margin: 0 16px;
  background: #2c2c2e;
  border-radius: 20px;
  overflow: hidden;
}

.ft-baris {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 16px;
  cursor: pointer;
}

.ft-baris .ik {
  width: 22px;
  height: 22px;
  color: #d1d1d6;
}

.ft-baris-isi {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #3a3a3c;
}

.ft-baris:first-child .ft-baris-isi {
  border-top: none;
}

.ft-baris-jumlah {
  display: flex;
  align-items: center;
  color: #8e8e93;
  font-size: 16px;
}

.ft-baris-jumlah .ik {
  width: 16px;
  height: 16px;
  color: #8e8e93;
}

.ft-bersama {
  margin: 0 16px;
  padding: 16px;
  background: #2c2c2e;
  border-radius: 20px;
}

.ft-bersama-atas {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.ft-bersama-atas .ik {
  width: 34px;
  height: 34px;
  color: #8e8e93;
}

.ft-bersama-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  background: #3a3a3c;
  color: #0a84ff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.ft-bersama b {
  display: block;
  margin-top: 10px;
  color: #8e8e93;
  font-size: 17px;
  font-weight: 600;
}

.ft-bersama p {
  margin: 6px 0 0;
  color: #8e8e93;
  font-size: 14px;
  line-height: 1.4;
}

.layar.ft.ft-hitam {
  background: #000;
}

.ft-bulat {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1c1c1e;
  color: #0a84ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-judul-besar {
  margin: 4px 16px 0;
  font-size: 28px;
  font-weight: 700;
}

.ft-kunci-tengah {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-bottom: 120px;
  text-align: center;
}

.ft-kunci-tengah .ik {
  width: 40px;
  height: 40px;
  color: #8e8e93;
}

.ft-kunci-tengah b {
  font-size: 22px;
}

.ft-kunci-tengah button {
  border: none;
  background: none;
  color: #0a84ff;
  font-size: 17px;
  cursor: pointer;
}

.ft-kosong {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: #8e8e93;
}

/** photos viewer */
#layar-photos-lihat {
  background: #000;
}

.pv-atas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 8px;
  flex-shrink: 0;
}

.pv-bulat {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(60, 60, 67, .6);
  color: #0a84ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-bulat .ik {
  width: 22px;
  height: 22px;
}

.pv-bulat.besar {
  width: 56px;
  height: 56px;
}

.pv-judul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pv-judul b {
  font-size: 16px;
}

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

.pv-besar {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.pv-besar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pv-strip {
  position: relative;
  display: flex;
  gap: 3px;
  align-items: center;
  height: 58px;
  flex-shrink: 0;
  padding: 0 calc(50% - 20px);
  overflow-x: auto;
  scrollbar-width: none;
}

.pv-strip::-webkit-scrollbar {
  display: none;
}

.pv-strip img {
  flex: 0 0 24px;
  width: 24px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  opacity: .75;
  transition: all .2s;
}

.pv-strip img.aktif {
  flex-basis: 38px;
  width: 38px;
  height: 52px;
  opacity: 1;
}

.pv-bawah {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 40px;
  flex-shrink: 0;
}

.pv-pil {
  display: flex;
  gap: 6px;
  padding: 0 6px;
  height: 56px;
  border-radius: 28px;
  background: rgba(60, 60, 67, .6);
  align-items: center;
}

.pv-pil button {
  width: 52px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: #0a84ff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-pil .ik {
  width: 24px;
  height: 24px;
}

#pvSuka.aktif svg {
  fill: currentColor;
}

/** passcode */
#layar-passcode {
  --tombol: rgba(255, 255, 255, .28);
  align-items: center;
  color: #fff;
  background: #131313;
}

#layar-passcode.pc-album {
  --tombol: rgba(255, 255, 255, .42);
  background: #555;
}

.pc-atas {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  padding: 0 24px;
  text-align: center;
}

#layar-passcode.pc-album .pc-atas {
  margin-top: 56px;
}

.pc-gembok {
  width: 22px;
  height: 22px;
  margin-bottom: 56px;
}

.pc-atas h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.pc-atas p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.3;
  opacity: .9;
}

.pc-atas p:empty {
  display: none;
}

.pc-titik {
  display: flex;
  gap: 22px;
  margin: 26px 0 40px;
}

.pc-titik span {
  width: 13px;
  height: 13px;
  border: 1.5px solid #fff;
  border-radius: 50%;
}

.pc-titik span.isi {
  background: #fff;
}

.pc-titik.goyang {
  animation: pc-goyang .4s;
}

@keyframes pc-goyang {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-12px); }
  40% { transform: translateX(12px); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(8px); }
}

.pc-hint {
  min-height: 18px;
  margin-top: 14px;
  padding: 0 30px;
  font-size: 13px;
  text-align: center;
  opacity: .85;
}

.pc-keypad {
  display: grid;
  grid-template-columns: repeat(3, 79px);
  gap: 15px 29px;
  margin-top: 18px;
}

.pc-tombol {
  width: 79px;
  height: 79px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--tombol);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pc-tombol b {
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.pc-tombol small {
  height: 12px;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 12px;
}

.pc-tombol:active {
  background: rgba(255, 255, 255, .55);
}

.pc-tombol[data-angka="0"] {
  grid-column: 2;
}

.pc-bawah {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding: 0 46px 52px;
}

.pc-bawah button {
  border: none;
  background: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  padding: 0;
}

@media (max-height: 760px) {
  .pc-keypad {
    grid-template-columns: repeat(3, 64px);
    gap: 10px 24px;
  }

  .pc-tombol {
    width: 64px;
    height: 64px;
  }

  .pc-tombol b {
    font-size: 26px;
  }

  .pc-gembok {
    margin-bottom: 24px;
  }
}

/** maps */
.layar.maps {
  background: #1c1c1e;
  color: #fff;
}

.mp-peta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  background: #2a2f3a url("../gambar/peta.jpg") center / cover no-repeat;
}

.mp-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 52%;
  background: #242426;
  border-radius: 22px 22px 0 0;
  padding: 8px 14px 40px;
  overflow-y: auto;
}

.mp-panel::-webkit-scrollbar {
  display: none;
}

.mp-pegangan {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: #555;
  margin: 0 auto 12px;
}

.mp-cari {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: #3a3a3c;
  color: #8e8e93;
}

.mp-cari span {
  flex: 1;
}

.mp-cari img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  margin: -8px -4px -8px 0;
}

.mp-label {
  margin: 16px 4px 8px;
  color: #aaa;
}

.mp-kartu {
  background: #2c2c2e;
  border-radius: 16px;
  padding: 14px 8px 0;
}

.mp-ikon-baris {
  display: flex;
  justify-content: space-around;
  text-align: center;
  font-size: 13px;
  padding-bottom: 12px;
}

.mp-ikon-baris div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 20%;
}

.mp-ikon-baris small {
  color: #0a84ff;
  font-size: 12px;
}

.mp-ikon-baris small.abu {
  color: #aaa;
}

.mp-bulat {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #3a3a3c;
  color: #0a84ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mp-bulat.merah {
  background: #ff3040;
  color: #fff;
}

.mp-bulat.kecil {
  width: 34px;
  height: 34px;
}

.mp-garis {
  border-top: 1px solid #3a3a3c;
  padding: 12px 8px;
  font-size: 15px;
}

.mp-aksi {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: #2c2c2e;
  color: #0a84ff;
  font-size: 17px;
  cursor: pointer;
}

.mp-latar {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}

.mp-share {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: #1f1f21;
  border-radius: 22px 22px 0 0;
  padding: 14px 14px 40px;
  transform: translateY(100%);
  transition: transform 0.25s;
}

#layar-maps.share-buka .mp-latar {
  opacity: 1;
  visibility: visible;
}

#layar-maps.share-buka .mp-share {
  transform: none;
}

.mp-share-atas {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.mp-share-atas b {
  flex: 1;
  font-size: 16px;
}

.mp-x {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #3a3a3c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mp-apps {
  display: flex;
  justify-content: space-around;
  padding: 14px 0;
  font-size: 12px;
  text-align: center;
}

.mp-apps div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mp-apps img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.mp-salin {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: #2c2c2e;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.mp-salin.ringan {
  cursor: default;
}