@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@import url('https://fonts.cdnfonts.com/css/billabong');

html,
body,
*,
a,
button,
input,
select,
textarea {
  cursor: url('/media/cursor/normal-select.gif') 0 0, progress !important;
}

html,
body {
  height: 100vh;
  overflow: hidden;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/media/backgrounds/pinkcheck.png);
  background-size: 40px;
}

/* -----------------------------------------------------------
   SELECTION & SCROLLBARS
----------------------------------------------------------- */

::selection {
  background-color: #feeef6;
  color: #616161;
}

::-moz-selection {
  background-color: #feeef6;
  color: #616161;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
  margin: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #ffcce6;
  border-radius: 50px;
  border: 2px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ffb3d9;
}

.ipad-horizontal {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.ipad-bezel {
  width: 950px;
  height: 680px;
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
  border-radius: 35px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 0 15px rgba(0, 0, 0, 0.05),
    inset 0 2px 3px rgba(255, 255, 255, 1);
  border: 1px solid #d1d1d1;
  padding-right: 40px;
  padding-left: 15px;
  overflow: hidden;
}

.ipad-screen {
  width: 90%;
  height: 88%;
  border-radius: 12px;
  overflow-y: auto;
  position: relative;
  border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
  background: url('/media/backgrounds/room2.webp') no-repeat center center !important;
  background-size: cover !important;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
}

.ipad-home-button {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #ffffff, #f5f5f5);
  border: 1px solid #dcdcdc;
  border-radius: 50%;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.1s ease;
  outline: none;
}

.ipad-home-button:active {
  transform: translateY(-50%) scale(0.96);
  background: #f0f0f0;
  box-shadow:
    inset 0 4px 6px rgba(0, 0, 0, 0.1),
    0 0px 1px rgba(0, 0, 0, 0.05);
}

.ipad-home-button::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 1.5px solid #bebebe;
  border-radius: 4px;
  opacity: 0.7;
}

.ipad-screen::-webkit-scrollbar {
  width: 6px;
}

.ipad-screen::-webkit-scrollbar-thumb {
  background: #edaecb;
  border-radius: 10px;
}

.ipad-content {
  padding: 30px;
  font-family: 'nunito', sans-serif;
  color: #676767;
}

.ipad-camera {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  position: absolute;
  left: 25px;
  z-index: 2;
  opacity: 0.8;
}

.ipad-status-bar {
  height: 25px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  z-index: 10;
}

.status-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.battery-icon {
  width: 18px;
  height: 9px;
  border: 1px solid white;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 1px;
}

.battery-level {
  width: 100%;
  height: 100%;
  background: white;
}

.ipad-scroll-area {
  flex: 1;
  overflow-y: auto;
  width: 100%;
}

.ipad-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.ipad-scroll-area::-webkit-scrollbar-thumb {
  background: #edaecb;
  border-radius: 10px;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.app-icon {
  width: 65px;
  height: 65px;
  background-color: #fff;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 -3px 6px rgba(0, 0, 0, 0.1),
    inset 0 2px 4px rgba(255, 255, 255, 0.8);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-icon::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%,
      rgba(255, 255, 255, 0.7) 0%,
      rgba(255, 255, 255, 0.2) 40%,
      transparent 60%);
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 2;
}

.app-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(255, 255, 255, 0) 50%,
      rgba(0, 0, 0, 0.05) 100%);
  border-radius: 15px;
  pointer-events: none;
}

.app-icon:active {
  transform: scale(0.92);
  filter: brightness(0.8);
}

.app-label {
  color: white;
  font-family: nunito;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.spotify-app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 12px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform-origin: 20% 30%;
  transform: scale(0.1);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.2s ease-out;
  display: flex;
  overflow: hidden;
  color: #1a1a1a;
  font-family: 'nunito', sans-serif;
}

.spotify-app-screen.open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.spotify-sidebar {
  width: 150px;
  background: #f9f9f9;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-right: 1px solid #eeeeee;
}

.sidebar-item {
  font-size: 12px;
  color: #000000;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  font-weight: 400;
}

.sidebar-item.active-library {
  opacity: 1;
  font-weight: bold;
  font-size: 13px;
}

.sidebar-item:hover {
  opacity: 0.7;
}

