* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  }
  
 body {
    min-height: 100vh;
    background: #17171d;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    overflow: hidden;
  }
  
  
  #iphone {
    width: min(390px, calc(100vw - 24px));
    height: min(844px, calc(100dvh - 24px));
    background: #000;
    border: 8px solid #292929;
    border-radius: 55px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.6);
    box-sizing: border-box;
  }
  
  #lock-screen,
  #home-screen,
  #app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  }
  
  #lock-screen {
    background-color: #111;
    background-image: url("");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
  
#home-screen {
  background-color: #111;
  background-image: url("https://cdn.phototourl.com/anon/2026-11-19-41c6dcde-72df-4e5e-8625-a94ea4b79090.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
  
  #app-screen {
  background: #f5f5f7;
  color: #111;
  }
  
  [hidden] {
  display: none !important;
  }
  
  #admin-panel {
  display: none;
  }
  .status-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    color: white;
    font-size: 14px;
}

.lock-content {
  position: absolute;
  top: 95px;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
}

#lock-date {
  font-size: 18px;
  margin-bottom: 0;
  line-height: 1.2;
}

#lock-time {
  margin-top: 0;
  line-height: 1;
}

#lock-time {
    font-size: 85px;
    font-weight: 300;
}

.lock-bottom {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}
/* iPhone-style typography */

#iphone {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

#lock-screen {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

#lock-time {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 85px;
  font-weight: 300;
  letter-spacing: -3px;
}

#lock-date {
  font-family: "SF Pro Text", -apple-system, sans-serif;
  font-weight: 400;
}
.lock-bottom {
  bottom: 55px;
}

.home-indicator {
  position: absolute;
  bottom: 27px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 5px;
  background: white;
  border-radius: 10px;
  z-index: 9999;
}
.lock-bottom button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(35, 35, 35, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lock-bottom svg {
  color: white;
}
/* الشاشة الرئيسية */

.home-status {
  display: flex;
  justify-content: space-between;
  padding: 15px 25px;
  color: white;
  font-size: 14px;
}

.home-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
 grid-template-rows: 80px 80px;
 gap: 12px 6px;
 padding: 35px 20px;
 align-items: center;
}

.home-dock {
  position: absolute;
  bottom: 25px;
  left: 15px;
  right: 15px;
  height: 85px;
  border-radius: 35px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
   -webkit-backdrop-filter: blur(20px);
    display: flex;
      align-items: center;
        justify-content: center;
          gap: 15px;
}
.dock-icon {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.dock-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* خلفية الشاشة الرئيسية */
#home-screen {
  background: url("https://cdn.phototourl.com/anon/2026-11-19-41c6dcde-72df-4e5e-8625-a94ea4b79090.jpg") center center / cover no-repeat !important;
}
/* WhatsApp Interface */

#app-screen {
  background: #f7f7f7;
  color: #111;
  direction: ltr;
  font-family: Arial, sans-serif;
  }
  
  .whatsapp-header {
  height: 65px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f7;
  }
  
  .whatsapp-header h2 {
  font-size: 27px;
  font-weight: 700;
  }
  
  .whatsapp-header button {
  border: none;
  background: transparent;
  font-size: 30px;
  color: #128C50;
  }
  
  .whatsapp-search {
  padding: 5px 14px 12px;
  }
  
  .whatsapp-search input {
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #e9e9eb;
  padding: 0 12px;
  font-size: 16px;
  outline: none;
  }
  
  .whatsapp-tabs {
  display: flex;
  gap: 9px;
  padding: 5px 14px 14px;
  overflow-x: auto;
  white-space: nowrap;
  }
  
  .whatsapp-tabs span {
  padding: 8px 16px;
  border-radius: 20px;
  background: #e8e8e8;
  color: #444;
  font-size: 14px;
  }
  
  .whatsapp-tabs span:first-child {
  background: #d9fdd3;
  color: #075e36;
  }
  
  .whatsapp-chat-list {
  border-top: 1px solid #e5e5e5;
  }
  /* WhatsApp Dark Mode */

#app-screen {
  background: #0b141a;
  color: #e9edef;
}

