/* Altın tema — tek kaynak.
   Eski "gold frame restore" script'inin her DOM değişikliğinde elle yazdığı stillerin statik karşılığı.
   Renkler yalnızca burada tanımlanır; yeni bileşenler bu değişkenleri kullanmalı. */
#game-screen{
  --theme-gold:#8f6b2d;
  --theme-gold-hi:#d2a64d;
}

/* Not: eski katmanlardaki yüksek öncelikli kuralları geçebilmek için seçici bilinçli olarak
   #game-screen kimliğini üç kez tekrarlar. Bileşenler tek tek sadeleştirildikçe bu kalkacak. */

/* Çerçeveler */
#game-screen#game-screen#game-screen :is(
  .global-level-wrap,
  .global-level-badge,
  .global-currencies > span,
  .beta96-home-region,
  .beta96-home-quick-btn,
  .scene-move-btn,
  .scene-attack-btn,
  .scene-flee-btn,
  .scene-revive-btn,
  #skill-btn-row .scene-skill-btn,
  .beta96-home-log-shell,
  .beta96-home-log-tabs,
  .hud-wrapper,
  .hud-panel,
  .hud-potion-slot,
  .hud-full-heal-slot,
  .hud-icon-btn,
  .ui-test-nav,
  .ui-test-nav-btn,
  .settings-menu,
  .ui-test-more-sheet,
  .ui-test-more-action,
  .uc-topbar,
  .uc-frame,
  .uc-section-title,
  .uc-equip-slot,
  .uc-character-pedestal,
  .uc-stat-open-btn,
  .uc-detail-btn,
  .uc-stat-row,
  .uc-stat-progress-row,
  .uc-stat-cell,
  .uc-inventory-panel,
  .uc-inventory-filters,
  .inv-filter-toggle-btn,
  .uc-stat-allocation-overlay,
  .uc-stat-allocation-head,
  .uc-stat-points-banner,
  .uc-attribute-row,
  .uc-stat-step,
  .uc-stat-reset-btn,
  .uc-stat-confirm-btn,
  .uc-stat-guaranteed-actions,
  .uc-stat-guaranteed-actions button,
  .ui-test-skill-summary,
  .ui-test-scroll-count,
  .ui-test-skill-card,
  .ui-test-skill-icon,
  .ui-test-upgrade,
  .ui2-panel-close,
  .ui2-quest-tabs,
  .ui2-market-tabs,
  .ui2-social-tabs,
  .ui2-tab,
  .quest-card,
  .quest-progress-bar,
  .market-section,
  .market-card,
  .market-filters,
  .market-buy-btn,
  .quest-claim-btn,
  .premium-store-hero,
  .premium-store-categories,
  .premium-category-btn,
  .premium-product-card,
  .premium-product-buy,
  .guild-info-box,
  .guild-donate-box,
  .guild-boss-card,
  .guild-boss-locked,
  .guild-member-row,
  .ui3-notification-tabs,
  .ui3-leaderboard-tabs,
  .ui3-tab,
  .notification-card,
  .notification-icon,
  .notification-read-btn,
  .leaderboard-row,
  .profile-box,
  .worldboss-reward-box,
  .wiki-section,
  .chronos-store-card,
  .region-card,
  .region-select-btn,
  .pvp-duel-mode,
  .pvp-duel-box,
  .pvp-duel-side,
  .monster-hp-bar-static,
  .pvp-duel-log,
  .beta-hub-header,
  .beta-card,
  .beta-list-row
){border-color:var(--theme-gold)!important}

/* Kenarlığı olan tüm form elemanları */
#game-screen#game-screen#game-screen :is(button,input,select,textarea){border-color:var(--theme-gold)!important}

/* Aktif sekme vurgusu */
#game-screen#game-screen#game-screen :is(
  .ui-test-nav-btn.active,
  .ui2-tab.active,
  .ui3-tab.active,
  .premium-category-btn.active,
  .beta96-home-log-tabs .active
){box-shadow:inset 0 -2px 0 var(--theme-gold-hi)!important}

/* İkonlar doğal renginde kalır */
#game-screen#game-screen#game-screen :is(
  .beta96-quick-icon,
  .beta96-home-region img,
  .hud-icon-img,
  .ui-test-nav-btn img,
  .ui-test-more-action img,
  .btn-icon-img,
  .stat-icon-img,
  .hud-potion-slot img,
  .global-currencies img,
  img[src*="hud-v3-"]
){filter:none!important;-webkit-filter:none!important}

/* Stat dağıtımı onay çubuğu */
#game-screen #uc-stat-guaranteed-actions{background:#5e3c2b;border-top:1px solid var(--theme-gold)}
#game-screen #uc-stat-guaranteed-actions button{
  background:linear-gradient(180deg,#6a4433,#5e3c2b)!important;
  color:#e9d9ae!important;font-weight:800;letter-spacing:.4px;border-radius:8px;
}
#game-screen #uc-stat-guaranteed-confirm:not(:disabled){
  background:linear-gradient(180deg,#b88a37,#7d5c22)!important;color:#14100a!important;
}
#game-screen #uc-stat-guaranteed-actions button:disabled{opacity:.45}

/* Ana sahne üstündeki bölge etiketi ve kısayollar */
#game-screen .beta96-home-region,
#game-screen .beta96-home-quick-btn{background:rgba(70,40,30,0.8)!important}
#game-screen .onboarding-card.onboarding-overlay{border-color:var(--theme-gold)!important}

/* Enerji çubuğu mavi kalır: kırmızı can çubuğundan net ayrılır */
#game-screen#game-screen :is(.hud-energy-fill,#hud-energy-fill){background:linear-gradient(90deg,#2d80b6,#68cfff)!important;box-shadow:none!important}
