/* ================= RESET ================= */
* {
  margin: 0;
    padding: 0;
      box-sizing: border-box;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        body {
          height: 100vh;
            background: url("https://images.unsplash.com/photo-1503264116251-35a269479413?auto=format&fit=crop&w=1920&q=80");
              background-size: cover;
                background-position: center;
                  color: white;
                    overflow: hidden;
                    }

                    /* ================= SCREENS ================= */
                    .screen {
                      position: absolute;
                        width: 100%;
                          height: 100%;
                          }

                          .hidden { display: none !important; }

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

                                /* ================= TOP BAR ================= */
                                .top-bar {
                                  position: absolute;
                                    top: 0;
                                      width: 100%;
                                        height: 30px;
                                          display: flex;
                                            justify-content: space-between;
                                              align-items: center;
                                                padding: 0 12px;
                                                  font-size: 12px;
                                                    background: rgba(0,0,0,0.35);
                                                      backdrop-filter: blur(10px);
                                                        z-index: 100;
                                                        }

                                                        .top-bar .left,
                                                        .top-bar .right {
                                                          display: flex;
                                                            align-items: center;
                                                              gap: 10px;
                                                              }

                                                              .apple-logo { font-size: 14px; }

                                                              .power-controls { display: flex; gap: 6px; }

                                                              .power-controls button {
                                                                background: rgba(255,255,255,0.12);
                                                                  border: none;
                                                                    color: white;
                                                                      font-size: 11px;
                                                                        padding: 2px 8px;
                                                                          border-radius: 6px;
                                                                            cursor: pointer;
                                                                            }

                                                                            .power-controls button:hover { background: rgba(255,255,255,0.25); }

                                                                            /* ================= LOGIN WINDOW ================= */
                                                                            .login-window {
                                                                              width: 320px;
                                                                                background: rgba(30,30,30,0.75);
                                                                                  backdrop-filter: blur(20px);
                                                                                    border-radius: 14px;
                                                                                      overflow: hidden;
                                                                                        box-shadow: 0 20px 60px rgba(0,0,0,0.6);
                                                                                        }

                                                                                        .title-bar {
                                                                                          display: flex;
                                                                                            align-items: center;
                                                                                              padding: 10px 12px;
                                                                                                background: rgba(255,255,255,0.08);
                                                                                                  gap: 8px;
                                                                                                  }

                                                                                                  .title { font-size: 12px; color: rgba(255,255,255,0.8); }

                                                                                                  .mac-buttons { display: flex; gap: 6px; }

                                                                                                  .dot {
                                                                                                    width: 11px;
                                                                                                      height: 11px;
                                                                                                        border-radius: 50%;
                                                                                                          cursor: pointer;
                                                                                                            display: inline-block;
                                                                                                            }

                                                                                                            .red    { background: #ff5f57; }
                                                                                                            .yellow { background: #febc2e; }
                                                                                                            .green  { background: #28c840; }

                                                                                                            .content {
                                                                                                              padding: 20px;
                                                                                                                display: flex;
                                                                                                                  flex-direction: column;
                                                                                                                    gap: 10px;
                                                                                                                      align-items: center;
                                                                                                                        text-align: center;
                                                                                                                        }

                                                                                                                        .profile img {
                                                                                                                          width: 70px;
                                                                                                                            height: 70px;
                                                                                                                              border-radius: 50%;
                                                                                                                                border: 2px solid rgba(255,255,255,0.4);
                                                                                                                                  margin-bottom: 4px;
                                                                                                                                  }

                                                                                                                                  h2 { color: white; font-size: 18px; }

                                                                                                                                  input {
                                                                                                                                    width: 100%;
                                                                                                                                      padding: 10px;
                                                                                                                                        border: none;
                                                                                                                                          border-radius: 8px;
                                                                                                                                            background: rgba(255,255,255,0.12);
                                                                                                                                              color: white;
                                                                                                                                                outline: none;
                                                                                                                                                  font-size: 13px;
                                                                                                                                                  }

                                                                                                                                                  input::placeholder { color: rgba(255,255,255,0.5); }

                                                                                                                                                  button {
                                                                                                                                                    width: 100%;
                                                                                                                                                      padding: 10px;
                                                                                                                                                        border: none;
                                                                                                                                                          border-radius: 8px;
                                                                                                                                                            background: #0a84ff;
                                                                                                                                                              color: white;
                                                                                                                                                                cursor: pointer;
                                                                                                                                                                  font-size: 13px;
                                                                                                                                                                  }

                                                                                                                                                                  button:hover { background: #0077ff; }

                                                                                                                                                                  .guest-btn { background: rgba(255,255,255,0.15) !important; }
                                                                                                                                                                  .guest-btn:hover { background: rgba(255,255,255,0.25) !important; }

                                                                                                                                                                  #message {
                                                                                                                                                                    font-size: 12px;
                                                                                                                                                                      color: rgba(255,255,255,0.7);
                                                                                                                                                                        min-height: 16px;
                                                                                                                                                                        }

                                                                                                                                                                        .login-footer {
                                                                                                                                                                          display: flex;
                                                                                                                                                                            gap: 5px;
                                                                                                                                                                              font-size: 12px;
                                                                                                                                                                                color: rgba(255,255,255,0.6);
                                                                                                                                                                                }

                                                                                                                                                                                .login-footer a { color: #0a84ff; text-decoration: none; }
                                                                                                                                                                                .login-footer a:visited { color: #0a84ff; }

                                                                                                                                                                                /* ================= DESKTOP ================= */
                                                                                                                                                                                .desktop-icons {
                                                                                                                                                                                  position: absolute;
                                                                                                                                                                                    bottom: 15px;
                                                                                                                                                                                      left: 50%;
                                                                                                                                                                                        transform: translateX(-50%);
                                                                                                                                                                                          display: flex;
                                                                                                                                                                                            flex-direction: row;
                                                                                                                                                                                              gap: 12px;
                                                                                                                                                                                                padding: 6px 16px 14px;
                                                                                                                                                                                                  background: rgba(0,0,0,0.4);
                                                                                                                                                                                                    backdrop-filter: blur(15px);
                                                                                                                                                                                                      border-radius: 18px;
                                                                                                                                                                                                      }

                                                                                                                                                                                                      .icon {
                                                                                                                                                                                                        display: flex;
                                                                                                                                                                                                          flex-direction: column;
                                                                                                                                                                                                            align-items: center;
                                                                                                                                                                                                              cursor: pointer;
                                                                                                                                                                                                                font-size: 28px;
                                                                                                                                                                                                                  transition: transform 0.15s ease;
                                                                                                                                                                                                                  }

                                                                                                                                                                                                                  .icon span {
                                                                                                                                                                                                                    font-size: 11px;
                                                                                                                                                                                                                      margin-top: 4px;
                                                                                                                                                                                                                        color: white;
                                                                                                                                                                                                                          text-shadow: 0 1px 4px rgba(0,0,0,0.8);
                                                                                                                                                                                                                          display: none;
                                                                                                                                                                                                                          }

                                                                                                                                                                                                                          .icon:hover { transform: scale(1.1); }

                                                                                                                                                                                                                          /* ================= WINDOW ================= */
                                                                                                                                                                                                                          .window {
                                                                                                                                                                                                                            position: absolute;
                                                                                                                                                                                                                              top: 60px;
                                                                                                                                                                                                                                left: 50%;
                                                                                                                                                                                                                                  transform: translateX(-50%);
                                                                                                                                                                                                                                    width: 500px;
                                                                                                                                                                                                                                      background: rgba(30,30,30,0.85);
                                                                                                                                                                                                                                        backdrop-filter: blur(20px);
                                                                                                                                                                                                                                          border-radius: 12px;
                                                                                                                                                                                                                                            overflow: hidden;
                                                                                                                                                                                                                                              box-shadow: 0 20px 60px rgba(0,0,0,0.6);
                                                                                                                                                                                                                                                display: flex;
                                                                                                                                                                                                                                                  flex-direction: column;
                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                  .window-bar {
                                                                                                                                                                                                                                                    padding: 8px 10px;
                                                                                                                                                                                                                                                      background: rgba(255,255,255,0.08);
                                                                                                                                                                                                                                                        display: flex;
                                                                                                                                                                                                                                                          align-items: center;
                                                                                                                                                                                                                                                            gap: 8px;
                                                                                                                                                                                                                                                              font-size: 13px;
                                                                                                                                                                                                                                                                color: white;
                                                                                                                                                                                                                                                                  flex-shrink: 0;
                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                  .window-bar button {
                                                                                                                                                                                                                                                                    background: transparent;
                                                                                                                                                                                                                                                                      border: none;
                                                                                                                                                                                                                                                                        color: white;
                                                                                                                                                                                                                                                                          cursor: pointer;
                                                                                                                                                                                                                                                                            width: auto;
                                                                                                                                                                                                                                                                              padding: 2px 6px;
                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                              .window-content {
                                                                                                                                                                                                                                                                                flex: 1;
                                                                                                                                                                                                                                                                                  padding: 15px;
                                                                                                                                                                                                                                                                                    overflow-y: auto;
                                                                                                                                                                                                                                                                                      color: white;
                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                      /* ================= MESSAGES WINDOW ================= */
                                                                                                                                                                                                                                                                                      #window-messages {
                                                                                                                                                                                                                                                                                        width: 640px;
                                                                                                                                                                                                                                                                                          height: 500px;
                                                                                                                                                                                                                                                                                            position: relative;
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            #window-messages .window-bar { justify-content: flex-start; }

                                                                                                                                                                                                                                                                                            .game-hud {
                                                                                                                                                                                                                                                                                              display: flex;
                                                                                                                                                                                                                                                                                                gap: 12px;
                                                                                                                                                                                                                                                                                                  font-size: 12px;
                                                                                                                                                                                                                                                                                                    color: white;
                                                                                                                                                                                                                                                                                                      margin-left: auto;
                                                                                                                                                                                                                                                                                                        padding-right: 4px;
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                        #window-messages .window-content.messages-app {
                                                                                                                                                                                                                                                                                                          display: flex !important;
                                                                                                                                                                                                                                                                                                            flex-direction: row !important;
                                                                                                                                                                                                                                                                                                              padding: 0 !important;
                                                                                                                                                                                                                                                                                                                height: calc(100% - 36px) !important;
                                                                                                                                                                                                                                                                                                                  overflow: hidden !important;
                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                  .messages-body {
                                                                                                                                                                                                                                                                                                                    width: 220px !important;
                                                                                                                                                                                                                                                                                                                      min-width: 220px !important;
                                                                                                                                                                                                                                                                                                                        max-width: 220px !important;
                                                                                                                                                                                                                                                                                                                          flex-shrink: 0 !important;
                                                                                                                                                                                                                                                                                                                            height: 100% !important;
                                                                                                                                                                                                                                                                                                                              background: #2a2a2a !important;
                                                                                                                                                                                                                                                                                                                                border-right: 1px solid rgba(255,255,255,0.08) !important;
                                                                                                                                                                                                                                                                                                                                  display: flex !important;
                                                                                                                                                                                                                                                                                                                                    flex-direction: column !important;
                                                                                                                                                                                                                                                                                                                                      overflow: hidden !important;
                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                      .search-wrapper {
                                                                                                                                                                                                                                                                                                                                        padding: 10px 12px;
                                                                                                                                                                                                                                                                                                                                          border-bottom: 1px solid rgba(255,255,255,0.08);
                                                                                                                                                                                                                                                                                                                                            box-sizing: border-box;
                                                                                                                                                                                                                                                                                                                                              width: 100%;
                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                              .messages-search {
                                                                                                                                                                                                                                                                                                                                                width: 100% !important;
                                                                                                                                                                                                                                                                                                                                                  padding: 6px 12px !important;
                                                                                                                                                                                                                                                                                                                                                    border-radius: 8px;
                                                                                                                                                                                                                                                                                                                                                      border: none;
                                                                                                                                                                                                                                                                                                                                                        background: rgba(255,255,255,0.1);
                                                                                                                                                                                                                                                                                                                                                          color: white;
                                                                                                                                                                                                                                                                                                                                                            font-size: 12px;
                                                                                                                                                                                                                                                                                                                                                              outline: none;
                                                                                                                                                                                                                                                                                                                                                                box-sizing: border-box;
                                                                                                                                                                                                                                                                                                                                                                  margin-bottom: 0 !important;
                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                  .pinned-section {
                                                                                                                                                                                                                                                                                                                                                                    display: flex !important;
                                                                                                                                                                                                                                                                                                                                                                      flex-direction: row !important;
                                                                                                                                                                                                                                                                                                                                                                        gap: 6px;
                                                                                                                                                                                                                                                                                                                                                                          padding: 10px;
                                                                                                                                                                                                                                                                                                                                                                            border-bottom: 1px solid rgba(255,255,255,0.08);
                                                                                                                                                                                                                                                                                                                                                                              overflow-x: auto;
                                                                                                                                                                                                                                                                                                                                                                                scrollbar-width: none;
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                .pinned-section::-webkit-scrollbar { display: none; }

                                                                                                                                                                                                                                                                                                                                                                                .pinned-contact {
                                                                                                                                                                                                                                                                                                                                                                                  display: flex;
                                                                                                                                                                                                                                                                                                                                                                                    flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                      align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                        width: 48px;
                                                                                                                                                                                                                                                                                                                                                                                          font-size: 9px;
                                                                                                                                                                                                                                                                                                                                                                                            color: rgba(255,255,255,0.8);
                                                                                                                                                                                                                                                                                                                                                                                              flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                              .pinned-contact img {
                                                                                                                                                                                                                                                                                                                                                                                                width: 40px;
                                                                                                                                                                                                                                                                                                                                                                                                  height: 40px;
                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 50%;
                                                                                                                                                                                                                                                                                                                                                                                                      margin-bottom: 3px;
                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                      .chat-list {
                                                                                                                                                                                                                                                                                                                                                                                                        flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                          overflow-y: auto;
                                                                                                                                                                                                                                                                                                                                                                                                            display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                              flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                              .chat-item {
                                                                                                                                                                                                                                                                                                                                                                                                                display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                  align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                                                    gap: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                      padding: 10px 12px;
                                                                                                                                                                                                                                                                                                                                                                                                                        cursor: pointer;
                                                                                                                                                                                                                                                                                                                                                                                                                          border-bottom: 1px solid rgba(255,255,255,0.04);
                                                                                                                                                                                                                                                                                                                                                                                                                            position: relative;
                                                                                                                                                                                                                                                                                                                                                                                                                              background: transparent;
                                                                                                                                                                                                                                                                                                                                                                                                                                border-radius: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                  width: 100%;
                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                  .chat-item:hover { background: rgba(255,255,255,0.08); }

                                                                                                                                                                                                                                                                                                                                                                                                                                  .chat-item img {
                                                                                                                                                                                                                                                                                                                                                                                                                                    width: 36px;
                                                                                                                                                                                                                                                                                                                                                                                                                                      height: 36px;
                                                                                                                                                                                                                                                                                                                                                                                                                                        border-radius: 50%;
                                                                                                                                                                                                                                                                                                                                                                                                                                          flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                          .chat-info {
                                                                                                                                                                                                                                                                                                                                                                                                                                            flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                              display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                  gap: 2px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    overflow: hidden;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    .name { font-size: 12px; font-weight: 600; color: white; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                    .preview {
                                                                                                                                                                                                                                                                                                                                                                                                                                                      font-size: 11px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        color: rgba(255,255,255,0.5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                          white-space: nowrap;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            overflow: hidden;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              text-overflow: ellipsis;
                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                              .unread-dot {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                width: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  height: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 50%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      background: #0a84ff;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        position: absolute;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          right: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            top: 50%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              transform: translateY(-50%);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                box-shadow: 0 0 6px rgba(10,132,255,0.6);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                #window-messages .window-content.messages-app::after {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  content: "Select a conversation";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          justify-content: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            color: rgba(255,255,255,0.2);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                pointer-events: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                /* ================= CHAT SCREEN ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .chat-screen {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  position: absolute;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    top: 36px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      left: 220px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        width: calc(100% - 220px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          height: calc(100% - 36px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            background: #1e1e1e;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  z-index: 10;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border-radius: 0 0 12px 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .chat-screen.hidden { display: none !important; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .chat-header {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          gap: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            padding: 10px 14px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              background: #2c2c2c;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                border-bottom: 1px solid rgba(255,255,255,0.08);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  color: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      font-weight: 600;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .back-btn { cursor: pointer; font-size: 16px; opacity: 0.7; display: none; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .chat-messages {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            padding: 14px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                flex-direction: column;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  gap: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    overflow-y: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    .message {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      max-width: 65%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        padding: 8px 12px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          border-radius: 18px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              line-height: 1.4;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .message.sent {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                background: #0a84ff;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  color: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    align-self: flex-end;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      border-bottom-right-radius: 4px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .message.received {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        background: #3a3a3a;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          color: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            align-self: flex-start;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              border-bottom-left-radius: 4px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .chat-input {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  align-items: center;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    gap: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      padding: 10px 14px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        background: #2c2c2c;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          border-top: 1px solid rgba(255,255,255,0.08);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            .chat-input input {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                padding: 8px 12px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  border-radius: 20px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    border: 1px solid rgba(255,255,255,0.15);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      background: #3a3a3a;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        color: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            outline: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              width: auto !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                margin-bottom: 0 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .chat-input button {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  width: auto !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding: 7px 16px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      border-radius: 20px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        background: #0a84ff;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          font-size: 13px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            font-weight: 600;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .chat-input input:disabled,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .chat-input button:disabled {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                opacity: 0.4;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  cursor: not-allowed;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  /* ================= VERDICT ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  .verdict-badge {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    display: flex;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      gap: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        margin-left: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        .verdict-btn {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          width: auto !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            padding: 4px 12px !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              border-radius: 20px !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                font-size: 12px !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  font-weight: 600;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    cursor: pointer;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      border: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .verdict-btn.scam { background: #ff3b30 !important; color: white; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .verdict-btn.legit { background: #28c840 !important; color: white; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .verdict-result { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 12px; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .verdict-result.correct { color: #28c840; }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .verdict-result.wrong { color: #ff3b30; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      /* ================= TOAST ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .toast {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        position: fixed;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          bottom: 40px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            left: 50%;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              transform: translateX(-50%);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                background: rgba(0,0,0,0.85);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  color: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    padding: 10px 22px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      border-radius: 20px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        font-size: 14px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          z-index: 9999;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            backdrop-filter: blur(10px);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              pointer-events: none;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /* ================= PHOTOS WINDOW ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .photos-sidebar {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                width: 180px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  background: #f5f5f5;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #666;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      padding: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        border-right: 1px solid #ddd;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          overflow-y: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            flex-shrink: 0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            .section-title {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              font-size: 11px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                margin-top: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  font-weight: bold;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    color: #aaa;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      letter-spacing: 0.5px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      .device {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        margin-top: 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          padding: 6px 8px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            cursor: pointer;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              border-radius: 6px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                font-size: 12px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  color: #333;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  .device:hover { background: #eaeaea; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  .photos-main {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    flex: 1;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      background: white;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        padding: 10px;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          overflow-y: auto;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            overflow-x: hidden;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              color: #333;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .photos-main img { border-radius: 4px; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .hint { color: #aaa; font-size: 13px; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              /* ================= FULLSCREEN ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              .fullscreen {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                top: 30px !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  left: 0 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    transform: none !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      width: 100vw !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        height: calc(100vh - 30px) !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          border-radius: 0 !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          /* ================= WINDOW RESIZE HINT ================= */
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          .window {
  resize: none;
  min-width: 300px;
  min-height: 200px;
  z-index: 100;
}

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                .shutdown-hidden {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  display: none !important;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  #mail-search::placeholder { color: #aaa; }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @keyframes slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.icon {
  position: relative;
}

.icon .dock-dot {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: none;
}

.icon.running .dock-dot {
  display: block;
}



* {
  cursor: default;
}

input, textarea, [contenteditable="true"] {
  cursor: text;
}

button, .icon, .chat-item, .dot, [onclick] {
  cursor: pointer;
}