.whatsapp-header {
  background: #0b141a;
  color: #e9edef;
}

.whatsapp-header button {
  color: #00a884;
}

.whatsapp-search input {
  background: #202c33;
  color: white;
}

.whatsapp-search input::placeholder {
  color: #8696a0;
}

.whatsapp-tabs span {
  background: #202c33;
  color: #d1d7db;
}

.whatsapp-tabs span:first-child {
  background: #005c4b;
  color: white;
}

.whatsapp-chat-list {
  border-color: #202c33;
}
.notes-widget {
  grid-column: span 2;
  aspect-ratio: 1 / 1;
  background: #292929;
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
  direction: rtl;
  text-align: right;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.notes-widget-header {
  background: #ffcc00;
  color: #222;
  font-size: 19px;
  font-weight: 800;
  padding: 17px 15px;
  min-height: 65px;
}

.notes-task {
  color: #f5f5f7;
  font-size: 9px;
  font-weight: 500;
  padding: 4px 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notes-task::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid #ffcc00;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ستريك منجزة */
.notes-task:nth-child(4)::before {
  background: #ffcc00;
}

.notes-widget-header {
  border-bottom: 3px dotted #777;
}

.app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: white;
  font-size: 11px;
}

.app-icon-image {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
}

.discord-icon {
  background: #5865F2;
}

.kick-icon {
  background: #53FC18;
  color: black;
}

.whatsapp-icon {
  background: #25D366;
  color: white;
}

.x-icon {
  background: black;
  color: white;
  border: 1px solid #444;
}

.notes-widget {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  height: 160px;
}

.app-icon {
  grid-column: span 1;
}

.home-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 12px 6px;
  padding: 35px 20px;
  align-items: center;
}

.notes-widget {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  width: 100%;
  height: 172px;
  aspect-ratio: auto;
}

.app-icon:nth-of-type(2) {
  grid-column: 3;
  grid-row: 1;
}

.app-icon:nth-of-type(3) {
  grid-column: 4;
  grid-row: 1;
}

.app-icon:nth-of-type(4) {
  grid-column: 3;
  grid-row: 2;
}

.app-icon:nth-of-type(5) {
  grid-column: 4;
  grid-row: 2;
}
.app-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.app-icon-image {
  margin: 0;
}


.app-icon span {
  display: block;
  margin-top: 4px !important;
  line-height: 1.2 !important;
}
.home-apps {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
}

.app-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  position: static !important;
}
.home-apps {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-auto-rows: auto !important;
  gap: 12px 6px !important;
  align-items: start !important;
}

.notes-widget {
  grid-column: 1 / 3 !important;
  grid-row: 1 / 3 !important;
  align-self: stretch !important;
}

.app-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}

.app-icon-image {
  margin: 0 auto !important;
  position: static !important;
  transform: none !important;
}

.app-icon span {
  margin-top: 4px !important;
  text-align: center !important;
}
/* تثبيت شبكة 2x2 بجانب الملاحظات بشكل صريح */
#home-apps.home-apps {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  justify-items: center !important;
  gap: 12px 6px !important;
}

#home-apps .notes-widget {
  grid-column: 1 / 3 !important;
  grid-row: 1 / 3 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
}

/* توحيد كل بطاقات التطبيقات بالكامل */
#home-apps .app-icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: start !important;
  justify-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  position: static !important;
  transform: none !important;
}

/* ضبط المربع والنص داخل كل أيقونة بنفس المقاس */
#home-apps .app-icon-image {
  width: 48px !important;
  height: 48px !important;
  flex: 0 0 48px !important;
  margin: 0 !important;
  position: static !important;
  transform: none !important;
}

#home-apps .app-icon span {
  display: block !important;
  margin: 4px 0 0 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.discord-icon svg {
  width: 75%;
  height: 75%;
}
.discord-icon svg {
  width: 65%;
  height: 75%;
}
.kick-icon svg {
  width: 65%;
  height: 75%;
}
.x-icon svg {
  width: 60%;
  height: 60%;
}
/* DISCORD APP */

