/* ============================================
 * LOUNGE SCENE
 * Re-extracted from old_style.css
 * Contains all #ojol-lounge-root styles
 * ============================================ */

#ojol-lounge-root {
  position: fixed;
  inset: 0;
  display: none; /* ditoggle dari LoungeScene */
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  z-index: 100;
}

#ojol-lounge-root .ojol-wrapper {
    width: 100%;
    height: calc(100vh - 0px);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    position: relative;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
    background: url('../../backgrounds/lounge-bg.webp') no-repeat center top;
    background-size: cover;
    display: flex;
    flex-direction: column;
    /*margin-bottom: 50px;*/
}

#ojol-lounge-root .ojol-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 16px 18px 140px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#ojol-lounge-root .ojol-header {
  text-align: left;
}

#ojol-lounge-root .header-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#ojol-lounge-root .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#ojol-lounge-root .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-lounge-root .ojol-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

#ojol-lounge-root img.avatar-img {
  max-height: 32px;
  padding: 4px 0;
}

#ojol-lounge-root .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-lounge-root .user-coin-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

#ojol-lounge-root img.coin-img {
  max-height: 32px;
}

#ojol-lounge-root .coint-count {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
}

#ojol-lounge-root .settings-btn {
  background: radial-gradient(circle at 20% 0, #e9e9e6 0, #edddb6 45%, #e5cdac 100%);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  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);
  transition: transform 0.1s, box-shadow 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ojol-lounge-root .settings-btn:active {
  transform: translateY(2px);
  box-shadow: 2px 4px 0 rgba(149, 88, 0, 0.95), 0 5px 10px rgba(0, 0, 0, 0.35);
}

#ojol-lounge-root .achievement-btn {
  position: relative;
}

#ojol-lounge-root .achievement-btn .notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.name-wrap, .point-wrap, .name-wrap-usr, .point-wrap-usr {
  color: #101010;
  font-size: 14px;
  font-weight: 600;
}

.rank-change-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  margin-right: 6px;
}

.rank-change-wrap.up .rank-change-value {
  color: #16a34a;
}

.rank-change-wrap.down .rank-change-value {
  color: #f97316;
}

.rank-change-icon {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.rank-change-wrap.up .rank-change-icon {
  border-bottom: 8px solid #22c55e;
}

.rank-change-wrap.down .rank-change-icon {
  border-top: 8px solid #f97316;
}

#ojol-lounge-root .ojol-title {
  /* font-size: 40px; */
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #00c853;
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.9),
    0 0 12px rgba(74, 222, 128, 0.9),
    0 0 28px rgba(22, 163, 74, 0.7);
  padding-top: 6px;
  text-align: center;
  margin: 0px;
}

#ojol-lounge-root .stats-card {
  width: 100%;
  box-sizing: border-box;
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 40px;
  padding: 16px 18px 16px;
  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);
  font-size: 12px;
  line-height: 1.4;
  position: relative;
}

#ojol-lounge-root .stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(34,197,94,0.28), transparent 55%);
  pointer-events: none;
  border-radius: 40px;
}

#ojol-lounge-root .stats-header {
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .stats-title-main {
  font-size: 16px;
  font-weight: 900;
  color: #faf5e6;
  text-transform: uppercase;
}

#ojol-lounge-root .stats-subtitle-main {
  font-size: 11px;
  color: #ede6d1;
}

#ojol-lounge-root .lounge-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .lounge-stat-card {
  background: linear-gradient(to right, rgb(255 255 255 / 8%) 0%, rgba(255, 255, 255, 0.15) 45%, rgb(255 255 255 / 12%) 50%, rgba(255, 255, 255, 0.15) 55%, rgb(255 255 255 / 13%) 100%);
  border-radius: 20px;
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76px;
  transition: transform 0.15s ease;
  position: relative;
  overflow: hidden;
}

/* ⭐ Shimmer overlay - GPU accelerated */
#ojol-lounge-root .lounge-stat-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 80%;
  height: 200%;
  transform: translateX(-200%) rotate(25deg);
  background: linear-gradient(to right, rgb(235 194 128 / 0%) 0%, rgb(234 196 130 / 20%) 45%, rgb(234 196 129 / 40%) 50%, rgb(235 195 129 / 20%) 55%, rgb(235 195 129 / 0%) 100%);
  animation: loungeShimmer 3s linear infinite;
  pointer-events: none;
  will-change: transform;
}

@keyframes loungeShimmer {
  0% { transform: translateX(-200%) rotate(25deg); }
  100% { transform: translateX(250%) rotate(25deg); }
}



#ojol-lounge-root .lounge-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #fbead9;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
}

#ojol-lounge-root .lounge-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #faf5e6;
}

#ojol-lounge-root .lounge-stat-sub {
  font-size: 11px;
  color: #e5e2d7;
  letter-spacing: 0.5px;
}

