/* ========== PLAYER ITEM SCENE ========== */

#ojol-playeritem-root {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  justify-content: center;
  align-items: center;
  background: #020617;
}

#ojol-playeritem-root .inventory-scene {
  width: 100%;
  max-width: 430px;
  aspect-ratio: 9 / 16;
  background: url('../../backgrounds/player-item-bg-3.webp') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 0px);
}

#ojol-playeritem-root .inventory-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -40%, rgba(255,255,255,0.35), transparent 65%);
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

#ojol-playeritem-root .inventory-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 20px 20px 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

/* TOP BAR */
#ojol-playeritem-root .inventory-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#ojol-playeritem-root .inventory-ojol-greeting {
  background: radial-gradient(circle at 20% 0, #e9e9e6 0, #edddb6 45%, #e5cdac 100%);
  border-radius: 32px;
  padding: 2px 10px 2px 4px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-playeritem-root .inventory-ojol-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

#ojol-playeritem-root .inventory-avatar-img {
  max-height: 32px;
  padding: 4px 0;
}

#ojol-playeritem-root .inventory-nickname {
  color: #3f3d3d;
  font-size: 12px;
  font-weight: 600;
}

#ojol-playeritem-root .inventory-ojol-usr-coin {
  background: radial-gradient(circle at 20% 0, #e9e9e6 0, #edddb6 45%, #e5cdac 100%);
  border-radius: 32px;
  padding: 2px 6px 2px 10px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-playeritem-root .inventory-user-coin-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

#ojol-playeritem-root .inventory-coin-count {
  color: #3f3d3d;
  font-size: 12px;
  font-weight: 600;
}

#ojol-playeritem-root .inventory-coin-img {
  max-height: 32px;
}

/* INVENTORY TITLE CARD */
#ojol-playeritem-root .inventory-title-card {
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 28px;
  padding: 8px 16px;
  box-shadow: 4px 4px 0 rgb(149 88 0 / 57%), 0 5px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgb(255 255 255 / 49%);
  text-align: center;
  backdrop-filter: blur(5px);
}

#ojol-playeritem-root .inventory-title {
  font-size: 24px;
  font-weight: 800;
  color: #e5e2d7;
  margin-bottom: 0px;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 2px 5px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 2px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.9px;
}

#ojol-playeritem-root .inventory-subtitle {
  font-size: 12px;
  color: #d7d7d5;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 1px 2px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 2px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.9px;
  margin-top: 0px;
}

/* CHARACTER 3D VIEWER */
#ojol-playeritem-root .character-card {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 40px; */
}

#ojol-playeritem-root .character-card model-viewer {
  width: 280px;
  /* height: 215px; */
  background: transparent;
  --poster-color: transparent;
  position: fixed;
  /* top: 235px; */
  z-index: 1;
}

/* STATS SUMMARY */
#ojol-playeritem-root .inventory-stats {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0px;
  z-index: 2;
  /* margin-top: 260px; */
}

#ojol-playeritem-root .inventory-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 16px;
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  border-radius: 16px;
  box-shadow: 2px 3px 0 rgba(149, 88, 0, 0.7), 0 4px 8px rgba(0, 0, 0, 0.25);
  min-width: 70px;
}

#ojol-playeritem-root .inventory-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #03352a;
}

#ojol-playeritem-root .inventory-stat-label {
  font-size: 10px;
  color: #0f5135;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#ojol-playeritem-root .stat-bump {
  animation: playerItemStatBump .25s ease-out;
}

@keyframes playerItemStatBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* CATEGORY TABS */
#ojol-playeritem-root .inventory-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 10px 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#ojol-playeritem-root .inventory-tabs::-webkit-scrollbar {
  display: none;
}

#ojol-playeritem-root .inventory-tab {
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  background: radial-gradient(circle at 20% 0, #f5f3ed 0, #e8dcc4 45%, #ddd0b8 100%);
  color: #6b5a3e;
  border: none;
  cursor: pointer;
  box-shadow: 3px 4px 0 rgba(120, 90, 40, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
  position: relative;
  overflow: visible;
  text-align: center;
  width: auto;
  flex: 0 0 auto;
  padding: 8px 16px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ojol-playeritem-root .inventory-tab:hover {
  transform: translateY(-2px);
}

#ojol-playeritem-root .inventory-tab:active {
  transform: translateY(1px);
  box-shadow: 1px 2px 0 rgba(120, 90, 40, 0.6), 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-playeritem-root .inventory-tab.active {
  background: radial-gradient(circle at 20% 0, #fff8e1 0, #ffd54f 45%, #ffb300 100%);
  color: #5c3600;
  box-shadow: 3px 4px 0 rgba(149, 88, 0, 0.9), 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

#ojol-playeritem-root .inventory-tab.active::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 60%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  animation: playerItemTabShine 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes playerItemTabShine {
  0% { left: -100%; }
  100% { left: 150%; }
}

#ojol-playeritem-root .inventory-tab-count {
  display: inline-block;
  background: rgb(2 229 9);
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 10px;
  margin-left: 4px;
  position: absolute;
  top: -6px;
  right: -6px;
  color: #252525;
}

/* INVENTORY ITEMS SECTION */
#ojol-playeritem-root .inventory-items-section {
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  z-index: 2;
}

#ojol-playeritem-root .inventory-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

#ojol-playeritem-root .inventory-items-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1eade;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(149, 88, 0, 0.95), 0 2px 2px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.9px;
}