.discord-app {
  position: absolute;
  inset: 0;
  background: #313338;
  color: #f2f3f5;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dc-header {
  height: 65px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid #232428;
}

.dc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
}

.dc-logo {
  width: 30px;
  height: 25px;
  color: #5865f2;
}

.dc-logo svg {
  width: 100%;
  height: 100%;
}

.dc-add {
  border: 0;
  background: transparent;
  color: white;
  font-size: 27px;
}

.dc-search {
  margin: 14px 15px;
  height: 40px;
  border-radius: 9px;
  background: #1e1f22;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  color: #949ba4;
  font-size: 14px;
}

.dc-search svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.dc-tabs {
  display: flex;
  gap: 9px;
  padding: 0 15px 13px;
  border-bottom: 1px solid #232428;
}

.dc-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 8px 15px;
  background: #383a40;
  color: #b5bac1;
  font-size: 13px;
}

.dc-tabs button.selected {
  background: #5865f2;
  color: white;
}

.dc-body {
  flex: 1;
  display: flex;
  min-height: 0;
}

.dc-servers {
  width: 65px;
  flex-shrink: 0;
  background: #1e1f22;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  padding-top: 15px;
}

.dc-server {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #36383f;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  font-weight: bold;
  color: white;
}

.dc-server.active {
  background: #5865f2;
  border-radius: 14px;
}

.dc-server svg {
  width: 22px;
  fill: white;
}

.dc-separator {
  width: 30px;
  height: 2px;
  background: #393b42;
}

.add-server {
  color: #23a55a;
  font-size: 25px;
}

.dc-chats {
  flex: 1;
  padding: 18px 12px;
  overflow: auto;
}

.dc-section-title {
  color: #949ba4;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.dc-chat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
  border-radius: 9px;
}

.active-chat {
  background: #404249;
}

.dc-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dc-avatar svg {
  width: 29px;
  color: white;
}

.dc-chat-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.dc-chat-info strong {
  font-size: 14px;
}

.dc-chat-info small {
  color: #949ba4;
  font-size: 11px;
}

.dc-empty-note {
  color: #949ba4;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  padding: 35px 12px;
}

.dc-bottom {
  height: 70px;
  flex-shrink: 0;
  background: #232428;
  border-top: 1px solid #3b3d44;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.dc-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #949ba4;
  font-size: 10px;
}

.dc-nav-item svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.dc-nav-active {
  color: #5865f2;
}
.dc-server img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.dc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.dc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
#discord-chat-screen {
  width: 100%;
  height: 100%;
  background: #313338;
  color: #f2f3f5;
  display: flex;
  flex-direction: column;
  font-family: inherit;
  overflow: hidden;
}

#discord-chat-screen[hidden] {
  display: none !important;
}

.dc-chat-header {
  height: 58px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  background: #313338;
  border-bottom: 1px solid #292b2f;
}

.dc-back {
  background: none;
  border: none;
  color: #dbdee1;
  font-size: 30px;
  padding: 0 5px;
}

.dc-chat-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dc-chat-title strong {
  font-size: 16px;
  font-weight: 700;
  color: #f2f3f5;
}

.dc-chat-title small {
  font-size: 11px;
  color: #949ba4;
}

.dc-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  background: #313338;
}

.dc-message-input {
  min-height: 48px;
  margin: 8px 10px 12px;
  padding: 0 13px;
  border-radius: 24px;
  background: #383a40;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #b5bac1;
  font-size: 14px;
  flex-shrink: 0;
}

.dc-message-input span:first-child {
  font-size: 25px;
  color: #b5bac1;
}

.dc-message-input span:last-child {
  margin-left: auto;
}

/* Discord DM - Mobile Design */

#discord-chat-screen {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #313338;
  color: #f2f3f5;
  font-family: inherit;
}

#discord-chat-screen[hidden] {
  display: none !important;
}

.dc-real-header {
  height: 58px;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #313338;
  border-bottom: 1px solid #26272b;
}

.dc-real-header button,
.dc-header-icons button,
.dc-real-composer button {
  border: 0;
  background: transparent;
  color: #b5bac1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.dc-real-header svg,
.dc-real-composer svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dc-user-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 15px;
  font-weight: 700;
  overflow: hidden;
}

