@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Alata&display=swap');

@font-face {
  src: url(/fonts/Spirit.woff2);
  font-family: 'spirits';
  font-display: swap;
}

* {
  font-family: 'Nunito', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

html,
body {
  cursor: url(/media/cursor/cursorhover.png), progress;
}

* {
  cursor: url(/media/cursor/cursorhover.png), progress !important;
}

html,
body {
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

body {
  background-image: url(/media/backgrounds/pinkcheck.png);
  background-size: 40px;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  perspective: 2500px;
  -webkit-font-smoothing: subpixel-antialiased;
  image-rendering: -webkit-optimize-contrast;
  font-size: 12px;
  color: #616161;
  font-weight: 500 !important;
  font-family: nunito;
}

::selection {
  background-color: #feeef6;
  color: #616161;
}

:root {
  --mac-white: #ffffff;
  --mac-border: #dcdcdc;
}

mark {
  background-color: #feeef6;
  color: #616161;
}

#page-content {
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: calc(100% - 30px);
  z-index: 1000;
  background: white;
  display: none;
  opacity: 0;
  transform: scale(0.1);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.app-open-active {
  display: block !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.macbook {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  transform-style: preserve-3d;
  position: relative;
  margin: 0 !important;
  --mac-base-transform: translateY(80px) translateZ(0);
  transform: var(--mac-base-transform) !important;
  transform-origin: center center;
  will-change: transform;
}

@media (max-width: 1024px) {
  .macbook {
    transform: translateY(0) translateZ(0) scale(calc((100vh / 880px) * 0.46)) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    top: -20px;
  }
}

@media (max-width: 480px) {
  .macbook {
    transform: translateY(0) translateZ(0) scale(calc((100vw / 750px) * 0.88)) !important;
    margin-top: -55px !important;
    top: 0px;
  }
}

.lid {
  width: 720px;
  height: 480px;
  background: var(--mac-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px 20px 0 0;
  padding: 12px;
  z-index: 2;
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 8px solid #1a1a1a;
  transform: translateZ(0);
}

.desktop {
  width: 100%;
  height: 100%;
  background-image: url('https://file.garden/aS-t0Aj4K3mdDujK/kkul/backgrounds/mochi');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.body-container {
  perspective: 1500px;
  margin-top: -1px;
  z-index: 1;
}

.body-base {
  width: 730px;
  height: 350px;
  background: var(--mac-white);
  border: 1px solid var(--mac-border);
  border-radius: 15px 15px 50px 50px;
  transform: rotateX(60deg);
  transform-origin: top;
  box-shadow:
    0 1px 0 #e0e0e0,
    0 8px 0 #d5d5d5,
    0 25px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
}

.keyboard-area {
  width: 92%;
  height: 190px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.key-row {
  display: flex;
  width: 100%;
  gap: 6px;
  height: 30px;
}

.key {
  flex: 1;
  height: 100%;
  background: #fdfdfd;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 8px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  text-shadow: 0px 0.5px 0px #fff;
  cursor: pointer;
  user-select: none;
  box-shadow:
    0 1px 0 #d1d1d1,
    0 2px 0 #c1c1c1,
    0 3px 0 #b1b1b1,
    0 4px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.05s ease;
}

.key.delete {
  flex: 1.5;
}

.key.tab {
  flex: 1.5;
}

.key.caps {
  flex: 1.8;
}

.key.return {
  flex: 1.8;
}

.key.shift {
  flex: 2.2;
}

.key.space {
  flex: 6;
}

.key.small {
  flex: 1.2;
}

.key:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #d1d1d1, 0 1px 2px rgba(0, 0, 0, 0.2);
}

.trackpad-area {
  width: 280px;
  height: 90px;
  background: rgba(0, 0, 0, 0.02);
  margin-top: 15px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(255, 255, 255, 0.1) 100%);
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
}

.trackpad-area:hover {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.ipad-dock-container {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2000;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.dock-hidden {
  transform: translateY(150%);
}

.dock-trigger {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 1999;
}

.dock-trigger:hover+.ipad-dock-container,
.ipad-dock-container:hover {
  transform: translateY(0) !important;
}

.ipad-dock {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 10px;
  border-radius: 14px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.dock-item {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.dock-item:hover {
  transform: scale(1.15) translateY(-4px);
}

.dock-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
}

.mac-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--mac-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  z-index: 30;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left {
  gap: 14px;
}

.heart-favicon {
  color: #4d4d4d;
  font-size: 11px;
  cursor: default;
}

.menu-item {
  font-size: 11px;
  color: #4d4d4d;
  cursor: default;
  letter-spacing: -0.1px;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #4d4d4d;
  margin-right: 12px;
}

.status-icons .fa-bluetooth-b {
  font-size: 11px;
}

.status-icons .fa-battery-three-quarters {
  font-size: 14px;
  transform: translateY(0.5px);
  margin-bottom: 2px;
}

.status-icons .fa-volume-up {
  font-size: 11px;
}

.header-clock {
  font-size: 11px;
  font-weight: 600;
  color: #4d4d4d;
  cursor: default;
  line-height: 26px;
}

#lace {
  background-image: url(/media/borders/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(/media/borders/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;
}

.win-window {
  position: fixed;
  width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 3000;
  border: 1px solid #ffdaed;
  touch-action: none;
  user-select: none;
}

.win-header {
  background: #ffeff7;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffdaed;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: move;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    inset -2px -2px 2px rgba(215, 127, 171, 0.15);
}

.win-title {
  font-size: 0.7rem;
  font-weight: 800;
  color: #88685d;
  text-transform: lowercase;
}

.win-controls {
  display: flex;
  gap: 5px;
}

.win-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #ffdaed;
}

.win-btn.close {
  background: #f4abcb;
  cursor: pointer;
  transition: 0.2s;
}

.win-btn.close:hover {
  background: #88685d;
}

.win-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  font-weight: normal;
}

.dock-item {
  position: relative;
}

.ipad-dock .dock-item .event-bubble {
  font-size: 10px !important;
  line-height: 1.2;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #f6dae8;
  color: #616161;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ipad-dock .dock-item:hover .event-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.event-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #f6dae8 transparent transparent transparent;
}

#page-content {
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  height: calc(100% - 25px);
  z-index: 1000;
  background: white;
  display: none;
  opacity: 0;
  transform: scale(0.1);
  transform-origin: bottom;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.app-open-active {
  display: block !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

.twitter-profile {
  font-family: 'Nunito', sans-serif;
  color: #616161;
  background: #fff;
}

#page-content::-webkit-scrollbar {
  display: none;
}

#page-content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.twitter-header-img {
  height: 150px;
  background-color: #f6dae8;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}

#section-about .twitter-profile-info {
  padding: 0 15px;
  position: relative;
  background: #fff !important;
  color: #616161;
}

#section-about .profile-top-row {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 45px;
  background: none !important;
  border: none !important;
  position: relative;
}

#section-about .twitter-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50% !important;
  border: 4px solid #fff !important;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: -40px;
  left: 0px;
  background-color: #fff !important;
  box-shadow: 0 0 0 50px #fff;
  clip-path: circle(50%);
  z-index: 5;
}

#section-about .twitter-follow-btn {
  font-family: 'Nunito', sans-serif;
  background: #fff;
  color: #616161;
  border: 1px solid #cfd9de;
  padding: 4px 12px;
  font-size: 0.8rem;  
  border-radius: 20px;
  font-weight: 800;
  cursor: pointer;
  z-index: 10;
  position: relative;
  margin-top: 12px;
  transition: all 0.2s ease;
  line-height: 1.2;
}

#section-about .twitter-follow-btn:hover {
  background: #f6dae8;
  border-color: #f6dae8;
}

.twitter-bio {
  margin-top: -10px;
  position: relative;
  z-index: 1;
}

.twitter-display-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #616161;
}