#ojol-playeritem-root .inventory-items-count {
  font-size: 13px;
  color: #f1eade;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(149, 88, 0, 0.95), 0 10px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
}

#ojol-playeritem-root .inventory-items-subtext {
  margin-bottom: 12px;
  font-size: 12px;
  color: #d7d7d5;
  text-shadow: 1px 1px 5px rgb(26 24 21 / 85%), 0 1px 2px rgba(0, 0, 0, 0.45), 0 -1px 0px rgba(255, 255, 255, 0.7), 0 -2px 6px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.9px;
}

#ojol-playeritem-root .inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* INVENTORY ITEM CARD */
#ojol-playeritem-root .inventory-item-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

#ojol-playeritem-root .inventory-item-card::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -200%;
  width: 80%;
  height: 200%;
  transform: rotate(25deg);
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.15) 55%, rgba(255,255,255,0) 100%);
  animation: playerItemShinyMove 3s linear infinite;
  pointer-events: none;
  filter: blur(4px);
}

@keyframes playerItemShinyMove {
  0% { left: -200%; }
  100% { left: 250%; }
}

#ojol-playeritem-root .inventory-item-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.10) 6px, rgba(255,255,255,0.05) 12px);
  mix-blend-mode: soft-light;
  opacity: 0.6;
  animation: playerItemWaveGlow 6s ease-in-out infinite;
}

@keyframes playerItemWaveGlow {
  0% { background-position: 0 0; opacity: 0.4; }
  50% { background-position: 120px 60px; opacity: 0.75; }
  100% { background-position: 0 0; opacity: 0.4; }
}

#ojol-playeritem-root .inventory-item-card:hover {
  transform: translateY(-2px);
}

#ojol-playeritem-root .equip-anim {
  animation: playerItemEquipBounce 0.18s ease-out;
}

@keyframes playerItemEquipBounce {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

#ojol-playeritem-root .inventory-item-image {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
}

#ojol-playeritem-root .inventory-item-image img {
  width: 100%;
  height: auto;
}

#ojol-playeritem-root .inventory-item-name {
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.2;
  font-size: 10px;
  color: #f1eade;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 2px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.5px;
}

/* RARITY BADGES */
#ojol-playeritem-root .inventory-item-rarity {
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#ojol-playeritem-root .rarity-common {
  background: #e5e7eb;
  color: #374151;
}

#ojol-playeritem-root .rarity-rare {
  background: linear-gradient(90deg, #93c5fd, #60a5fa);
  color: #1e3a8a;
}

#ojol-playeritem-root .rarity-epic {
  background: linear-gradient(90deg, #c4b5fd, #a78bfa);
  color: #4c1d95;
}

#ojol-playeritem-root .rarity-legendary {
  background: linear-gradient(90deg, #fde68a, #fbbf24);
  color: #78350f;
}

/* EQUIPPED BADGE */
#ojol-playeritem-root .equipped-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #22c55e;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 10;
}

/* TYPE BADGE */
#ojol-playeritem-root .type-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 10;
}

#ojol-playeritem-root .inventory-item-card[data-type="skin"] .type-badge {
  background: #0f766e;
}
#ojol-playeritem-root .inventory-item-card[data-type="motor"] .type-badge {
  background: #15803d;
}
#ojol-playeritem-root .inventory-item-card[data-type="aksesori"] .type-badge {
  background: #6d28d9;
}
#ojol-playeritem-root .inventory-item-card[data-type="booster"] .type-badge {
  background: #b91c1c;
}
#ojol-playeritem-root .inventory-item-card[data-type="obstacle"] .type-badge {
  background: #ea580c;
}

/* EMPTY STATE */
#ojol-playeritem-root .inventory-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

#ojol-playeritem-root .inventory-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

#ojol-playeritem-root .inventory-empty-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #f1eade;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 rgba(149, 88, 0, 0.95), 0 10px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 0.8px;
}