.dc-real-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.dc-real-title strong {
  font-size: 15px;
  color: #f2f3f5;
}

.dc-real-title span {
  font-size: 10px;
  color: #949ba4;
}

.dc-header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-chat-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 12px;
  background: #313338;
}

.dc-date-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 24px;
  color: #949ba4;
  font-size: 11px;
  font-weight: 700;
}

.dc-date-divider::before,
.dc-date-divider::after {
  content: "";
  height: 1px;
  background: #3f4147;
  flex: 1;
}

.dc-message-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
}

.dc-message-group .dc-user-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.dc-message-content {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.dc-message-author {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
}

.dc-message-author strong {
  font-size: 14px;
  color: #f2f3f5;
}

.dc-message-author time {
  font-size: 10px;
  color: #949ba4;
}

.dc-message-content p {
  margin: 3px 0;
  font-size: 13px;
  line-height: 1.65;
  color: #dbdee1;
  overflow-wrap: anywhere;
}

.dc-message-content .dc-mention {
  display: table;
  color: #c9cdfb;
  background: #414675;
  padding: 1px 5px;
  border-radius: 3px;
}

.abs-avatar {
  background: #e09b55;
}

.dc-real-composer {
  min-height: 54px;
  margin: 6px 10px 12px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 9px;
  background: #383a40;
  flex-shrink: 0;
}

.dc-real-composer button {
  flex-shrink: 0;
}

.dc-plus {
  width: 30px;
  height: 30px;
  border-radius: 50% !important;
  background: #b5bac1 !important;
  color: #313338 !important;
}

.dc-plus svg {
  width: 19px;
  height: 19px;
}

.dc-composer-placeholder {
  flex: 1;
  min-width: 0;
  color: #949ba4;
  font-size: 13px;
}
.dc-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
#kick-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
#x-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
}

#x-screen[hidden] {
  display: none !important;
}

.x-images {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.x-images img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}
#phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  overflow: hidden;
  font-family: inherit;
}

#phone-screen[hidden] {
  display: none !important;
}

.phone-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  padding: 18px 16px 0;
  box-sizing: border-box;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 20px;
}

.phone-top h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
}

.phone-top button {
  background: none;
  border: 0;
  color: #0a84ff;
  font-size: 15px;
}

.phone-filter {
  display: flex;
  background: #242426;
  border-radius: 9px;
  padding: 3px;
  margin-bottom: 18px;
}

.phone-filter button {
  flex: 1;
  border: 0;
  padding: 8px;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.phone-filter button.active {
  background: #636366;
}

.phone-search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #1c1c1e;
  color: #8e8e93;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  margin-bottom: 15px;
}

#call-list {
  flex: 1;
  overflow-y: auto;
}

.phone-bottom {
  min-height: 65px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid #242426;
  background: #000;
}

.phone-bottom div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
  font-size: 20px;
}

.phone-bottom small {
  font-size: 9px;
}
.call-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #242426;
  direction: rtl;
}

.call-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: #38383a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 19px;
  font-weight: 600;
}

.call-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.call-info strong {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.call-info span {
  color: #8e8e93;
  font-size: 12px;
}

.call-item.missed .call-info strong,
.call-item.missed .call-info span {
  color: #ff453a;
}

.call-time {
  color: #8e8e93;
  font-size: 12px;
  direction: ltr;
}
#files-screen {
  width: 100%;
  height: 100%;
  background: #000;
  color: #f5f5f7;
  overflow: hidden;
  font-family: inherit;
}

#files-screen[hidden] {
  display: none !important;
}

.files-app {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 0;
  background: #000;
}

.files-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 22px;
}

.files-header h1 {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
}

.files-header button {
  border: 0;
  background: #1c1c1e;
  color: #0a84ff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.files-search {
  height: 38px;
  border-radius: 10px;
  background: #1c1c1e;
  color: #8e8e93;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  font-size: 15px;
  margin-bottom: 27px;
}

.files-search span:first-child {
  font-size: 23px;
}

.files-section-title {
  color: #8e8e93;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px 2px;
}

