/* Sade arayüz (v1). Ayarlar > Arayüz: Yeni seçiliyken <html class="ui-sade"> olur (ui/unseen-sade-v1.js).
   Bu dosyadaki her kural html.ui-sade altındadır; Klasik seçiliyken hiçbiri devreye girmez.
   Eski katmanlardaki yüksek öncelikli kuralları geçebilmek için seçici #game-screen kimliğini dört kez
   tekrarlar (theme-gold.css üç kez tekrarlıyor). */

html.ui-sade{
  --sade-attack:url("../images/ui/sade/frame-attack.png");
  --sade-move:url("../images/ui/sade/frame-move.png");
  --sade-slot:url("../images/ui/sade/frame-slot.png");
  --sade-quiet:url("../images/ui/sade/frame-quiet.png");
  --sade-gold:#d9b25c;
  --sade-divider:rgba(122,99,54,.28);
}

/* ---------------------------------------------------------------- Çerçeve kademeleri
   Tek çerçeve ailesi: koyu dolgu, ince altın çizgi, yuvarlak köşe yok. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(
  #global-level-open,
  #beta96-home-region,
  .beta96-home-quick-btn,
  .hud-potion-slot,
  #skill-btn-row > button
){
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(
  .global-currencies > span,
  #scene-flee-btn
){
  border:6px solid transparent!important;
  border-image:var(--sade-quiet) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #move-btn{
  border:6px solid transparent!important;
  border-image:var(--sade-move) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-attack-btn{
  border:6px solid transparent!important;
  border-image:var(--sade-attack) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

/* Yuvarlak köşeler düzleşir; alt menüdeki sayı rozetleri yuvarlak kalır. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(
  .character-name-tag,
  .monster-name-tag,
  .beta96-home-log-shell,
  .beta96-home-log-shell *,
  .hud-wrapper,
  .hud-wrapper *:not(.nav-badge),
  .global-xp-track,
  .global-xp-track *,
  #char-avatar,
  .btn-cooldown-fill
){
  border-radius:0!important;
}

/* Profil resmi 6 piksellik çerçevenin iç çizgisine kadar genişler. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .global-player-topbar #char-avatar:not(.hidden){
  inset:-4px;
  width:calc(100% + 8px);
  height:calc(100% + 8px);
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .beta96-home-quick-btn{
  width:40px!important;
  height:40px!important;
}

/* ---------------------------------------------------------------- Ana ekran: düğme satırı
   Savaşta tek satır: [yetenekler] [Saldır] [Kaç]. Savaş dışında yalnızca boydan boya Hareket Et.
   Savaş durumu, oyunun zaten yönettiği işaretten okunur: Kaç düğmesi yalnızca karşılaşma varken
   "hidden" sınıfını kaybeder (app.js). Saldır'ın disabled durumu bekleme süresinde de değiştiği
   için işaret olarak kullanılmaz. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:stretch!important;
  align-content:flex-start!important;
  justify-content:center!important;
  gap:6px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone > *{
  flex:0 0 100%!important;
  order:10;
  width:100%!important;
  max-width:100%!important;
  min-width:0;
  box-sizing:border-box!important;
  margin-top:0!important;
  margin-bottom:0!important;
}

/* İki düğme satırı tek flex satırında birleşir; gizli yetenek satırı gizli kalır. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#scene-btn-row, #skill-btn-row:not(.hidden)){
  display:contents!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#scene-btn-row, #skill-btn-row) > button{
  height:56px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  width:auto!important;
  min-width:0!important;
}

/* Hareket Et boydan boya değil; ortada, Saldır'dan alçak. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #move-btn{
  order:0;
  flex:0 1 220px!important;
  height:46px!important;
}

/* 31.10 sürü savaşı: dört yetenek yuvası + Saldır + Savaştan Çık tek satıra sığar (4×54 + 100 + 46 + boşluklar). */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button{
  order:1;
  flex:0 1 54px!important;
  min-width:46px!important;
}

/* Saldır yazısı her genişlikte tam görünür: en az 104 piksel; sığmazsa alt satıra inip boydan boya olur. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-attack-btn{
  order:2;
  flex:1 1 100px!important;
  min-width:100px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-flee-btn{
  order:3;
  flex:0 0 46px!important;
  font-size:0!important;
  gap:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-flee-btn.hidden{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-flee-btn img{
  width:24px!important;
  height:24px!important;
  margin:0!important;
  opacity:.85;
}

/* Oto düğmesi: Hareket Et'in yanında, satır yüksekliğinde kare (savaşta Hareket Et gizlenince satırın başında). */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-btn-row > #combat-auto-btn{
  order:0;
  flex:0 0 56px!important;
  width:56px!important;
  height:56px!important;
}

