/* RonemaCraft Skyblock — ortak bileşenler (seçim ekranı + oyun sayfaları) */
[hidden] { display: none !important; }

/* Sağ üst: dil + yetkili/profil */
.sag-ust { display: flex; align-items: center; gap: 8px; }
.sag-ust--secim { position: absolute; top: 18px; right: 20px; z-index: 20; }
.ust-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; font: 600 14px 'Outfit', system-ui, sans-serif; color: #e3e7f3;
  background: rgba(10,14,27,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); cursor: pointer; white-space: nowrap; text-decoration: none; transition: border-color .2s, background .2s; }
.ust-btn:hover, .acilir.acik > .ust-btn { border-color: rgba(255,255,255,.35); background: rgba(20,26,49,.9); }
.ust-btn i { font-style: normal; font-size: 11px; opacity: .7; transition: transform .2s; }
.acilir.acik > .ust-btn i { transform: rotate(180deg); }
.yetkili-btn svg { color: #3fe0ff; }
.profil-btn { padding-left: 5px; }
.profil-btn img { width: 28px; height: 28px; border-radius: 7px; image-rendering: pixelated; }
.profil-btn span { font-weight: 800; max-width: 140px; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.sag-ust .ust-btn { flex-shrink: 0; }

.acilir { position: relative; }
.acilir__kutu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; min-width: 160px; padding: 6px; border-radius: 14px;
  background: #0d1224; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.acilir.acik > .acilir__kutu { opacity: 1; visibility: visible; transform: none; }
.acilir__kutu--kucuk button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 9px; font: 500 14px 'Outfit', sans-serif; color: #dfe3f1; background: none; border: 0; cursor: pointer; }
.acilir__kutu--kucuk button:hover, .acilir__kutu--kucuk button.aktif { background: rgba(255,255,255,.07); }

/* Profil kutusu */
.profil-kutu { width: 250px; padding: 18px 16px 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  border: 1px solid transparent; background: linear-gradient(#0d1224, #0d1224) padding-box, linear-gradient(135deg, #a66bff, #3fe0ff) border-box; }
.profil-kutu__bas { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #8b93ad; margin-bottom: 4px; }
.profil-kutu__kafa { width: 64px; height: 64px; border-radius: 14px; image-rendering: pixelated; box-shadow: 0 0 0 2px rgba(255,255,255,.12); }
.profil-kutu__ad { font-size: 17px; font-weight: 800; color: #fff; }
.profil-kutu__eylem { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.profil-kutu__eylem a, .profil-kutu__eylem button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 12px; font: 600 13px 'Outfit', sans-serif; color: #e3e7f3; text-decoration: none; background: none; border: 0; cursor: pointer; width: 100%; }
.profil-kutu__eylem a:hover, .profil-kutu__eylem button:hover { background: rgba(255,255,255,.06); }
.profil-kutu__eylem form { margin: 0; }
.ik { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 17px; color: #fff; }
.ik--panel { background: linear-gradient(135deg, #2f7bff, #3fa9ff); }
.ik--cikis { background: linear-gradient(135deg, #d9283b, #ff4d5e); }

/* Rol rozeti (panelden gelen renkler, tek renk ya da gradyan) */
.rol-rozet { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; padding: 3px 8px; border-radius: 6px; font: 700 11px/1.2 'Outfit', sans-serif; color: #fff; white-space: nowrap;
  background: linear-gradient(90deg, var(--r1), var(--r2)); text-shadow: 0 1px 2px rgba(0,0,0,.35); box-shadow: 0 2px 10px -3px var(--r1); }
.rol-rozet::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: .9; }
.rol-rozet.kucuk { padding: 2px 6px; font-size: 10px; margin-left: 6px; }

/* Bildirim */
.bildirim { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: #fff; color: #090a12; font: 600 15px 'Outfit', sans-serif; transition: .3s; pointer-events: none; z-index: 999; }
.bildirim.goster { opacity: 1; transform: translate(-50%, 0); }

/* Bakım */
.bakim-bant { position: relative; z-index: 100; padding: 8px 16px; text-align: center; font: 600 14px 'Outfit', sans-serif; color: #2a1600; background: linear-gradient(90deg, #ffb347, #ffd166); }
.bakim-govde { margin: 0; min-height: 100vh; background: #05070f; color: #e9ecf6; font-family: 'Outfit', sans-serif; }
.bakim-ekran { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.bakim-ekran > div { max-width: 520px; padding: 40px 32px; border-radius: 22px; background: #0f1426; border: 1px solid rgba(255,255,255,.08); }
.bakim-ekran__ikon { font-size: 52px; } .bakim-ekran h1 { margin: 12px 0 8px; } .bakim-ekran p { color: #b6bdd3; white-space: pre-line; }
.bakim-ekran a { display: inline-block; margin-top: 18px; color: #8b93ad; font-size: 14px; }

@media (max-width: 620px) {
  .yetkili-btn span, .dil-sec .ust-btn i { display: none; }
  .profil-btn span { max-width: 90px; }
  .sag-ust--secim { top: 12px; right: 12px; }
}