.files-location {
  display: flex;
  align-items: center;
  min-height: 65px;
  gap: 13px;
  border-bottom: 1px solid #29292b;
}

.files-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 500;
}

.files-icon.icloud {
  background: #173d70;
  color: #62a8ff;
}

.files-icon.iphone {
  background: #343438;
  color: #d1d1d6;
}

.files-icon.download {
  background: #173e35;
  color: #39d98a;
}

.files-info {
  flex: 1;
  font-size: 16px;
}

.files-info strong {
  font-weight: 500;
}

.files-arrow {
  color: #636366;
  font-size: 24px;
  padding-left: 5px;
}

.favorites-title {
  margin-top: 30px;
}

.files-empty {
  color: #8e8e93;
  font-size: 14px;
  text-align: center;
  padding: 35px 0;
}

.files-tabbar {
  margin-top: auto;
  min-height: 68px;
  border-top: 1px solid #242426;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #000;
}

.files-tabbar div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #8e8e93;
}

.files-tabbar span {
  font-size: 22px;
}

.files-tabbar small {
  font-size: 10px;
}

.files-tabbar .selected {
  color: #0a84ff;
}
.files-folder-list {
  gap: 0 !important;
}

.files-folder-list {
  margin-top: 8px;
}

.files-folder {
  min-height: 68px;
  padding: 0 2px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #29292b;
  direction: rtl;
}

.files-folder svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.files-folder-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.files-folder-name strong {
  font-size: 16px;
  font-weight: 500;
  color: #f5f5f7;
}

.files-folder-name small {
  font-size: 12px;
  color: #8e8e93;
}

.folder-arrow {
  font-size: 22px;
  color: #636366;
}
#folder-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  color: #fff;
  z-index: 20;
  overflow-y: auto;
}

#folder-screen[hidden] {
  display: none !important;
}

#folder-screen .files-app {
  height: 100%;
  box-sizing: border-box;
}

#folder-screen .files-header {
  gap: 12px;
}

#folder-title {
  flex: 1;
  font-size: 20px !important;
  text-align: center;
}

#folder-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
}

.folder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}
#photo-viewer {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#photo-viewer[hidden] {
  display: none !important;
}

#photo-viewer button {
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 2;
  background: #222;
  color: white;
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 25px;
}

#full-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#abha-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
}

#abha-content .folder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

#abha-content[hidden] {
  display: none !important;
}
#nama-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
}

#nama-content .folder-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
#whatsapp-chat-screen {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #0b141a;
  color: white;
  display: flex;
  flex-direction: column;
  direction: rtl;
}

#whatsapp-chat-screen[hidden] {
  display: none !important;
}

.wa-header {
  height: 60px;
  background: #202c33;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
}

.wa-header button,
.wa-header span,
.wa-input span {
  color: #e9edef;
  background: none;
  border: none;
  font-size: 24px;
}

#wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

#wa-name {
  flex: 1;
  font-size: 16px;
}

#wa-messages {
  flex: 1;
  background: #0b141a;
  overflow-y: auto;
}

.wa-input {
  height: 60px;
  background: #202c33;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.wa-input input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  border-radius: 22px;
  background: #2a3942;
  color: white;
  padding: 0 14px;
  outline: none;
}
/* WhatsApp iPhone realistic chat list */

#whatsapp-chat-list {
  direction: rtl;
  background: #000;
  width: 100%;
  overflow-y: auto;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

.wa-chat-row {
  height: 82px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  box-sizing: border-box;
  background: #000;
  cursor: pointer;
}

.wa-chat-row::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 82px;
  left: 0;
  height: .5px;
  background: #38383a;
}

.wa-list-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
  background: #34343a;
}

.wa-chat-row:nth-child(1) .wa-list-avatar {
  background: #675b80;
}

.wa-chat-row:nth-child(2) .wa-list-avatar {
  background: #536c75;
}

.wa-chat-row:nth-child(3) .wa-list-avatar {
  background: #79604f;
}

.wa-chat-row:nth-child(4) .wa-list-avatar {
  background: #e87924;
}