.spotify-main {
  flex: 1;
  background: linear-gradient(180deg, #ffe0ed 0%, #fff5f9 100%);
  padding: 30px;
  overflow-y: auto;
  color: #1a1a1a;
}

.spotify-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.playlist-big-card {
  background: #ffffff;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 190px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.playlist-big-card:hover {
  background: #fdfdfd;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.playlist-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.playlist-name {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  display: block;
  word-wrap: break-word;
  line-height: 1.2;
  margin-top: 4px;
}

.spotify-main::-webkit-scrollbar,
.spotify-sidebar::-webkit-scrollbar,
.spotify-app-screen::-webkit-scrollbar {
  display: none;
}

.spotify-main,
.spotify-sidebar,
.spotify-app-screen {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#tiktok-screen {
  background: white;
  color: black;
  justify-content: center;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: 'nunito', sans-serif;
}

#tiktok-screen::-webkit-scrollbar {
  display: none;
}

.tiktok-container {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
}

.tiktok-profile-header {
  padding: 20px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
}

.tiktok-top-nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin-bottom: 15px;
}

.tiktok-time {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  min-width: 18px;
}

#spotify-screen {
  transform-origin: 15% 20%;
}

#tiktok-screen {
  transform-origin: 50% 20%;
}

#gallery-screen {
  transform-origin: 32% 20%;
}

.app-overlay.open,
.spotify-app-screen.open {
  display: flex;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.reposts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #eee;
  width: 100%;
}

.reposts-grid::-webkit-scrollbar {
  display: none;
}

.repost-user {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  font-family: 'nunito', sans-serif;
  z-index: 10;
  pointer-events: none;
}

.tiktok-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.app-overlay,
.spotify-app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  z-index: 100;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.1);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease-out;
  overflow-y: auto;
}

.embed-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.6);
  transform-origin: center center;
}

.tiktok-embed {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.repost-user {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 10;
  color: white;
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.repost-item {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background-color: #000;
  overflow: hidden;
}

.tiktok-video-clean {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.play-button-icon {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 14px;
  border: 1.5px solid white;
}

.repost-item.playing .play-overlay {
  opacity: 0;
}

.repost-item.playing .play-overlay {
  opacity: 0;
}

.repost-user a:hover {
  text-decoration: underline !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(10px);
}

.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.modal-back-btn {
  background: #f1f1f1;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: 'nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.modal-back-btn:hover {
  background: #e5e5e5;
}

.modal-content video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: black;
}

.modal-content {
  background: white;
  padding: 15px;
  border-radius: 20px;
  display: inline-block;
  width: min-content;
  margin: auto;
}

#modal-video {
  width: auto;
  height: auto;
  max-width: 450px;
  max-height: 60vh;
  display: block;
  border-radius: 12px;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out;
  will-change: transform, opacity;
}

/* -----------------------------------------------------------
   MODAL VIDEO SLIDE TRANSITIONS
----------------------------------------------------------- */

#modal-video.slide-in-right {
  transform: translateX(40px);
  opacity: 0;
}

#modal-video.slide-in-left {
  transform: translateX(-40px);
  opacity: 0;
}

#modal-video.slide-active {
  transform: translateX(0);
  opacity: 1;
}

.modal-text {
  padding: 15px 5px 5px;
  font-family: 'nunito', sans-serif;
}

.modal-text h3 {
  margin: 0;
  font-size: 16px;
  color: #ff8ab4;
}

.modal-text p {
  margin: 5px 0 0;
  font-size: 13px;
  color: #666;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.2s;
  backdrop-filter: blur(5px);
  z-index: 10001;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.outside-left {
  left: -60px;
}

.outside-right {
  right: -60px;
}

@media (max-width: 600px) {
  .outside-left {
    left: 10px;
    background: rgba(0, 0, 0, 0.3);
  }

  .outside-right {
    right: 10px;
    background: rgba(0, 0, 0, 0.3);
  }
}

.repost-item {
  position: relative;
  overflow: hidden;
}

.expand-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 999 !important;
  pointer-events: auto !important;
}

/* -----------------------------------------------------------
   6. gallery / collage screen styles
----------------------------------------------------------- */

#collage-screen {
  display: none;
  flex-direction: column;
  z-index: 10;
  font-family: 'Nunito', sans-serif;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery-container {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 10px 20px;
  font-family: 'Nunito', sans-serif;
}

.album-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-out;
}

.album-card:hover {
  transform: translateY(-8px);
}