.twitter-handle {
  color: #616161;
  opacity: 0.8;
  font-size: 15px;
  font-weight: 500;
}

.twitter-text {
  margin: 10px 0;
  line-height: 1.4;
  font-size: 13px;
  color: #616161;
  font-weight: 500;
}

.twitter-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #616161;
}

.twitter-stats strong {
  color: #616161;
  font-weight: 800;
}

.twitter-tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid #eff3f4;
  margin-top: 15px;
}

.twitter-tabs .tab {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  font-weight: 700;
  color: #616161;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.twitter-tabs .tab.active {
  color: #616161;
  opacity: 1;
}

#twitter-indicator {
  position: absolute;
  bottom: 0;
  height: 4px;
  background-color: #f6dae8;
  border-radius: 10px 10px 0 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
  z-index: 2;
}

.twitter-feed-content {
  width: 100%;
  animation: twitterFade 0.4s ease-out;
}

@keyframes twitterFade {
  from { 
    opacity: 0; 
    transform: translateY(8px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.tweet {
  display: flex;
  padding: 15px;
  border-bottom: 1px solid #eff3f4;
  gap: 12px;
  color: #616161;
}

.tweet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  flex-shrink: 0;
}

.tweet-meta {
  font-size: 13px;
  margin-bottom: 4px;
}

.tweet-meta strong {
  color: #616161;
}

.tweet-actions {
  display: flex;
  gap: 40px;
  margin-top: 10px;
  color: #616161;
  opacity: 0.6;
}

.tweet-actions i:hover {
  color: #f6dae8;
}

.twitter-feed-content {
  width: 100%;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 3px; 
  padding: 5px;
  padding-top: 10px;
}

.media-item {
  aspect-ratio: 1 / 1; 
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.2s;
  outline: 1px solid lightgray;
  outline-offset: -1px; 
}

.media-item:hover {
  opacity: 0.9;
  outline: 1px solid #f6dae8; 
}

.image-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.full-image-container {
  width: 60vh; 
  height: 60vh; 
  background-size: contain; 
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background-color: #fff; 
}

.twitter-feed-content p, 
.twitter-feed-content div {
  color: #616161;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: help; 
}

.tooltip-img {
  display: none;
  position: absolute;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);
  width: 150px; 
  height: auto;
  border-radius: 10px;
  border: 2px solid white; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  pointer-events: none; 
  animation: tooltipFade 0.2s ease-out;
}

.tooltip-container:hover .tooltip-img {
  display: block;
}

@keyframes tooltipFade {
  from { opacity: 0; transform: translateX(-50%) translateY(5px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.femme-label {
  color: #ef9bc5;
  cursor: help;
}

.twitter-tooltip {
  position: relative;
  display: inline-block;
}

.twitter-tooltip .event-bubble {
  font-size: 10px !important;
  line-height: 1.2;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 130%; 
  left: 50%;
  transform: translateX(-50%);
  background: #f6dae8;
  color: #616161;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap; 
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.twitter-tooltip:hover .event-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.event-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #f6dae8 transparent transparent transparent;
}

.thread-container {
  display: flex;
  flex-direction: column;
}

.tweet {
  display: flex;
  padding: 15px;
  position: relative;
  border-bottom: 1px solid #eff3f4;
  gap: 12px;
  color: #616161;
}

.parent-tweet {
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.reply-tweet {
  padding-top: 10px !important;
  border-bottom: 1px solid #eff3f4;
}

.reply-line {
  position: absolute;
  left: 38px; 
  top: 65px;  
  bottom: -15px; 
  width: 2px;
  background-color: #eff3f4;
  z-index: 1;
}

.tweet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  margin-right: 0px; 
  flex-shrink: 0;
  position: relative;
  z-index: 2; 
}

.tweet-actions span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tweet-actions i {
  cursor: pointer;
  transition: color 0.2s;
}

.reading-header {
  width: 100%;
  height: 100px; 
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.reading-profile {
  text-align: center;
  padding: 0 20px 5px; 
  color: #616161;
  position: relative;
  margin-top: -50px; 
}

.reading-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 5px; 
  background-size: cover;
  border: 5px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.reading-profile h3 {
  margin: 0;
  font-size: 18px;
}

.reading-profile p {
  margin: 0;
  opacity: 0.6;
  font-size: 14px;
}

.reading-bio {
  max-width: 400px;
  margin: 5px auto 0; 
  font-size: 13px;
  line-height: 1.4;
}

.library {
  padding: 15px 20px 30px; 
  display: flex;
  flex-direction: column;
  gap: 60px; 
}

.shelf-wrapper {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.books-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  position: relative;
  z-index: 5;
  margin-bottom: 5px; 
  flex-wrap: wrap;
}

.glossy-shelf {
  height: 20px;
  width: 100%;
  background: #f6dae8;
  position: relative;
  z-index: 1;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.glossy-shelf::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: #fbebf3; 
  transform: perspective(100px) rotateX(25deg);
  transform-origin: bottom;
  box-shadow: inset 0 -2px 5px rgba(0,0,0,0.05);
}

.glossy-shelf::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255,255,255,0.6) 0%, 
    rgba(255,255,255,0) 20%,
    rgba(0,0,0,0.05) 100%);
  border-radius: inherit;
}

.book-item {
  position: relative;
  width: 90px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.book-item:hover {
  transform: translateY(-8px) rotate(-2deg);
}

.book-item .event-bubble {
  font-size: 10px !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  background: #f6dae8;
  color: #616161;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-item .event-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #f6dae8 transparent transparent transparent;
}

.book-item:hover .event-bubble {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.book-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow:
    0 5px 10px -2px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: none;
}

.book-cover::before {
  content: "";
  position: absolute;
  top: 0.5px;
  bottom: 0.5px;
  left: 0;
  right: 0;
  border-radius: inherit;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.05) 0.75%,
      rgba(255, 255, 255, 0.5) 1.0%,
      rgba(255, 255, 255, 0.6) 1.3%,
      rgba(255, 255, 255, 0.5) 1.4%,
      rgba(255, 255, 255, 0.3) 1.5%,
      rgba(255, 255, 255, 0.3) 2.4%,
      rgba(0, 0, 0, 0.05) 2.7%,
      rgba(0, 0, 0, 0.05) 3.5%,
      rgba(255, 255, 255, 0.3) 4%,
      rgba(255, 255, 255, 0.3) 4.5%,
      transparent 5.4%,
      transparent 99%,
      rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
  pointer-events: none;
}

.watching-container {
  padding: 20px;
  display: flex;
  justify-content: center;
}

.theatre-alcove {
  position: relative;
  background: linear-gradient(to bottom, #fffcfd, #fbedf3);
  padding: 40px;
  border-radius: 100px 100px 20px 20px;
  box-shadow: 
    inset 0 10px 20px rgba(0,0,0,0.02),
    0 4px 20px rgba(246, 218, 232, 0.3);
  width: 100%;
  max-width: 700px; 
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: -25px;
}

.curtain {
  position: fixed; 
  top: 0;
  width: 100px; 
  height: 500px; 
  background-image: url('/media/graphics/curtain-pink.png');
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 100; 
  pointer-events: none; 
  filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

.curtain-right {
  right: 0;
}

.curtain-left {
  left: 0;
  transform: scaleX(-1);
  filter: scaleX(-1) drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
}

.shelf-wrapper {
  position: relative;
  width: 100%;
  perspective: 1000px;
}

.books-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  position: relative;
  z-index: 5;
  margin-bottom: 5px; 
}

.glossy-shelf {
  height: 20px;
  width: 100%;
  background: #f6dae8;
  position: relative;
  z-index: 1;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
}

.glossy-shelf::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background: #fbebf3; 
  transform: perspective(100px) rotateX(25deg);
  transform-origin: bottom;
  box-shadow: inset 0 -2px 5px rgba(0,0,0,0.05);
}

.glossy-shelf::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    rgba(255,255,255,0.6) 0%, 
    rgba(255,255,255,0) 20%,
    rgba(0,0,0,0.05) 100%);
  border-radius: inherit;
}