/* Savaşta satır dolu (dört yetenek + Saldır): OTO ve Savaştan Çık kareleri bölgenin üstüne, sahnenin sağ alt köşesine
   çıkar (31.10 sürü savaşı: dördüncü yetenekle Çık satıra sığmıyordu, sahneyi daraltıyordu). */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)){
  overflow:visible!important;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)) #scene-btn-row > #scene-flee-btn{
  position:absolute!important;
  right:60px;
  bottom:calc(100% + 6px);
  flex:none!important;
  width:46px!important;
  height:46px!important;
  min-height:0!important;
  padding:0!important;
  z-index:3;
  display:flex!important;
  align-items:center;
  justify-content:center;
}
/* OTO gizliyse (Sv.10 altı, parti) Çık karesi onun yerine köşeye geçer. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)):has(#combat-auto-btn.hidden) #scene-btn-row > #scene-flee-btn{
  right:8px;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)):not(:has(#combat-auto-btn)) #scene-btn-row > #scene-flee-btn{
  right:8px;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)) #scene-btn-row > #combat-auto-btn{
  position:absolute!important;
  right:8px;
  bottom:calc(100% + 6px);
  flex:none!important;
  width:46px!important;
  height:46px!important;
  z-index:3;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-btn-row > #combat-auto-btn.hidden{
  display:none!important;
}

/* Savaşta Hareket Et ("Önce Savaş!") gizlenir; savaş dışında Saldır gizlenir. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:has(#scene-flee-btn:not(.hidden)) #move-btn{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-black-zone:not(:has(#scene-flee-btn:not(.hidden))) #scene-attack-btn{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#move-btn, #scene-attack-btn) .btn-label{
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
  overflow:visible!important;
  gap:6px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-attack-btn .btn-label img{
  width:18px!important;
  height:18px!important;
  margin:0!important;
  flex:none;
}

/* Yetenek yuvası: üstte ikon, altında tek satır kısa ad. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .btn-label{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  width:100%!important;
  font-size:8.5px!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .btn-label *{
  font-size:8.5px!important;
  line-height:1.1!important;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .btn-label img{
  width:28px!important;
  height:28px!important;
  margin:0!important;
  flex:none;
}

/* ---------------------------------------------------------------- İksir yuvaları
   Çerçeve yuvanın içini daraltmasın diye burada 3 piksel çizilir; ikon yuvayı doldurur.
   Ortak yuva kuralı kimlik seçicisi taşıdığı için burada da yuvalar kimlikleriyle seçilir. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen .hud-potion-slot:is(#hud-potion-1,#hud-potion-2,#hud-potion-3,#hud-full-heal-btn){
  border-width:3px!important;
  border-image-width:3px!important;
  padding:0!important;
  height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:visible!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .hud-potion-slot img{
  position:static!important;
  width:auto!important;
  height:100%!important;
  margin:0!important;
  max-width:100%!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* İksir yokken Tam İyileş ikonu soluk durur. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .hud-full-heal-slot.hud-potion-slot-disabled img{
  filter:grayscale(1) brightness(.55)!important;
  opacity:.7!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .hud-full-heal-slot{
  font-size:15px!important;
  white-space:nowrap!important;
}

/* ---------------------------------------------------------------- Paneller: ortak iskelet
   Bütün menüler aynı kurallarla: yuvarlak köşe yok, sade sekmeler, küçük altın başlıklar,
   çizgiyle ayrılan çerçevesiz satırlar, tek tip düğme kademeleri. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.game-panel:not(#move-panel), #settings-menu, #ui-test-more-sheet){
  border-radius:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.game-panel:not(#move-panel), #settings-menu, #ui-test-more-sheet) *{
  border-radius:0!important;
}

/* 21.10 menü birliği: başlık altındaki tek satır alt yazı her sayfada görünür; eski gizleme kuralı kaldırıldı. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.retention-hint, .beta-hub-chips, .premium-store-hero){
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.section-tab, .ui2-tab, .ui3-tab, .season-tabs .mini-btn, #skill-v2-tabs button, .premium-category-btn){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-bottom:2px solid transparent!important;
  min-height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.section-tab, .ui2-tab, .ui3-tab, .season-tabs .mini-btn, #skill-v2-tabs button, .premium-category-btn).active{
  border-bottom:2px solid var(--sade-gold)!important;
  color:#f0d28a!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.quest-section-title, .market-subheading, .achievement-category-title, .codex-section h4, .uc-section-title){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
  color:var(--sade-gold)!important;
  padding:14px 4px 6px!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.quest-card, .shop-card, .market-card, .achievement-card, .season-reward, .event-milestone, .codex-milestone, .notification-card, .leaderboard-row, .chronos-store-card, .worldboss-reward-row){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-bottom:1px solid var(--sade-divider)!important;
  margin:0!important;
  padding:11px 4px!important;
  align-items:center!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.uc-frame, .beta-card, .live-event-card, .season-summary-card, .codex-summary, .worldboss-reward-box, .market-section, .daily-reward-box, .achievement-summary-card, .market-summary-card, .wiki-section, .market-filters, .v157-context-actions, .notifications-toolbar, #login-reward-track, #daily-path-summary){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.quest-progress-bar, .achievement-progress, .codex-progress-track, .season-progress-track){
  height:7px!important;
}

/* ---------------------------------------------------------------- Paneller: düğme kademeleri
   Nötr düğme, eylem düğmesi (bronz) ve kullanılamayan düğme. Ödül düğmesi kullanılamıyorken
   düğme gibi görünmez; durumu ("Kilitli", "Devam Ediyor", "Alındı") düz yazı olarak kalır. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.v157-context-actions .mini-btn, .notifications-toolbar .mini-btn, .inv-filter-toggle-btn, .uc-equip-slot, .ui2-panel-close, .uc-close-btn, .beta-action-btn.secondary, .guild-leave-btn, .notification-read-btn, .market-filter-reset){
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.shop-buy-btn, .market-buy-btn, .quest-claim-btn, .season-claim-btn, .event-claim-btn, .codex-claim-btn, .region-select-btn, .premium-product-buy, .beta-action-btn:not(.secondary)){
  border:6px solid transparent!important;
  border-image:var(--sade-move) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  min-height:44px!important;
  color:#f3e3b5!important;
}

/* Kimlikle seçilen düğmeler ayrı yazılır: :is() en yüksek öncelikli üyesinin önceliğini aldığı için
   sınıf gruplarına katılsalar ":disabled" kuralları o grupları geçemezdi. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #logout-btn{
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#friend-add-btn, #profile-rename-btn){
  border:6px solid transparent!important;
  border-image:var(--sade-move) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  min-height:44px!important;
  color:#f3e3b5!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.quest-claim-btn, .season-claim-btn, .event-claim-btn, .codex-claim-btn, .region-select-btn, .notification-read-btn):disabled{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-image:none!important;
  color:#8d8894!important;
  opacity:.8!important;
  min-height:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.shop-buy-btn, .market-buy-btn, .premium-product-buy, .beta-action-btn):disabled{
  border-image:var(--sade-quiet) 6 fill / 6px stretch!important;
  color:#8d8894!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.market-filter-input, .market-filter-select, #beta-mail-form input, #beta-mail-form select){
  min-height:44px!important;
}

/* ---------------------------------------------------------------- Menü
   Sık kullanılan sekiz madde büyük kutu, kalanlar altta oklu sade liste; grup başlıkları yok. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet:not(.hidden){
  display:flex!important;
  flex-wrap:wrap!important;
  align-content:flex-start!important;
  gap:8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet > .ui-test-more-head{
  flex:0 0 100%!important;
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  padding-right:4px!important;
}

/* Menü başlığındaki çarpı öteki ekranlardaki kapatma düğmesinin aynısı; akışta durur, 44 px dokunma alanı. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-close{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  margin:0!important;
  flex:0 0 auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet > .ui-test-more-group{
  display:none!important;
}

/* 21.10 menü birliği alt yazısı tam satır kaplar; yoksa esnek ızgarada ilk karonun yerine girip Dünya Bossu/Arena'yı kaydırıyordu. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet > .ui-test-more-sub{
  flex:0 0 100%!important;
  order:0;
  margin:-4px 4px 0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet > .ui-test-more-grid{
  display:contents!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-bottom:1px solid var(--sade-divider)!important;
  order:2;
  flex:0 0 calc(50% - 4px)!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  height:46px!important;
  min-height:0!important;
  padding:0 4px!important;
  margin:0!important;
  font-size:13.5px!important;
  text-align:left!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action::after{
  content:"›";
  margin-left:auto;
  color:rgba(217,178,92,.7);
  font-size:16px;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action img{
  width:20px!important;
  height:20px!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action:is([data-testid="menu-worldboss"], [data-testid="menu-arena"], [data-testid="menu-shop"], [data-testid="menu-market"], [data-testid="menu-premium"], [data-testid="menu-achievements"], [data-testid="menu-season"], [data-testid="menu-event"]){
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  order:1;
  flex:0 0 calc((100% - 24px) / 4)!important;
  min-width:0!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:6px!important;
  height:78px!important;
  padding:0 2px!important;
  font-size:11.5px!important;
  line-height:1.1!important;
  text-align:center!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action:is([data-testid="menu-worldboss"], [data-testid="menu-arena"], [data-testid="menu-shop"], [data-testid="menu-market"], [data-testid="menu-premium"], [data-testid="menu-achievements"], [data-testid="menu-season"], [data-testid="menu-event"])::after{
  content:none;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action:is([data-testid="menu-worldboss"], [data-testid="menu-arena"], [data-testid="menu-shop"], [data-testid="menu-market"], [data-testid="menu-premium"], [data-testid="menu-achievements"], [data-testid="menu-season"], [data-testid="menu-event"]) img{
  width:32px!important;
  height:32px!important;
}

/* ---------------------------------------------------------------- Dükkân
   Çerçevesiz ürün satırı; adet kutusunun iki yanında − / + (ui/unseen-sade-v1.js ekler). */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list{
  border:0!important;
  background:none!important;
  padding:0 8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .shop-name{
  font-size:16px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .shop-desc{
  font-size:12.5px!important;
  line-height:1.3!important;
  opacity:.75;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .shop-qty-row{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  margin:6px 0 4px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .shop-qty-input{
  width:56px!important;
  height:40px!important;
  text-align:center!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .sade-step{
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  width:40px!important;
  height:40px!important;
  padding:0!important;
  font-size:18px!important;
  line-height:1!important;
  color:var(--sade-gold)!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #shop-list .shop-buy-btn{
  flex:none!important;
  min-width:112px!important;
}

/* ---------------------------------------------------------------- Görev */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #quests-panel .quest-info{
  flex:1 1 auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #quests-panel .quest-desc{
  font-size:14px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #quests-panel .quest-claim-btn:not(:disabled){
  min-width:72px!important;
  flex:none!important;
}

/* ---------------------------------------------------------------- Karakter ve Envanter
   Eşyalar beş sütun kare yuvada, yalnızca ikon; ad eşyaya dokununca açılan pencerede. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel .uc-inventory-list-scroll{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list{
  display:grid!important;
  grid-template-columns:repeat(5, 1fr)!important;
  gap:6px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row{
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  height:auto!important;
  min-height:0!important;
  width:auto!important;
  aspect-ratio:1;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-main{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-icon{
  width:44px!important;
  height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-qty{
  position:absolute!important;
  right:0!important;
  bottom:1px!important;
  font-size:11px!important;
  font-weight:700!important;
  color:#fff!important;
  text-shadow:0 1px 0 #000!important;
  background:none!important;
  border:0!important;
  /* Kutu yazı kadar genişler: dar kutuda çok haneli adetler (x23, x150) kesiliyordu. */
  width:auto!important;
  min-width:0!important;
  white-space:nowrap!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel :is(#uc-inv-search-input, #uc-inv-filter-toggle){
  height:44px!important;
}

/* ---------------------------------------------------------------- Harita
   Dört macera düğmesi tek sırada; bulunduğun bölge altın çizgili, kilitliler soluk. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .v157-adventure-actions{
  display:grid!important;
  grid-template-columns:repeat(4, 1fr)!important;
  gap:6px!important;
  padding:8px!important;
  height:auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .v157-adventure-actions .mini-btn{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  height:60px!important;
  padding:0!important;
  width:auto!important;
  min-width:0!important;
  font-size:11px!important;
  line-height:1.1!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .v157-adventure-actions .mini-btn img{
  width:24px!important;
  height:24px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-card{
  border:0!important;
  border-left:4px solid transparent!important;
  box-shadow:none!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-card.active-region{
  border-left-color:#e6ba5c!important;
}

/* Harita kartında "Git" de "Buradasın" gibi çerçevesiz yazıdır; kare kutu harita görselini kapatmaz.
   Bulunulan haritanın yazısı soluktur. Dokunma alanı 44 pikselde kalır. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-select-btn{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-image:none!important;
  color:#f6dc97!important;
  font-size:11px!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
  text-shadow:0 2px 0 rgba(0,0,0,.95)!important;
}
/* "Git" yazı yerine kalın altın bir oktur; düğmenin metni (ekran okuyucu etiketi) yerinde kalır, yalnızca görünmez. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-select-btn:not(.active-form){
  font-size:0!important;
  letter-spacing:0!important;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-select-btn:not(.active-form)::after{
  content:"";
  display:inline-block;
  width:28px;
  height:28px;
  vertical-align:middle;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8.5h9V3.5l9.5 8.5-9.5 8.5v-5H3z' fill='%23f2cf72' stroke='%231a1208' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M4.6 10h8.9V7l5.6 5' fill='none' stroke='%23fff0bf' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round' opacity='.75'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.85));
  transition:transform .12s ease-out;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-select-btn:not(.active-form):active::after{
  transform:translateX(3px);
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-select-btn.active-form{
  color:#b9a26c!important;
}

/* ---------------------------------------------------------------- Sosyal
   Arkadaş ekleme tek satır: ad kutusu ve yanında düğme. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel .market-filters{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:6px!important;
  padding:10px 8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel #friend-add-input{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel #friend-add-btn{
  flex:none!important;
  width:84px!important;
  padding:0!important;
  margin:0!important;
  font-size:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel #friend-add-btn img{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel #friend-add-btn::after{
  content:"Ekle";
  font-size:14px;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #friends-panel #friends-empty{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  padding:28px 16px!important;
  text-align:center!important;
  opacity:.7;
}

/* ---------------------------------------------------------------- Premium Mağaza
   Kart Klasik'teki bütün yazıları taşır: kategori, ad, nadirlik, bonus ve notu, fiyat, açıklama. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-card{
  box-shadow:none!important;
  height:auto!important;
  min-height:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-body{
  gap:5px!important;
  padding:8px 8px 6px!important;
  height:auto!important;
  min-height:0!important;
  flex:0 0 auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-name{
  font-size:14px!important;
  line-height:1.15!important;
  min-height:0!important;
  height:auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-buy{
  margin:0 8px 8px!important;
  width:auto!important;
  font-size:12.5px!important;
}

/* ---------------------------------------------------------------- Arena ve Posta
   İkisi aynı kart yapısını kullanır. Posta'da gelen kutusu üstte, yeni posta formu altta.
   İri, büyük harfli ana düğme yalnızca Arena'dadır; öteki alt ekranlar ortak düğme yazısını kullanır. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel .beta-card-head{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel .beta-card{
  display:flex!important;
  flex-direction:column!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel #beta-mail-form{
  order:10;
  gap:8px!important;
  margin-top:16px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel .beta-muted{
  order:11;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel[data-feature="arena"] .beta-actions .beta-action-btn{
  width:100%!important;
  min-height:52px!important;
  font-size:15px!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
  font-weight:700!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel #beta-mail-form button{
  min-height:48px!important;
}

/* ---------------------------------------------------------------- Sıralama, Başarımlar, Unvanlar, Sezon, Etkinlik, Koleksiyon */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #leaderboard-panel .leaderboard-rank{
  font-size:18px!important;
  color:var(--sade-gold)!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #leaderboard-panel .leaderboard-name{
  font-size:14px!important;
}

/* Onay/kilit simgesi sade görünümde gizli; ödülü alınacak başarımın "Al" düğmesi görünür kalır. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #achievements-panel .achievement-action:not(.achievement-action-claim){
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #achievements-panel .achievement-name{
  font-size:13.5px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #titles-panel .market-card-name{
  font-size:14.5px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#live-event-panel .event-milestone, #codex-panel .codex-milestone){
  justify-content:space-between!important;
}

/* ---------------------------------------------------------------- Profil ve Ayarlar
   Çerçeveli düğmeler yerine oklu sade liste satırları. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#settings-menu .settings-link-btn, #myprofile-panel .v157-context-actions .mini-btn, #myprofile-panel #myprofile-skills-btn, #myprofile-panel .guild-leave-btn){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-image:none!important;
  border-bottom:1px solid var(--sade-divider)!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  height:50px!important;
  min-height:0!important;
  width:100%!important;
  padding:0 6px!important;
  margin:0!important;
  font-size:14.5px!important;
  text-align:left!important;
  text-decoration:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#settings-menu .settings-link-btn, #myprofile-panel .v157-context-actions .mini-btn, #myprofile-panel #myprofile-skills-btn, #myprofile-panel .guild-leave-btn)::after{
  content:"›";
  margin-left:auto;
  color:rgba(217,178,92,.7);
  font-size:17px;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu :is(#unseen-account-delete-settings-link){
  color:#e07a7a!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu .unseen-language-setting{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-bottom:1px solid var(--sade-divider)!important;
  min-height:50px!important;
  padding:0 6px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu .unseen-language-setting label{
  width:100%!important;
  font-size:14.5px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu #logout-btn{
  min-height:46px!important;
  margin-top:14px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #myprofile-panel .market-filters{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:stretch!important;
  gap:6px!important;
  padding:8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #myprofile-panel #profile-nickname-input{
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #myprofile-panel #profile-rename-btn{
  flex:none!important;
  width:auto!important;
  padding:0 10px!important;
  margin:0!important;
  font-size:13px!important;
}

/* ---------------------------------------------------------------- Bildirimler
   Okunmamış bildirim solda altın çizgiyle belli olur. "Tümünü Okundu Yap" ve "Okunanları Temizle" yerinde kalır. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #notifications-panel .notification-card.unread{
  border-left:3px solid #e6ba5c!important;
  padding-left:8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #notifications-panel .notification-body b{
  font-size:14px!important;
}

/* ---------------------------------------------------------------- Ekran ekran inceleme düzeltmeleri */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-qty[data-sade-single]{
  display:none!important;
}

/* Envanter kutusunun sağ alt köşesi: +N (kuşanılı kutudaki uc-slot-plus ile aynı yazı) ya da cevher kademesi. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list :is(.inv-item-row-plus, .inv-item-row-tier){
  position:absolute!important;
  right:2px!important;
  bottom:1px!important;
  z-index:2;
  font:800 10px/1 'Unseen Gövde','Pixelify Sans',monospace!important;
  color:#ffd77a!important;
  text-shadow:0 1px 0 #000!important;
  pointer-events:none;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-tier{
  font-size:11px!important;
  letter-spacing:.5px;
}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-tier.gem-tier-4{color:#d9a6ff!important}
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row-tier.gem-tier-5{color:#ff8a8a!important;text-shadow:0 1px 0 #000!important}
/* Cevher yığınında adet sol alta kayar; sağ alt kademeye kalır. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row[data-gem-tier] .inv-item-row-qty{
  right:auto!important;
  left:2px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.quest-claim-btn, .season-claim-btn, .event-claim-btn, .codex-claim-btn):disabled{
  white-space:normal!important;
  max-width:92px!important;
  padding:0!important;
  text-align:right!important;
  font-size:11px!important;
  line-height:1.25!important;
  flex:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #titles-panel .market-buy-btn:disabled{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-image:none!important;
  color:#8d8894!important;
  min-height:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #market-panel :is(.market-section, .market-section-scroll){
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #market-panel .market-summary-card > strong{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel :is(.beta-hub-content, .beta-grid, .beta-hub-header){
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel .beta-shop-line .beta-action-btn{
  min-height:44px!important;
  min-width:64px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel #beta-mail-form::before{
  content:"Yeni Posta";
  font-size:11.5px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--sade-gold);
  padding:6px 4px 0;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #leaderboard-panel .inv-filter-toprow{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  padding:8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#achievements-panel .achievement-card.locked, #season-panel .season-reward:not(.unlocked)){
  opacity:.75!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #regions-panel .region-card.locked{
  opacity:.65!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#settings-menu, #ui-test-more-sheet){
  background:#5e3c2b!important;
}

/* Baygınken: canlanma düğmeleri nötr çerçeveli, basılamayan Hareket Et ("Baygın") sönük. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .scene-revive-btn{
  border:6px solid transparent!important;
  border-image:var(--sade-slot) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  min-height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #move-btn:disabled{
  border-image:var(--sade-quiet) 6 fill / 6px stretch!important;
}

/* ---------------------------------------------------------------- Dar ekran incelemesi (360 piksel) */

html.ui-sade #game-screen#game-screen#game-screen#game-screen #quests-panel .quest-card{
  flex-direction:row!important;
  text-align:left!important;
  gap:8px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #quests-panel .quest-info{
  text-align:left!important;
  min-width:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-buy{
  white-space:nowrap!important;
  letter-spacing:0!important;
  padding:0 2px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu{
  overflow-y:auto!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #settings-menu > *{
  flex:none!important;
}

/* ---------------------------------------------------------------- Denetim düzeltmeleri: hatalar
   "hidden" sınıfı her zaman kazanır: liste satırı kuralı display:flex yazdığı için gizli satırlar
   (ör. yalnızca yöneticiye açılan "Admin Paneli") görünür hale geliyordu. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#settings-menu#settings-menu, #myprofile-panel#myprofile-panel) :is(.settings-link-btn, .mini-btn, .guild-leave-btn).hidden{
  display:none!important;
}

/* Sabit şeritler: sekmeler artık dolgusuz olduğu için şeridin kendisi opak olmalı; yoksa kaydırılan
   içerik arkasından görünür. İkinci sıradaki şerit, 45 piksellik sekme şeridinin tam altına oturur. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.panel-head, .section-tabs, .uc-topbar){
  background-color:#6a4433!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.ui2-quest-tabs, .ui2-market-tabs, .ui3-leaderboard-tabs, .ui3-notification-tabs, .premium-store-categories){
  background-color:#5e3c2b!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.ui2-market-tabs, .premium-store-categories){
  top:95px!important;
}

/* Savaş: yetenek adı iki satıra sığar, seviye ikonun köşesine çıkar; ad kesilmez. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button{
  position:relative!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .btn-label{
  gap:1px!important;
  white-space:normal!important;
  overflow:visible!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .btn-label img{
  width:22px!important;
  height:22px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .skill-v2-hud-copy{
  display:block!important;
  width:100%!important;
  overflow:visible!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .skill-v2-hud-copy b{
  display:block!important;
  white-space:normal!important;
  overflow:visible!important;
  text-align:center!important;
  font-size:9px!important;
  line-height:1.05!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button .skill-v2-hud-copy small{
  position:absolute!important;
  top:0!important;
  right:1px!important;
  font-size:8px!important;
  color:var(--sade-gold)!important;
  text-shadow:0 1px 0 #000!important;
}

/* Envanter: ikonu olmayan (ya da yüklenemeyen) eşya boş kutu kalmaz, adı yuvanın içinde yazar. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row:has(> .inv-item-row-icon:is([src=""], [style*="visibility"])) .inv-item-row-icon{
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row:has(> .inv-item-row-icon:is([src=""], [style*="visibility"])) .inv-item-row-main{
  display:block!important;
  padding:0 2px!important;
  min-width:0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row:has(> .inv-item-row-icon:is([src=""], [style*="visibility"])) :is(.inv-item-row-value, .inv-item-row-botline){
  display:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-row:has(> .inv-item-row-icon:is([src=""], [style*="visibility"])) .inv-item-row-name{
  display:block!important;
  white-space:normal!important;
  text-align:center!important;
  font-size:11px!important;
  line-height:1.15!important;
}

/* Bildirim noktası yuvarlak kalır; Profil'de yazının hemen yanında durur. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.game-panel:not(#move-panel), #settings-menu) .notif-dot{
  border-radius:50%!important;
}

/* Çantada yeni eşya: kare kutunun sağ üst köşesinde. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen #skills-panel #uc-inv-item-list .inv-item-new-dot{
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:9px!important;
  height:9px!important;
  border-radius:50%!important;
  z-index:2;
  pointer-events:none;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #myprofile-panel #myprofile-skills-btn .notif-dot{
  position:static!important;
  flex:none!important;
  width:8px!important;
  height:8px!important;
}

/* Dünya Bossu: 22.10'dan beri düğme sağ alta sabit değil (akışta en altta, style.css #worldboss-list); açıklama tam genişlik, boss görseli sağa akar. */

/* ---------------------------------------------------------------- Denetim düzeltmeleri: tutarlılık
   Tek sekme yazısı, tek düğme yazısı, en az 11 piksel yazı ve en az 44 piksel dokunma alanı. */

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.section-tab, .ui2-tab, .ui3-tab, :where(.season-tabs) .mini-btn, .premium-category-btn, .chat-tab-btn){
  font-family:'Unseen Gövde','Pixelify Sans',monospace!important;
  font-size:12.5px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-v2-tabs button{
  font-family:'Unseen Gövde','Pixelify Sans',monospace!important;
  font-size:12.5px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
}

/* Sohbet kanalları öteki sekmelerle aynı görünür. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .chat-tab-btn{
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  border-bottom:2px solid transparent!important;
  min-height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .chat-tab-btn.active{
  border-bottom:2px solid var(--sade-gold)!important;
  color:#f0d28a!important;
}

/* Mağaza kategorileri: beş sekme dar ekrana sığsın diye ikon üstte, ad altta. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen .premium-category-btn{
  flex:1 1 0!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  padding:0 2px!important;
  font-size:11px!important;
  min-height:48px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.shop-buy-btn, .market-buy-btn, .market-cancel-btn, .market-filter-reset, .quest-claim-btn, .season-claim-btn, .event-claim-btn, .codex-claim-btn, .region-select-btn, .premium-product-buy, .beta-action-btn, .guild-leave-btn, .attack-btn, .craft-btn, .legendary-select-btn, .onboarding-action-btn, .notification-read-btn, :where(.notifications-toolbar, .v157-context-actions) .mini-btn, :where(.guild-form, .chat-form) button, .link-btn){
  font-family:'Unseen Gövde','Pixelify Sans',monospace!important;
  font-size:13px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  min-height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#logout-btn, #close-settings-btn){
  font-family:'Unseen Gövde','Pixelify Sans',monospace!important;
  font-size:13px!important;
  font-weight:600!important;
  min-height:44px!important;
}

/* Sınıf adı yüzünden yeşil ya da kırmızı görünen sıradan düğmeler nötr renge döner. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#vault-deposit-btn, #vault-withdraw-btn, #feedback-submit-btn, #party-create-btn){
  color:#e8dcc0!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(.guild-form) button:not(.hidden){
  border:6px solid transparent!important;
  border-image:var(--sade-move) 6 fill / 6px stretch!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  image-rendering:pixelated;
  color:#f3e3b5!important;
}

/* İkincil yazılar: açıklama, tarih, ödül ve durum satırları en az 11 piksel. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(.game-panel:not(#move-panel, #skills-panel)) :is(p, small, summary, label, .region-desc, .region-level, .region-lock-note, .quest-meta, .market-card-meta, .market-card-class, .craft-desc, .craft-meta, .premium-store-status, .premium-rarity, .premium-product-requirement, .worldboss-reward-note, .chronos-store-desc, .chronos-store-cost, .leaderboard-meta, .achievement-desc, .achievement-meta, .bonus-hour-note, .event-time-left, .daily-reward-body, .feedback-meta, .legendary-desc, .beta-muted, .beta-chapter-reward, .chat-time, :where(.codex-milestone, .achievement-summary-card, .beta-stat-row) span){
  font-size:11.5px!important;
  line-height:1.35!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(.game-panel:not(#move-panel)) :is(.market-card-name, .market-card-price, .chronos-store-name, .legendary-name, :where(.event-milestone, .season-reward-body, .beta-stat-row) b, :where(.codex-milestone) strong, .season-level){
  font-size:13px!important;
  line-height:1.25!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(.game-panel:not(#move-panel)) :is(#chat-messages li, .chat-name){
  font-size:12.5px!important;
  line-height:1.4!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen .game-panel:not(#move-panel) :is(.notification-body p, .beta-mail p){
  font-family:'Unseen Gövde','Pixelify Sans',monospace!important;
  font-size:12px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#notifications-summary, #weekly-reset-text, #premium-store-count){
  font-size:11px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(#beta-hub-panel[data-feature="arena"]) b{
  font-size:12.5px!important;
}

/* Yazı kutuları: ipucu ve girilen yazı okunur boyda. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :where(.game-panel:not(#move-panel)) :is(input:not([type="checkbox"]), textarea, select){
  font-size:13px!important;
}

/* Küçük dokunma alanları: açılır listeler, yazı kutuları ve işaret kutuları. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(#settings-menu select, #beta-hub-panel select, #beta-hub-panel input:not([type="checkbox"])){
  min-height:44px!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen #beta-hub-panel input[type="checkbox"]{
  width:22px!important;
  height:22px!important;
  accent-color:var(--sade-gold);
}

/* Görünümü değişmeden dokunma alanı büyüyen küçük düğmeler. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.ui2-panel-close, .uc-close-btn, .uc-stat-open-btn, .uc-detail-btn, .onboarding-close-btn){
  overflow:visible!important;
}

/* Yalnızca akışta duran düğmeler; diğerleri zaten absolute, konumları değişmemeli. */
html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.uc-close-btn, .onboarding-close-btn){
  position:relative!important;
}

html.ui-sade #game-screen#game-screen#game-screen#game-screen :is(.ui2-panel-close, .uc-close-btn, .uc-stat-open-btn, .uc-detail-btn, .onboarding-close-btn)::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:44px;
  height:44px;
  transform:translate(-50%, -50%);
}

/* ---------------------------------------------------------------- Dar ekran
   Satır kırılmadan önce küçülme olmadığı için dar telefonlarda taban genişlikler düşürülür;
   üç yetenek, Saldır ve Kaç 360 piksellik ekranda tek satırda kalır. */

@media (max-width:380px){
  html.ui-sade #game-screen#game-screen#game-screen#game-screen #skill-btn-row > button{
    flex-basis:54px!important;
  }
  html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-attack-btn{
    flex-basis:96px!important;
    min-width:96px!important;
  }
  html.ui-sade #game-screen#game-screen#game-screen#game-screen #scene-flee-btn{
    flex-basis:44px!important;
  }
  html.ui-sade #game-screen#game-screen#game-screen#game-screen #ui-test-more-sheet .ui-test-more-action{
    font-size:12.5px!important;
    gap:8px!important;
  }
  html.ui-sade #game-screen#game-screen#game-screen#game-screen #premium-store-panel .premium-product-buy{
    font-size:11px!important;
  }
}