#ojol-lounge-root .stats-overview {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .stat-pill {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  min-width: 88px;
  text-align: center;
}

#ojol-lounge-root .stat-label {
  font-size: 10px;
  color: #9ca3af;
}

#ojol-lounge-root .stat-value {
  font-size: 14px;
  font-weight: 700;
}

#ojol-lounge-root .stats-meta-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .stats-meta-row strong {
  color: #e5e7eb;
}

#ojol-lounge-root .stats-divider {
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  margin: 6px 0 8px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .stats-mission-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .mission-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

#ojol-lounge-root .mission-badge {
  font-size: 11px;
  background: rgba(34, 197, 94, 0.14);
  color: #bbf7d0;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

#ojol-lounge-root .mission-list-modern {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  z-index: 1;
}

#ojol-lounge-root .mission-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

#ojol-lounge-root .mission-texts {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#ojol-lounge-root .mission-name {
  font-size: 12px;
}

#ojol-lounge-root .mission-status-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

#ojol-lounge-root .mission-status-ready {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.8);
  color: #fef9c3;
  cursor: pointer;
}

#ojol-lounge-root .mission-progress-pill {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  min-width: 110px;
  padding: 3px 8px;
}

#ojol-lounge-root .mission-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  opacity: 0.8;
  transform-origin: left;
  width: 0%;
}

#ojol-lounge-root .mission-progress-text {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  display: block;
  color: #e5e7eb;
}

#ojol-lounge-root section.leaderboard-wrap {
  padding: 4px 0 8px;
}

#ojol-lounge-root .lead-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

#ojol-lounge-root .leaderboard-titles {
  font-size: 20px;
  color: #faf5e6;
  font-weight: 900;
  text-transform: uppercase;
  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;
}

#ojol-lounge-root .toggle-leader-warp {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  max-width: 60%;
  margin: 0 auto 12px auto;
  border-radius: 999px;
  padding: 4px;
  color: #393939;
  font-size: 14px;
  backdrop-filter: blur(5px);
  box-shadow: 4px 7px 0 rgb(149 88 0 / 56%), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

#ojol-lounge-root .weekly-wrap,
#ojol-lounge-root .all-time-wrap {
  width: 100%;
  text-align: center;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  color: white;
  transition: background 0.18s ease-out, opacity 0.18s ease-out, transform 0.18s ease-out;
}

#ojol-lounge-root .weekly-wrap.tab-active,
#ojol-lounge-root .all-time-wrap.tab-active {
  background: radial-gradient(circle at 20% 0, #efefef 0, #dbd2bc 45%, #f7e1c3 100%);
  font-weight: 700;
  opacity: 1;
  transform: translateY(-1px);
  color: black;
  border: 1px solid #915e0738;
}

#ojol-lounge-root .weekly-wrap:not(.tab-active),
#ojol-lounge-root .all-time-wrap:not(.tab-active) {
  opacity: 0.7;
}

#ojol-lounge-root .leaderboard-user-data {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  margin: 60px 0 26px;
}

#ojol-lounge-root .leaderboard-containers {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 110px; /* fixed width supaya posisi podium stabil */
}

#ojol-lounge-root .user-rank-one,
#ojol-lounge-root .user-rank-two,
#ojol-lounge-root .user-rank-three {
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  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);
}

#ojol-lounge-root .user-rank-one {
  border: 5px solid #D4AF37;
  height: 105px;
  width: 100px;
}

#ojol-lounge-root .user-rank-two,
#ojol-lounge-root .user-rank-three {
  border: 3px solid #b0b0b0;
  height: 85px;
  width: 80px;
}

#ojol-lounge-root .user-rank-two {
  transform: rotate(-10deg);
}

#ojol-lounge-root .user-rank-three {
  border-color: #b57c54;
  transform: rotate(10deg);
}

#ojol-lounge-root .user-rank-one {
  position: relative;
}

#ojol-lounge-root img.crown-rank-one {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
}

#ojol-lounge-root img.avatar-img-rank-one {
  width: 95px;
  height: 100px;
  object-fit: cover;
}

#ojol-lounge-root img.avatar-img-rank {
  width: 70px;
  height: 75px;
  object-fit: cover;
}

#ojol-lounge-root img.badge-avatar-img,
#ojol-lounge-root img.badge-avatar-img-ods,
#ojol-lounge-root img.badge-avatar-img-ods-th {
  position: absolute;
  height: 40px;
  display: none;
}

#ojol-lounge-root img.badge-avatar-img {
  top: 142px;
  left: 50px;
  height: 50px;
}

#ojol-lounge-root img.badge-avatar-img-ods {
  top: 105px;
  left: 30px;
  transform: rotate(10deg);
}

#ojol-lounge-root img.badge-avatar-img-ods-th {
  top: 85px;
  left: 48px;
  transform: rotate(-10deg);
}