.album-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  margin-bottom: 6px;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.album-title {
  font-size: 11px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-count {
  font-size: 10px;
  color: #8e8e93;
}

.gallery-header {
  padding: 20px 20px 5px 20px !important;
}

.gallery-nav-top {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 0.5px solid #d1d1d6;
}

.back-to-albums {
  color: #edaecb;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.photo-item {
  transition: opacity 0.2s ease;
}

.photo-item:active {
  opacity: 0.7;
}

.gallery-scroll-area::-webkit-scrollbar {
  display: none;
}

.gallery-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 60px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gallery-tab-bar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 55px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 0.5px solid #d1d1d6;
  font-family: 'Nunito', sans-serif;
  padding-bottom: 5px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* -----------------------------------------------------------
   dock - positioning & visibility
----------------------------------------------------------- */

.ipad-dock-container {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ipad-dock-container.app-is-open {
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ipad-dock {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 18px;
  border-radius: 22px;
  display: flex;
  gap: 15px;
  pointer-events: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 90%;
}

.dock-item {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dock-item:hover {
  transform: scale(1) translateY(-10px);
  z-index: 10;
}

.dock-item:active {
  transform: scale(0.9);
}

.dock-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* -----------------------------------------------------------
   app screens - unified styling
----------------------------------------------------------- */

.app-overlay,
.spotify-app-screen,
#collage-screen,
#tiktok-screen,
#spotify-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  z-index: 100;
  background: white;
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.1);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.2s ease-out;
}

.open {
  display: flex !important;
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
  z-index: 200;
}

/* -----------------------------------------------------------
   grid & layout adjustments
----------------------------------------------------------- */

.albums-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
  font-family: 'Nunito', sans-serif;
  padding-bottom: 120px;
}

.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: #000;
}

#youtube-screen::-webkit-scrollbar,
.yt-categories::-webkit-scrollbar {
  display: none;
}

#youtube-screen,
.yt-categories {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.yt-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#youtube-screen {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.tiktok-tabs {
  display: flex;
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  overflow: visible;
}

.tab {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  color: #a1a1a1;
  transition: color 0.2s ease;
  z-index: 2;
  min-height: 44px;
}

.tab.active {
  color: #000000;
}

.active-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: #000000;
  width: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
  z-index: 3;
  will-change: transform, width;
}

#real-time {
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: bold;
  font-family: nunito;
}

.ipad-home-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 20px;
}

.app-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-link:hover .app-item,
.app-item:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.notes-app-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  color: #000;
  font-family: nunito;
}

.notes-header {
  height: 55px;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  font-family: nunito;
}

.notes-left-actions {
  display: flex;
  align-items: center;
  color: #df85ab;
  font-weight: 500;
}

.note-icon-back {
  width: 18px;
  height: 18px;
  margin-right: 2px;
}

.notes-right-actions {
  display: flex;
  gap: 22px;
  align-items: center;
}

.note-icon {
  width: 22px;
  height: 22px;
  transition: opacity 0.2s ease;
  color: #df85ab;
}

.note-icon:hover {
  opacity: 0.6;
}

.back-text {
  font-size: 17px;
  letter-spacing: -0.4px;
  color: #df85ab;
}

.notes-left-actions {
  font-size: 17px;
  display: flex;
  align-items: center;
}

.notes-right-actions {
  display: flex;
  gap: 20px;
  font-size: 20px;
}

.notes-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px 60px;
  -webkit-overflow-scrolling: touch;
}

.notes-body::-webkit-scrollbar {
  display: none;
}

.notes-body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.notes-timestamp {
  text-align: center;
  font-size: 12px;
  color: #8e8e93;
  margin-bottom: 25px;
}

.notes-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #343434;
}

.notes-editor p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: 'nunito', sans-serif;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  text-size-adjust: none;
}