#ojol-playeritem-root .inventory-empty-text {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: math-auto;
  text-shadow: 1px 1px 0 rgba(149, 88, 0, 0.95), 0 10px 20px rgba(0, 0, 0, 0.45), 0 -1px 0 rgba(255, 255, 255, 0.7), 0 -2px 4px rgba(255, 200, 100, 0.6);
  letter-spacing: 1px;
}

#ojol-playeritem-root .inventory-shop-btn {
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(90deg, #5df2a2, #00c853);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 0 #00963e, 0 5px 10px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.2s ease;
}

#ojol-playeritem-root .inventory-shop-btn:hover {
  transform: translateY(-2px);
}

/* TOAST EQUIP */
#ojol-playeritem-root .equip-toast {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 20;
  white-space: nowrap;
}

#ojol-playeritem-root .equip-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* BOTTOM LOUNGE */
#ojol-playeritem-root .bottom-lounge {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  padding: 16px 24px 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(5px);
}

#ojol-playeritem-root .bottom-lounge > div:nth-child(2) {
  display: flex;
  justify-content: center;
  flex: 1;
}

#ojol-playeritem-root .nav-container {
  background: radial-gradient(circle at 20% 0, #e9e6da 0, #e5c984 45%, #efbe7a 100%);
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  flex-direction: column;
  color: #000000;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
  box-shadow: 4px 7px 0 rgba(149, 88, 0, 0.95), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-playeritem-root .nav-container.active {
  background: #fff2d3;
}

#ojol-playeritem-root .btm-lounge-img {
  height: 32px;
  width: auto;
}

#ojol-playeritem-root .neo-btn {
  padding: 10px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
  color: #111827;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 4px 7px 0px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(15, 23, 42, 0.9);
  text-transform: uppercase;
  transition: all 0.2s ease;
}

#ojol-playeritem-root .neo-btn:hover {
  transform: translateY(-2px);
}

/* MODAL ITEM DETAIL */
#ojol-playeritem-root .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

#ojol-playeritem-root .modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

#ojol-playeritem-root .modal-content {
  background: radial-gradient(circle at 20% 0, #fff8e1 0, #ffd54f 45%, #ffb300 100%);
  border-radius: 28px;
  padding: 24px;
  text-align: center;
  max-width: 320px;
  width: 90%;
  box-shadow: 6px 10px 0 rgba(149, 88, 0, 0.95), 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#ojol-playeritem-root .modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

#ojol-playeritem-root .modal-item-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#ojol-playeritem-root .modal-item-image img {
  width: 90%;
  height: auto;
}

#ojol-playeritem-root .modal-item-name {
  font-size: 20px;
  font-weight: 800;
  color: #5c3600;
  margin-bottom: 4px;
}

#ojol-playeritem-root .modal-item-type {
  font-size: 12px;
  color: #7a5a2e;
  margin-bottom: 8px;
  text-transform: uppercase;
}

#ojol-playeritem-root .modal-item-rarity {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 16px;
}

#ojol-playeritem-root .modal-item-acquired {
  font-size: 11px;
  color: #7a5a2e;
  margin-bottom: 20px;
}

#ojol-playeritem-root .modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

#ojol-playeritem-root .modal-btn {
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 1;
}

#ojol-playeritem-root .modal-btn-equip {
  background: radial-gradient(circle at 20% 0, #4ade80 0, #22c55e 45%, #16a34a 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(22, 101, 52, 0.9), 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#ojol-playeritem-root .modal-btn-unequip {
  background: radial-gradient(circle at 20% 0, #fca5a5 0, #ef4444 45%, #dc2626 100%);
  color: #fff;
  box-shadow: 3px 4px 0 rgba(153, 27, 27, 0.9), 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#ojol-playeritem-root .modal-btn-close {
  background: radial-gradient(circle at 20% 0, #f5f3ed 0, #e8dcc4 45%, #ddd0b8 100%);
  color: #5c3600;
  box-shadow: 3px 4px 0 rgba(120, 90, 40, 0.6), 0 6px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-playeritem-root .modal-btn:hover {
  transform: translateY(-2px);
}

#ojol-playeritem-root .modal-btn:active {
  transform: translateY(1px);
}


.player-item-wrap {
  /* Fallback for older browsers */
  min-height: calc(100vh - 280px);
  /* Modern dynamic viewport - adjusts when address bar hides/shows */
  min-height: calc(100dvh - 260px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#ojol-playeritem-root .character-card model-viewer {
  top: auto;
  bottom: 245px; /* Jarak dari bottom-lounge ke atas */
}