#ojol-lounge-root .lb-data {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ojol-lounge-root .driver-name-lb {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 0px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #faf5e6;
  text-shadow: 1px 1px 2px rgb(26 24 21 / 95%), 0 1px 1px rgb(0 0 0 / 65%), 0 0px 0 rgba(255, 255, 255, 0.7), 0 -2px 2px rgba(255, 200, 100, 0.6);
}

#ojol-lounge-root .driver-point-lb {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  background: #d5d5d58c;
  padding: 2px 12px;
  border-radius: 9999px;
  margin-top: 6px;
}

#ojol-lounge-root .driver-point-lb.first {
  color: #772b2b;
  font-size: 14px;
  font-weight: 700;
  background: #f9bc42;
  padding: 2px 12px;
  border-radius: 9999px;
  margin-top: 6px;
  box-shadow: 2px 4px 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-lounge-root .driver-point-lb.second {
  color: #9d4604;
  font-size: 14px;
  font-weight: 700;
  background: #d7cdc5;
  padding: 2px 12px;
  border-radius: 9999px;
  margin-top: 6px;
  box-shadow: 2px 4px 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-lounge-root .driver-point-lb.third {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  background: #db7f39;
  padding: 2px 12px;
  border-radius: 9999px;
  margin-top: 6px;
  box-shadow: 2px 4px 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-lounge-root .leaderboard-list-users {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 85%;
  margin: auto;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  padding-bottom: 27px;
}

#ojol-lounge-root .list-lb-wrap,
#ojol-lounge-root .list-lb-wrap-usr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: radial-gradient(circle at 20% 0, #e9e9e61c 0, #edddb621 45%, #e5cdac26 100%);
  padding: 8px 16px 8px 8px;
  border-radius: 30px;
  box-shadow: 2px 4px 0 rgb(149 88 0 / 67%), 0 9px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

#ojol-lounge-root .sec-list-wrap,
#ojol-lounge-root .sec-list-wrap-usr {
  display: flex;
  align-items: center;
  gap: 8px;
}

#ojol-lounge-root .rank-wrap {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  color: #faf5e6;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 1px 1px rgba(0, 0, 0, 0.45), 0 0px 0 rgba(255, 255, 255, 0.7), 0 0px 1px rgba(255, 200, 100, 0.6);
}

#ojol-lounge-root .avatar-img-rank-list,
#ojol-lounge-root .avatar-img-rank-list-usr {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  background: #ffffff;
}

#ojol-lounge-root .name-wrap,
#ojol-lounge-root .name-wrap-usr {
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #faf5e6;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 1px 1px rgba(0, 0, 0, 0.45), 0 0px 0 rgba(255, 255, 255, 0.7), 0 0px 1px rgba(255, 200, 100, 0.6);
}

#ojol-lounge-root .point-wrap,
#ojol-lounge-root .point-wrap-usr {
  font-size: 14px;
  font-weight: 700;
  color: #faf5e6;
  text-shadow: 1px 1px 0 rgb(26 24 21 / 95%), 0 1px 1px rgba(0, 0, 0, 0.45), 0 0px 0 rgba(255, 255, 255, 0.7), 0 0px 1px rgba(255, 200, 100, 0.6);
}

#ojol-lounge-root .rank-title-kamu {
  margin-top: 4px;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-align: center;
  background: #fff8c4;
  padding: 6px 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #f0d873;
  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-lounge-root .bottom-lounge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  padding: 16px 24px 20px; 
  background: #ffffff0a;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  backdrop-filter: blur(5px);

}

#ojol-lounge-root .shop-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-lounge-root .btm-lounge-img {
  height: 32px;
  width: auto;
}

#ojol-lounge-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 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);
  text-transform: uppercase;
}

#ojol-lounge-root .toast {
  position: absolute;
  left: 50%;
  bottom: 96px; /* di atas bottom-lounge */
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.95);
  color: #f9fafb;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

#ojol-lounge-root .toast.show {
  opacity: 1;
}

.head-one {
  display: flex;
  align-items: center;
  gap: 16px;
}

span.flag-head-wrap.leadboard {
  height: 22px;
  width: 22px;
}

.flag-head-wrap {
  position: relative;     /* â¬… WAJIB untuk pseudo-element */
  height: 30px;
  width: 30px;
  background: #ffffff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Punchier 3D */
  /* box-shadow: 2px 5px 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); */
}

.flag-head-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.8),
    rgba(255,255,255,0)
  );
  border-radius: 50%;
  pointer-events: none;
}

img.country-flag {
  height: 100%;
  width: 100%;
  object-fit: cover;
}


#ojol-lounge-root section.leaderboard-wrap {
  /* Fallback untuk browser lama */
  margin-top: calc(100vh - 260px);

  /* Browser modern: pakai dynamic viewport + clamp */
  margin-top: clamp(160px, 100svh - 260px, 280px);
}