#lace {
  background-image: url(https://file.garden/aS-t0Aj4K3mdDujK/kkul/graphics/lacey.png);
  background-size: auto 100%;
  width: 100%;
  height: 20px;
  filter: drop-shadow(0px 1px #D1B9B3);
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
}

#lace-bottom {
  background-image: url(https://file.garden/aS-t0Aj4K3mdDujK/kkul/graphics/lacey.png);
  background-size: auto 100%;
  width: 100%;
  height: 20px;
  filter: drop-shadow(0px 1px #D1B9B3);
  position: fixed;
  bottom: 0px;
  left: 0px;
  transform: rotate(180deg);
  z-index: 9999;
}

@media (max-width: 900px) {
  .ipad-bezel {
    width: 320px;
    height: 606px;
    border-radius: 40px;
    padding: 50px 12px 60px 12px;
    box-shadow:
      0 15px 35px rgba(0, 0, 0, 0.12),
      inset 0 0 5px rgba(0, 0, 0, 0.05),
      0 0 0 2px #d1d1d1;
    transform: scale(calc((100vh / 656px) * 0.70));
    transform-origin: center center;
    margin: auto;
  }

  @media (max-height: 700px) {
    .ipad-bezel {
      transform: scale(calc((100vh / 656px) * 0.62));
    }
  }

  @media (max-height: 600px) {
    .ipad-bezel {
      transform: scale(calc((100vh / 656px) * 0.54));
    }
  }

  .ipad-bezel::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
    z-index: 3;
  }

  .ipad-camera {
    display: none;
  }

  .ipad-screen {
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }

  .ipad-status-bar {
    border-radius: 2px !important;
    padding: 0 10px;
    font-size: 11px;
  }

  .ipad-home-button {
    width: 45px;
    height: 45px;
    right: 50%;
    left: auto;
    top: auto;
    bottom: 6px;
    transform: translateX(50%);
  }

  .ipad-home-button:active {
    transform: translateX(50%) scale(0.96);
  }

  .ipad-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 12px;
    justify-items: center;
  }

  .app-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }

  .app-label {
    font-size: 10px;
  }

  .ipad-dock-container {
    bottom: 82px;
  }

  .ipad-dock {
    padding: 6px 10px;
    border-radius: 14px;
    gap: 8px;
  }

  .dock-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .notes-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .notes-editor p {
    font-size: 12px;
  }

  .notes-title,
  .notes-editor h2 {
    font-size: 20px !important;
    font-weight: 700;
    margin-bottom: 15px;
    color: #343434;
  }

  .notes-title h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .notes-header {
    border-radius: 2px !important;
  }

  .note-icon-back {
    width: 14px;
    height: 14px;
  }

  .note-icon {
    width: 14px;
    height: 14px;
  }

  .notes-timestamp {
    margin-top: 25px;
  }

  .back-text {
    font-size: 14px;
  }

  .yt-header {
    padding: 6px 10px !important;
    height: 44px !important;
    gap: 8px !important;
  }

  .yt-left {
    gap: 8px !important;
  }

  .yt-left span {
    font-size: 14px !important;
  }

  .yt-left svg {
    width: 18px !important;
    height: 18px !important;
  }

  .back-btn-yt svg {
    width: 16px !important;
    height: 16px !important;
  }

  .yt-search-bar {
    flex: 1 !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    margin: 0 8px !important;
  }

  .yt-icons {
    gap: 8px !important;
  }

  .yt-icons svg {
    width: 16px !important;
    height: 16px !important;
  }

  .yt-icons>div {
    width: 22px !important;
    height: 22px !important;
  }

  .yt-categories {
    gap: 6px !important;
    padding: 0 10px 10px !important;
  }

  .category-btn {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }

  .yt-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 12px !important;
  }

  .reposts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .tiktok-tabs svg {
    width: 16px !important;
    height: 16px !important;
  }

  .tab {
    padding: 8px 0;
    min-height: 36px;
  }

  .tiktok-profile-header {
    padding: 12px 20px !important;
  }

  .play-button-icon {
    width: 18px !important;
    height: 18px !important;
    font-size: 9px !important;
  }

  .albums-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .spotify-app-screen {
    flex-direction: column;
  }

  .spotify-sidebar {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 15px !important;
    gap: 15px !important;
    border-right: none !important;
    border-bottom: 1px solid #eee !important;
    overflow-x: auto;
  }

  .spotify-user-profile {
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }

  .sidebar-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .spotify-main {
    padding: 15px !important;
  }

  .spotify-playlist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .playlist-name {
    font-size: 11px !important;
    line-height: 1.15;
  }

  .playlist-big-card {
    padding: 10px !important;
    min-height: unset !important;
    gap: 8px !important;
  }

  .sidebar-item {
    font-size: 10px !important;
  }

  .sidebar-item.active-library {
    font-size: 11px !important;
  }

  .app-overlay,
  .spotify-app-screen,
  #collage-screen,
  #tiktok-screen,
  #spotify-screen,
  .notes-app-container {
    border-radius: 4px !important;
  }

  .tiktok-top-nav {
    font-size: 12px;
  }

  .tiktok-time {
    font-size: 10px;
  }
}