/* ///////////////////////////////////
// HABBO HOMES - RECREATED BY ICING //
//////////////////////////////////////
// © 2025 - IT IS ILLEGAL TO COPY,  //
// MODIFY, REDISTRIBUTE OR USE THIS //
// CODE WITHOUT LICENSE.            //
/////////////////////////////////// */

.home-container {
    height: 1360px;
    margin: 0 auto;
    position: relative;
    background-repeat: repeat;
    border: 1px solid #ccc;
  }
  .home-container.edit-mode {
    outline: 2px dashed #0fe3ab;
  }

  .sticker {
    position: absolute;
    cursor: pointer;
  }
  .sticker .delete-btn {
    position: absolute;
    top: 0; right: 0;
    cursor: pointer;
    display: none;
  }
  .home-container.edit-mode .sticker .delete-btn {
    display: block;
  }

  .widget {
    position: absolute;
    cursor: pointer;
  }
  .remove-widget-btn {
    cursor: pointer;
    display: none;
  }
  .edit-widget-btn {
    cursor: pointer;
    display: none;
  }
  .home-container.edit-mode .remove-widget-btn,
  .home-container.edit-mode .edit-widget-btn {
    display: inline-block;
  }

  .widget-edit-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 20px;
    z-index: 999999;
    width: 300px;
  }

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

.widget-content .button-row {
display: flex;
gap: 12px;
justify-content: center;
}

.widget-content select,
.widget-content textarea {
width: 80%;
max-width: 300px;
}

.widget[data-is-profile="1"] .edit-profile-btn {
  display: none;
}

.home-container.edit-mode .widget[data-is-profile="1"] .edit-profile-btn {
  display: block;
}

.gb-trash-icon {
  display: none;
}
#homeCanvas.edit-mode .gb-trash-icon {
  display: block;
}

@media (max-width: 1530px) {
  .random-home { display:none !important; }
}