.wa-chat-row:nth-child(5) .wa-list-avatar {
  background: #72545b;
}

.wa-list-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wa-list-info strong {
  font-size: 17px;
  font-weight: 500;
  color: #f5f5f5;
  letter-spacing: -.2px;
}

.wa-list-info small {
  font-size: 14px;
  color: #8e8e93;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wa-list-time {
  align-self: flex-start;
  padding-top: 17px;
  font-size: 12px;
  color: #8e8e93;
}
.wa-messages {
  flex: 1;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  background: #0b141a;
}

.wa-received {
  align-self: flex-start;
  position: relative;
  max-width: 78%;
  padding: 10px 12px 22px;
  border-radius: 10px 10px 10px 2px;
  background: #202c33;
  color: #e9edef;
  font-size: 15px;
  direction: rtl;
}

.wa-received span {
  position: absolute;
  bottom: 5px;
  left: 9px;
  color: #8696a0;
  font-size: 10px;
}

.wa-system-message {
  align-self: center;
  background: #182229;
  color: #8696a0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  text-align: center;
}
.wa-notification {
  position: absolute;
  top: 55px;
  left: 12px;
  right: 12px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 17px;
  background: rgba(45, 45, 48, 0.97);
  color: white;
  direction: rtl;
  box-shadow: 0 5px 20px #0006;
  animation: waNotifyIn .4s ease;
}

.wa-notification-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #79604f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wa-notification-content {
  flex: 1;
  min-width: 0;
}

.wa-notification-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.wa-notification-top strong {
  font-size: 14px;
}

.wa-notification-top small {
  color: #c4c4c7;
  font-size: 11px;
}

.wa-notification-content span {
  font-size: 14px;
  color: #f2f2f7;
}

@keyframes waNotifyIn {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wa-sent {
  align-self: flex-end;
  max-width: 78%;
  width: fit-content;
  padding: 10px 12px;
  margin: 5px 10px;
  border-radius: 10px 10px 2px 10px;
  background: #005c4b;
  color: white;
  font-size: 14px;
  direction: rtl;
}

.wa-day {
  align-self: center;
  background: #182229;
  color: #c4c4c7;
  padding: 6px 13px;
  margin: 15px auto;
  border-radius: 8px;
  font-size: 11px;
}
.wa-call {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #202c33;
  color: white;
  padding: 12px 16px;
  margin: 8px 10px;
  border-radius: 12px;
  min-width: 190px;
  direction: rtl;
}

.wa-call > span {
  background: #075e4b;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wa-call div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wa-call small {
  color: #aebac1;
  font-size: 11px;
}
#x-call-screen {
  position: absolute;
  inset: 0;
  z-index: 200;
  background:
    linear-gradient(180deg, #252b38 0%, #10131d 100%);
  color: white;
  direction: rtl;
  font-family: inherit;
}

#x-call-screen[hidden] {
  display: none !important;
}

.iphone-call {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 100px 25px 65px;
  box-sizing: border-box;
  text-align: center;
}

.call-top span {
  color: #d0d0d5;
  font-size: 17px;
}

.call-top h1 {
  font-size: 30px;
  font-weight: 400;
  margin: 22px 0 8px;
}

.call-top p {
  color: #c5c5cc;
  font-size: 14px;
}

.call-actions {
  width: 100%;
  display: flex;
  justify-content: space-around;
}

.call-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 13px;
}

.call-action button {
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  color: white;
  font-size: 27px;
}

.call-reject {
  background: #ff3b30;
}

.call-accept {
  background: #30d158;
}
#lock-screen,
#home-screen {
  background: linear-gradient(
    145deg,
    #3b080d 0%,
    #70121c 35%,
    #4a0710 70%,
    #190307 100%
  ) !important;
}
@media (max-width: 600px) {
  body {
    margin: 0;
    width: 100%;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  #iphone {
    width: min(
      390px,
      calc(100vw - 24px),
      calc((100svh - 24px) * 0.462)
    );
    height: auto;
    aspect-ratio: 390 / 844;
    box-sizing: border-box;
    flex-shrink: 0;
    transform: scale(0.94);
    top: -15px;

  }
}