.cinema-item {
  position: relative;
  width: 90px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cinema-item:hover {
  transform: translateY(-8px);
}

.poster-case {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 4px;
  border: 3px solid rgba(255, 255, 255, 0.7); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}

.glass-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
  background: linear-gradient(
    135deg, 
    rgba(255,255,255,0.5) 0%, 
    transparent 50%, 
    rgba(255,255,255,0.2) 100%
  );
  pointer-events: none;
}

.cinema-item .event-bubble {
  font-size: 10px !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #f6dae8;
  color: #616161;
  padding: 8px 12px;
  border-radius: 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.cinema-item:hover .event-bubble {
  visibility: visible;
  opacity: 1;
}

#character-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 420px; 
    overflow: hidden;
    background: transparent;
}

.character-bouncer {
  position: absolute;
  width: 120px;
  height: 120px;
  cursor: pointer;
  will-change: transform;
  pointer-events: auto;
}

.heart-container {
  width: 120px;
  height: 120px;
  position: relative;
  transform: translateZ(0);
  filter: 
    drop-shadow(0px 0px 1px white) drop-shadow(0px 0px 1px white) 
    drop-shadow(0px 0px 1px white) drop-shadow(0px 0px 0.5px white) 
    drop-shadow(0px 0px 1px white) drop-shadow(0px 0px 1px white) 
    drop-shadow(0px 0px 1px white) drop-shadow(1px 1px 0px #0000002d);
}

.character-heart {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* ===========================================================
   PROFILE 
   =========================================================== */

#section-profile {
  width: 100%;
  height: 100%;
  background-image: url('https://kkul.neocities.org/media/backgrounds/bedding.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden !important; 
  box-sizing: border-box;
}

.profile-hud-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 15px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 15px !important;
  box-sizing: border-box;
}

.hud-left-card {
  width: 155px;
  height: calc(100% - 5px);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid white;
  border-radius: 14px;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 20px rgba(246, 218, 232, 0.25);
  box-sizing: border-box;
  flex-shrink: 0;
}

.hud-portrait-case {
  width: 95px;
  height: 95px;
  border-radius: 10px;
  overflow: hidden;
  border: 2.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  background-color: #f6dae8;
  margin-bottom: 10px;
}

.hud-portrait-case img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hud-identity {
  text-align: center;
  margin-bottom: 4px; 
  width: 100%;
}

.hud-name {
  font-family: 'spirits', 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #616161;
  line-height: 1.2;
  margin-bottom: 1px;
}

.hud-username {
  font-size: 11px;
  color: #9c9c9c;
  font-weight: 600;
  margin-bottom: 8px;
}

.hud-stats-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.hud-stat-item {
  width: 100%;
}

.hud-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #777777;
  margin-bottom: 2px;
  text-transform: lowercase;
}

.hud-bar-meta b {
  color: #777777;
}

.hud-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hud-fill {
  height: 100%;
  border-radius: 6px;
  background: #ffbcd9;
}

.hud-links-row {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  width: 100%;
  margin-top: 25px;
}

.hud-link-btn {
  flex: 1;
  text-align: center;
  background: #ffeff7;
  padding: 5px 12px;
  border: 1px solid #ffdaed;
  border-radius: 6px; 
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    inset -2px -2px 2px rgba(215, 127, 171, 0.15),
    0 2px 5px rgba(246, 218, 232, 0.2);
  font-size: 10px;
  font-weight: 800;
  color: #777777;
  text-decoration: none;
  text-transform: lowercase;
  transition: all 0.2s ease;
}

.hud-link-btn:hover {
  background: #ffbcd9;
  color: #ffffff;
  border-color: #ffbcd9;
  transform: translateY(-1px);
  box-shadow: 
    inset 1px 1px 0px rgba(255, 255, 255, 0.4),
    0 3px 6px rgba(215, 127, 171, 0.3);
}

.hud-main-content-card {
  flex: 1; 
  height: calc(100% - 5px);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid white;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(246, 218, 232, 0.25);
  box-sizing: border-box;
  overflow-y: auto; 
  display: flex;
  flex-direction: column;
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.hud-main-content-card::-webkit-scrollbar {
  display: none;
}

.hud-content-section {
  display: flex;
  flex-direction: column;
  margin: 12px;
  margin-bottom: 2px;
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(246, 218, 232, 0.1);
}

.hud-content-section:last-child {
  margin-bottom: 12px;
}

.hud-main-content-card h2 {
  margin: 0;
  background: #ffeff7;
  padding: 6px 14px;
  border-bottom: 1px solid #ffdaed;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  box-shadow:
    inset 2px 2px 0px rgba(255, 255, 255, 0.8),
    inset -2px -2px 2px rgba(215, 127, 171, 0.15);
  font-size: 11px;
  font-weight: 800;
  color: #88685d;
  text-transform: lowercase;
  letter-spacing: 0.3px;
}

.hud-text-block {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}

.hud-text-block p {
  margin: 0;
  font-size: 12px;
  color: #777777;
  line-height: 1.5;
}