/* Oyun Fikri Borsası — desktop-only presentation layer.
   Loaded only when the viewport is wider than 800px.
   Mobile camera, artwork and viewport rules live in mobile.css. */

@media (min-width: 801px) {
  .night-theme .tree-art { filter: brightness(.68) saturate(.86) contrast(1.12) sepia(.03) hue-rotate(8deg) !important; }
  
    .night-door-art { position: absolute !important; inset: 0 !important; z-index: 4 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: 42% center !important; pointer-events: none !important; user-select: none !important; filter: none !important; clip-path: ellipse(8% 15% at 38% 72%) !important; -webkit-mask-image: radial-gradient(ellipse 8% 15% at 38% 72%, #000 0 48%, rgba(0,0,0,.82) 64%, transparent 100%) !important; mask-image: radial-gradient(ellipse 8% 15% at 38% 72%, #000 0 48%, rgba(0,0,0,.82) 64%, transparent 100%) !important; }
  
    .night-sky-effects { position: absolute !important; inset: 0 !important; z-index: 3 !important; pointer-events: none !important; background: radial-gradient(circle at 81.5% 50%, rgba(220,232,247,.11) 0, rgba(156,185,219,.055) 16%, rgba(20,31,46,0) 40%), radial-gradient(ellipse at 42% 78%, rgba(56,86,122,.08) 0, rgba(11,29,47,0) 40%), linear-gradient(180deg, rgba(3,10,28,.32) 0, rgba(4,20,28,.18) 42%, rgba(2,10,18,.46) 100%) !important; }
  
    .night-sky-effects::after { content: ""; position: absolute !important; left: 54% !important; top: 49% !important; width: 35% !important; height: 43% !important; transform: translate(-50%,-50%) rotate(-12deg) !important; border-radius: 50% !important; background: radial-gradient(ellipse, rgba(172,204,242,.06) 0, rgba(124,163,215,.028) 34%, transparent 72%) !important; filter: blur(17px) !important; mix-blend-mode: screen !important; }
  
    .moon-sky-clear { position: absolute !important; left: 81.5% !important; top: 50% !important; width: clamp(180px,21vw,300px) !important; height: clamp(110px,16vw,210px) !important; transform: translate(-50%,-50%) !important; border-radius: 50% !important; z-index: 1 !important; pointer-events: none !important; background: radial-gradient(ellipse at 50% 50%, rgba(220,232,247,.09) 0, rgba(156,185,219,.045) 34%, rgba(98,129,166,.018) 64%, transparent 100%) !important; filter: blur(30px) !important; opacity: .26 !important; }
  
    .star-field { position: absolute !important; inset: 0 !important; z-index: 2 !important; pointer-events: none !important; clip-path: polygon(0 0,100% 0,100% 78%,0 78%) !important; opacity: .48 !important; background-image: radial-gradient(circle at 6% 15%, rgba(231,240,255,.82) 0 .6px, transparent 1.5px), radial-gradient(circle at 13% 10%, rgba(201,222,249,.55) 0 .45px, transparent 1.4px), radial-gradient(circle at 18% 26%, rgba(235,243,255,.68) 0 .55px, transparent 1.5px), radial-gradient(circle at 25% 17%, rgba(204,225,249,.58) 0 .45px, transparent 1.4px), radial-gradient(circle at 32% 8%, rgba(242,247,255,.76) 0 .65px, transparent 1.6px), radial-gradient(circle at 37% 22%, rgba(188,215,244,.5) 0 .45px, transparent 1.4px), radial-gradient(circle at 43% 13%, rgba(225,238,255,.72) 0 .55px, transparent 1.5px), radial-gradient(circle at 50% 28%, rgba(194,218,247,.54) 0 .45px, transparent 1.4px), radial-gradient(circle at 56% 11%, rgba(241,246,255,.82) 0 .65px, transparent 1.6px), radial-gradient(circle at 62% 19%, rgba(207,226,249,.6) 0 .5px, transparent 1.4px), radial-gradient(circle at 68% 7%, rgba(228,240,255,.72) 0 .55px, transparent 1.5px), radial-gradient(circle at 74% 25%, rgba(190,216,244,.52) 0 .45px, transparent 1.4px), radial-gradient(circle at 80% 14%, rgba(241,246,255,.78) 0 .6px, transparent 1.5px), radial-gradient(circle at 87% 9%, rgba(211,230,251,.6) 0 .5px, transparent 1.4px), radial-gradient(circle at 94% 21%, rgba(236,243,255,.76) 0 .55px, transparent 1.5px), radial-gradient(circle at 11% 42%, rgba(192,216,244,.42) 0 .45px, transparent 1.4px), radial-gradient(circle at 28% 48%, rgba(228,239,255,.54) 0 .5px, transparent 1.5px), radial-gradient(circle at 47% 39%, rgba(203,224,248,.46) 0 .45px, transparent 1.4px), radial-gradient(circle at 64% 49%, rgba(232,242,255,.56) 0 .5px, transparent 1.5px), radial-gradient(circle at 91% 44%, rgba(203,225,249,.44) 0 .45px, transparent 1.4px) !important; }
  
    .star-field::before { content: ""; position: absolute !important; inset: 0 !important; opacity: .42 !important; background-image: radial-gradient(circle at 4% 33%, rgba(224,237,255,.55) 0 .35px, transparent 1.2px), radial-gradient(circle at 22% 38%, rgba(184,211,241,.48) 0 .35px, transparent 1.2px), radial-gradient(circle at 40% 34%, rgba(232,242,255,.5) 0 .4px, transparent 1.25px), radial-gradient(circle at 54% 45%, rgba(189,216,244,.44) 0 .35px, transparent 1.2px), radial-gradient(circle at 72% 36%, rgba(224,237,255,.52) 0 .4px, transparent 1.25px), radial-gradient(circle at 83% 42%, rgba(192,218,246,.46) 0 .35px, transparent 1.2px), radial-gradient(circle at 97% 35%, rgba(229,241,255,.48) 0 .4px, transparent 1.25px) !important; }
  
    .star-field::after { content: ""; position: absolute !important; inset: 0 !important; opacity: .62 !important; background-image: radial-gradient(circle at 15% 18%, rgba(247,250,255,.9) 0 1px, rgba(207,225,251,.25) 1.5px, transparent 4px), radial-gradient(circle at 46% 16%, rgba(245,249,255,.86) 0 .9px, rgba(205,224,250,.22) 1.4px, transparent 3.8px), radial-gradient(circle at 69% 23%, rgba(244,249,255,.9) 0 1px, rgba(205,225,250,.24) 1.5px, transparent 4px), radial-gradient(circle at 90% 13%, rgba(246,250,255,.84) 0 .9px, rgba(204,225,250,.2) 1.4px, transparent 3.8px) !important; }
  
    .moonlight-haze { z-index: 3 !important; }
  
    img.moon-orb { position: absolute !important; left: 81.5% !important; top: 50% !important; z-index: 4 !important; width: clamp(30px,3vw,44px) !important; height: clamp(30px,3vw,44px) !important; transform: translate(-50%,-50%) !important; border-radius: 50% !important; object-fit: contain !important; object-position: center !important; background: transparent !important; opacity: .76 !important; mix-blend-mode: normal !important; filter: saturate(.82) contrast(1.02) brightness(.74) drop-shadow(0 0 4px rgba(204,220,238,.18)) !important; pointer-events: none !important; user-select: none !important; }

  /* Desktop viewport and scene lock. */
  html,
  body,
  #root {
    width: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .world-app {
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
  }

  .world-stage {
    position: absolute !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
    scroll-behavior: auto !important;
  }

  .world-stage,
  .world-stage .scene-plane,
  .world-stage .tree-art,
  .world-stage .night-sky-effects,
  .world-stage .night-door-art {
    transition: none !important;
  }

  .world-stage .scene-plane {
    min-height: 0 !important;
  }

  .world-stage .tree-art,
  .world-stage .night-door-art {
    transform: none !important;
    transform-origin: 50% 50% !important;
    object-position: 42% center !important;
  }

  /* Final desktop night presentation: no extra camera zoom or image filter. */
  .night-theme .world-stage,
  .night-theme .scene-plane,
  .night-theme .tree-art {
    zoom: 1 !important;
    scale: 1 !important;
    transform: none !important;
    transform-origin: 50% 50% !important;
  }

  .scene-backdrop,
  .night-theme .scene-backdrop {
    filter: none !important;
    transform: none !important;
  }

  .tree-art,
  .night-theme .tree-art {
    image-rendering: auto !important;
  }

  .night-theme .tree-art {
    filter: none !important;
    backface-visibility: hidden !important;
  }

  .night-theme .night-sky-effects {
    background: transparent !important;
  }

  .night-theme .night-sky-effects::before,
  .night-theme .night-sky-effects::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  .night-theme .star-field,
  .night-theme .moon-sky-clear,
  .night-theme .moon-orb,
  .night-theme .moonlight-haze,
  .night-theme .night-door-art,
  .night-theme .tree-glow {
    display: none !important;
  }

  .night-theme .scene-vignette {
    opacity: .20 !important;
    filter: none !important;
  }

  .night-theme .world-stage .tree-art {
    object-position: 42% 50% !important;
    filter: none !important;
    image-rendering: auto !important;
  }
  /* Desktop camera lock: day and night must share one viewport box. */
  html,
  body,
  #root {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  body,
  #root {
    position: fixed !important;
    inset: 0 !important;
  }

  .world-app {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .world-stage,
  .world-stage .scene-plane,
  .world-stage .tree-art {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .world-stage {
    position: absolute !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  .world-stage .scene-plane {
    position: absolute !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .world-stage .tree-art,
  .night-theme .world-stage .tree-art {
    position: absolute !important;
    object-fit: cover !important;
    object-position: 42% 50% !important;
    transform: none !important;
    transform-origin: 50% 50% !important;
  }


  /* Desktop panel controls: smaller translucent amber-orange glass. */
  .theme-panel .panel-bar .panel-control,
  .entry-gate-card .entry-panel-control {
    width: 50px !important;
    height: 50px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 201, 126, .82) !important;
    border-radius: 50% !important;
    color: #fff0d1 !important;
    background: linear-gradient(145deg, rgba(255, 176, 78, .52) 0%, rgba(150, 58, 15, .48) 100%) !important;
    box-shadow: 0 5px 13px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 239, 198, .32), 0 0 13px rgba(247, 137, 40, .24) !important;
    -webkit-backdrop-filter: blur(6px) saturate(1.12) !important;
    backdrop-filter: blur(6px) saturate(1.12) !important;
  }

  .theme-panel .panel-bar .panel-control svg,
  .entry-gate-card .entry-panel-control svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.2 !important;
  }

  .theme-panel .panel-bar .panel-control:hover,
  .theme-panel .panel-bar .panel-control:focus-visible,
  .entry-gate-card .entry-panel-control:hover,
  .entry-gate-card .entry-panel-control:focus-visible {
    color: #fff8e9 !important;
    background: linear-gradient(145deg, rgba(255, 196, 104, .68) 0%, rgba(188, 72, 18, .62) 100%) !important;
    border-color: rgba(255, 219, 157, .96) !important;
    box-shadow: 0 7px 16px rgba(0, 0, 0, .44), inset 0 1px rgba(255, 247, 221, .46), 0 0 16px rgba(255, 147, 45, .34) !important;
    outline: none !important;
  }

  .theme-panel .panel-bar .panel-control:active,
  .entry-gate-card .entry-panel-control:active {
    transform: scale(.95) !important;
  }

  .entry-gate-card .entry-panel-control {
    width: 48px !important;
    height: 48px !important;
  }

  .entry-gate-card .entry-panel-control svg {
    width: 21px !important;
    height: 21px !important;
  }

  /* Desktop nested panels: keep the previous island context left and the active panel centered. */
  .desktop-parent-panel {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 50% !important;
    right: auto !important;
    left: max(24px, calc(50% - 640px)) !important;
    translate: 0 -50% !important;
    transform: none !important;
    width: min(24vw, 340px) !important;
    max-width: min(24vw, 340px) !important;
    min-height: min(430px, calc(100dvh - 64px)) !important;
    max-height: calc(100dvh - 48px) !important;
    box-sizing: border-box !important;
    gap: 12px !important;
    padding: 24px !important;
    color: #f5ead5 !important;
    background: linear-gradient(165deg, rgba(23, 43, 32, .79), rgba(7, 18, 13, .82) 78%) !important;
    border: 1px solid rgba(225, 184, 117, .66) !important;
    border-radius: 20px !important;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .80), 0 1px rgba(255, 255, 255, .16) inset, 0 0 42px rgba(196, 134, 58, .16) !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.05) !important;
    backdrop-filter: blur(10px) saturate(1.05) !important;
    pointer-events: auto !important;
  }

  .desktop-parent-panel .desktop-parent-kicker {
    color: #e2bd7a !important;
    font-size: .64rem !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
  }

  .desktop-parent-heading h2 {
    margin: 0 !important;
    color: #f7dfb2 !important;
    font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
    line-height: 1.15 !important;
  }

  .desktop-parent-heading p {
    margin: 0 !important;
    color: rgba(245, 234, 213, .78) !important;
    line-height: 1.55 !important;
  }

  .desktop-parent-note {
    padding: 12px 14px !important;
    border-left: 2px solid rgba(238, 192, 111, .60) !important;
    color: rgba(245, 234, 213, .74) !important;
    background: rgba(238, 192, 111, .07) !important;
    font-size: .76rem !important;
    line-height: 1.45 !important;
  }

  .desktop-parent-panel .desktop-parent-return {
    align-self: flex-start !important;
    min-height: 44px !important;
    margin-top: auto !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 193, 108, .72) !important;
    border-radius: 999px !important;
    color: #fff0d1 !important;
    background: linear-gradient(145deg, rgba(255, 176, 78, .38), rgba(150, 58, 15, .36)) !important;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .46), inset 0 1px rgba(255, 255, 255, .16) !important;
    cursor: pointer !important;
    font: inherit !important;
    font-weight: 700 !important;
  }

  .desktop-parent-panel .desktop-parent-return:hover,
  .desktop-parent-panel .desktop-parent-return:focus-visible {
    color: #fff8e9 !important;
    background: linear-gradient(145deg, rgba(255, 196, 104, .58), rgba(188, 72, 18, .52)) !important;
    border-color: rgba(255, 219, 157, .96) !important;
    outline: none !important;
  }

  body:has(.desktop-parent-panel) .theme-panel[data-slot="dialog-content"] {
    left: calc(50% + 36px) !important;
    right: auto !important;
    width: min(46vw, 620px) !important;
    max-width: min(46vw, 620px) !important;
    translate: -50% -50% !important;
    transform: none !important;
  }


  .desktop-parent-ideas {
    display: grid !important;
    gap: 8px !important;
    min-height: 0 !important;
    max-height: 190px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 3px !important;
  }

  .desktop-parent-idea {
    display: grid !important;
    gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(214, 179, 116, .30) !important;
    border-radius: 11px !important;
    color: #f4ead8 !important;
    background: rgba(5, 18, 12, .42) !important;
    text-align: left !important;
    cursor: pointer !important;
    font: inherit !important;
  }

  .desktop-parent-idea:hover,
  .desktop-parent-idea:focus-visible {
    border-color: rgba(238, 192, 111, .72) !important;
    background: rgba(62, 51, 27, .48) !important;
    outline: none !important;
  }

  .desktop-parent-idea strong {
    overflow: hidden !important;
    color: #f8dfad !important;
    font-size: .78rem !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .desktop-parent-idea small {
    overflow: hidden !important;
    color: rgba(245, 234, 213, .68) !important;
    font-size: .68rem !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .desktop-parent-empty {
    padding: 10px 12px !important;
    color: rgba(245, 234, 213, .62) !important;
    border: 1px dashed rgba(214, 179, 116, .28) !important;
    border-radius: 11px !important;
    font-size: .74rem !important;
  }

  .desktop-parent-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important;
  }

  .desktop-parent-actions .desktop-parent-action,
  .desktop-parent-actions .desktop-parent-return {
    flex: 1 1 0 !important;
    min-height: 44px !important;
    margin-top: 0 !important;
  }

  .desktop-parent-actions .desktop-parent-action {
    padding: 0 14px !important;
    border: 1px solid rgba(214, 179, 116, .55) !important;
    border-radius: 999px !important;
    color: #f9e7c2 !important;
    background: rgba(9, 30, 19, .74) !important;
    cursor: pointer !important;
    font: inherit !important;
    font-weight: 700 !important;
  }

  .desktop-parent-actions .desktop-parent-action:hover,
  .desktop-parent-actions .desktop-parent-action:focus-visible {
    border-color: rgba(255, 219, 157, .95) !important;
    color: #fff8e9 !important;
    background: rgba(68, 52, 25, .72) !important;
    outline: none !important;
  }

  /* The left desktop tab keeps the real panel body, not a summary card. */
  .desktop-parent-heading {
    display: grid !important;
    flex: 0 0 auto !important;
    gap: 8px !important;
  }

  .desktop-parent-panel > .panel-content {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .desktop-parent-panel > .panel-content .panel-actions {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }

  .desktop-parent-panel > .panel-content .idea-list {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .desktop-parent-footer {
    display: flex !important;
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }

  .desktop-parent-footer .desktop-parent-return {
    min-height: 40px !important;
    margin-top: 0 !important;
  }

}

@media (min-width: 801px) {
  .category-guide,
  .category-context {
    display: grid !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }
  .category-guide-heading {
    display: grid !important;
    gap: 3px !important;
    padding: 0 2px !important;
  }
  .category-guide-heading strong {
    color: #f1dfbd !important;
    font-size: .86rem !important;
    letter-spacing: .035em !important;
  }
  .category-guide-heading span {
    color: rgba(224, 232, 225, .74) !important;
    font-size: .72rem !important;
    line-height: 1.35 !important;
  }
  .category-guide-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .category-guide-card {
    display: grid !important;
    gap: 7px !important;
    min-width: 0 !important;
    padding: 10px !important;
    background: rgba(7, 20, 14, .52) !important;
    border: 1px solid rgba(220, 176, 102, .28) !important;
    border-radius: 12px !important;
  }
  .category-guide-world {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    padding: 0 !important;
    color: #f5e1bb !important;
    background: transparent !important;
    border: 0 !important;
    text-align: left !important;
    cursor: pointer !important;
    font: inherit !important;
  }
  .category-guide-world:hover,
  .category-guide-world:focus-visible {
    color: #ffe1a0 !important;
    outline: none !important;
  }
  .category-guide-world small,
  .category-context-label,
  .category-guide-tags > small {
    color: #d0a766 !important;
    letter-spacing: .1em !important;
    font-size: .57rem !important;
    font-weight: 800 !important;
  }
  .category-guide-world strong {
    overflow-wrap: anywhere !important;
    font-size: .82rem !important;
  }
  .category-guide-world span {
    color: rgba(224, 232, 225, .66) !important;
    font-size: .65rem !important;
    line-height: 1.25 !important;
  }
  .category-guide-tags,
  .category-context-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    min-width: 0 !important;
  }
  .category-tag {
    min-height: 26px !important;
    padding: 3px 8px !important;
    color: #e8c47f !important;
    background: rgba(101, 70, 35, .26) !important;
    border: 1px solid rgba(199, 155, 93, .42) !important;
    border-radius: 999px !important;
    cursor: pointer !important;
    font: inherit !important;
    font-size: .66rem !important;
    line-height: 1.1 !important;
  }
  .category-tag:hover,
  .category-tag:focus-visible,
  .category-tag.selected {
    color: #fff0c9 !important;
    background: rgba(113, 78, 38, .62) !important;
    border-color: rgba(238, 192, 111, .82) !important;
    outline: none !important;
  }
  .category-context {
    gap: 6px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    padding: 9px 10px !important;
    background: rgba(7, 20, 14, .45) !important;
    border: 1px solid rgba(220, 176, 102, .24) !important;
    border-radius: 11px !important;
  }
}

@media (min-width: 801px) {
  /* Motion setting: make full effects clearly visible without moving the camera, zoom, or frame. */
  @keyframes ofb-tree-glow-breathe {
    0%, 100% { opacity: .20; filter: brightness(.85) saturate(.80); }
    50% { opacity: 1; filter: brightness(1.55) saturate(1.35); }
  }

  html:not(.reduce-motion) .tree-glow {
    animation: ofb-tree-glow-breathe 4s ease-in-out infinite !important;
    will-change: opacity, filter !important;
  }

  html.reduce-motion .tree-glow,
  html.reduce-motion .upcoming-island-label,
  html.reduce-motion .explore-hint,
  html.reduce-motion .selection-toast {
    animation: none !important;
    will-change: auto !important;
    filter: none !important;
  }
}

/* Search cleanup: keep the search controls, but remove the category guide beneath them. */
.category-guide {
  display: none !important;
}

/* Category labels in world panels are informational, not interactive controls. */
.category-context .category-tag,
.category-context .category-tag:hover,
.category-context .category-tag:focus,
.category-context .category-tag:focus-visible {
  cursor: default !important;
  pointer-events: none !important;
}


@media (min-width: 801px) {
  .category-tags-field {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 10px 11px !important;
    border: 1px solid rgba(220, 176, 102, .26) !important;
    border-radius: 11px !important;
    background: rgba(7, 20, 14, .34) !important;
  }
  .category-tags-field legend {
    padding: 0 4px !important;
    color: #e8d6b3 !important;
    font-size: .75rem !important;
    font-weight: 800 !important;
  }
  .category-tags-field legend small {
    color: rgba(224, 232, 225, .58) !important;
    font-size: .66rem !important;
    font-weight: 500 !important;
  }
  .category-tag-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    min-width: 0 !important;
    margin-top: 3px !important;
  }
  .category-tag-option {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 30px !important;
    padding: 5px 8px !important;
    color: #dce8dc !important;
    background: rgba(4, 12, 17, .55) !important;
    border: 1px solid rgba(181, 201, 194, .26) !important;
    border-radius: 9px !important;
    cursor: pointer !important;
    font-size: .7rem !important;
  }
  .category-tag-option input {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    accent-color: #e8bd73 !important;
  }
  .category-tag-option:has(input:checked) {
    color: #ffe0a1 !important;
    background: rgba(92, 63, 29, .58) !important;
    border-color: rgba(238, 192, 111, .7) !important;
  }
  .category-tag-option:has(input:disabled:not(:checked)) {
    opacity: .45 !important;
    cursor: default !important;
  }
}

/* Desktop avatar picker: keep the nested selector inside the active profile panel. */
@media (min-width: 801px) {
  .avatar-library-in-panel {
    padding: 12px !important;
    overflow: hidden !important;
  }

  .avatar-library-in-panel .avatar-library-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 100% !important;
    min-height: 0 !important;
    padding: 20px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .avatar-library-in-panel .avatar-library-toolbar {
    margin: -20px -20px 16px !important;
    padding: 8px 12px !important;
  }

  .avatar-library-in-panel .avatar-library-grid {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .avatar-library-in-panel .avatar-library-option {
    min-width: 0 !important;
    padding: 10px 6px 9px !important;
  }
}

/* Desktop entry labels: keep short visible names while preserving full accessible labels. */
@media (min-width: 801px) {
  .topbar .explore-button > span,
  .topbar .worlds-button:not(.explore-button) > span {
    font-size: 0 !important;
    white-space: nowrap !important;
  }

  .topbar .explore-button > span::after,
  .topbar .worlds-button:not(.explore-button) > span::after {
    display: inline-block !important;
    font: inherit !important;
    font-size: .78rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .topbar .explore-button > span::after {
    content: "Keşfet";
  }

  .topbar .worlds-button:not(.explore-button) > span::after {
    content: "Menü";
  }

  html[lang="en"] .topbar .explore-button > span::after { content: "Explore"; }
  html[lang="en"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menu"; }

  html[lang="zh-CN"] .topbar .explore-button > span::after { content: "探索"; }
  html[lang="zh-CN"] .topbar .worlds-button:not(.explore-button) > span::after { content: "菜单"; }

  html[lang="es"] .topbar .explore-button > span::after { content: "Explorar"; }
  html[lang="es"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menú"; }

  html[lang="ar"] .topbar .explore-button > span::after { content: "استكشف"; }
  html[lang="ar"] .topbar .worlds-button:not(.explore-button) > span::after { content: "القائمة"; }

  html[lang="de"] .topbar .explore-button > span::after { content: "Entdecken"; }
  html[lang="de"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menü"; }

  html[lang="fr"] .topbar .explore-button > span::after { content: "Explorer"; }
  html[lang="fr"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menu"; }

  html[lang="ja"] .topbar .explore-button > span::after { content: "探索"; }
  html[lang="ja"] .topbar .worlds-button:not(.explore-button) > span::after { content: "メニュー"; }

  html[lang="pt-BR"] .topbar .explore-button > span::after { content: "Explorar"; }
  html[lang="pt-BR"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menu"; }

  html[lang="ru"] .topbar .explore-button > span::after { content: "Исследовать"; }
  html[lang="ru"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Меню"; }

  html[lang="it"] .topbar .explore-button > span::after { content: "Esplora"; }
  html[lang="it"] .topbar .worlds-button:not(.explore-button) > span::after { content: "Menu"; }

  html[lang="ko"] .topbar .explore-button > span::after { content: "탐험"; }
  html[lang="ko"] .topbar .worlds-button:not(.explore-button) > span::after { content: "메뉴"; }

  html[lang="hi"] .topbar .explore-button > span::after { content: "खोजें"; }
  html[lang="hi"] .topbar .worlds-button:not(.explore-button) > span::after { content: "मेन्यू"; }
}

/* entry-legal-links-desktop-balanced-20260919: giriş paneli alt bağlantılarını masaüstünde eşit sütunlara al. */
.entry-gate-card .entry-legal-links {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 6px 8px !important;
  justify-items: center !important;
  align-items: center !important;
}

.entry-gate-card .entry-legal-links button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 4px 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

/* entry-legal-links-hidden-20260919: hukuk ve iletişim bağlantıları menüde bulunduğu için giriş kartında tekrarlanmasın. */
.entry-gate-card .entry-legal-links {
  display: none !important;
  visibility: hidden !important;
  margin: 0 !important;
}

/* essence-indicator-reference-20260920: yüzde göstergesi, tek ilerleme ölçeri ve dengeli eşik sütunları. */
@media (min-width: 801px) {
  .core-progress .milestone-strip {
    gap: 10px !important;
    margin: 0 0 16px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
  }

  .core-progress .milestone-heading {
    display: grid !important;
    grid-template-columns: auto auto minmax(140px, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .core-progress .milestone-heading span {
    font-size: .68rem !important;
    white-space: nowrap !important;
  }

  .core-progress .milestone-heading .essence-value {
    font-size: 1rem !important;
    white-space: nowrap !important;
  }

  .core-progress .essence-meter {
    position: relative !important;
    width: 50% !important;
    min-width: 140px !important;
    justify-self: start !important;
    height: 22px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    border: 2px solid rgba(226, 184, 111, .78) !important;
    border-radius: 999px !important;
    background: rgba(3, 14, 10, .72) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 10px rgba(224,174,91,.16) !important;
  }

  .core-progress .essence-meter-fill {
    position: absolute !important;
    inset: 2px auto 2px 2px !important;
    max-width: calc(100% - 4px) !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #98703b, #efc77e) !important;
  }

  .core-progress .essence-meter-knob {
    position: absolute !important;
    top: 50% !important;
    width: 17px !important;
    height: 17px !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
    border: 2px solid #b99155 !important;
    border-radius: 50% !important;
    background: #26362b !important;
    box-shadow: 0 0 0 2px rgba(7, 18, 12, .86), 0 0 9px rgba(235, 190, 111, .22) !important;
  }

  .core-progress .milestone-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid rgba(220, 176, 102, .28) !important;
  }

  .core-progress .milestone {
    gap: 4px !important;
    min-width: 0 !important;
    padding: 7px 9px 1px !important;
    border-right: 1px solid rgba(220, 176, 102, .24) !important;
    text-align: left !important;
  }

  .core-progress .milestone:last-child {
    border-right: 0 !important;
  }

  .core-progress .milestone-top {
    gap: 4px !important;
  }

  .core-progress .milestone-top strong {
    font-size: .77rem !important;
  }

  .core-progress .milestone-top small {
    font-size: .56rem !important;
  }

  .core-progress .milestone > span {
    font-size: .63rem !important;
    text-align: left !important;
  }
}

/* essence-meter-lock-markers-20260920: Sayısal eşik satırı yerine yüzde çubuğu üstünde kilitler. */
@media (min-width: 801px) {
  .core-progress .essence-meter-lock {
    position: absolute !important;
    top: 50% !important;
    left: 0;
    z-index: 5 !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
  }
  .core-progress .essence-meter-lock-icon {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    display: grid !important;
    place-items: center !important;
    width: 20px !important;
    height: 20px !important;
    transform: translate(-50%, -50%) !important;
    color: #f6d38d !important;
    font-size: .84rem !important;
    line-height: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.8) !important;
  }
  .core-progress .essence-meter-lock-label {
    position: absolute !important;
    top: 15px !important;
    left: 0 !important;
    transform: translateX(-50%) !important;
    color: #e4d0a8 !important;
    font-size: .48rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .03em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.85) !important;
  }
  .core-progress .essence-meter-lock.unlocked .essence-meter-lock-icon {
    filter: drop-shadow(0 0 5px rgba(239,199,126,.72)) !important;
  }
}


/* essence-meter-lock-visibility-20260920-2: Kilitler çubuğun üst kenarında belirgin ve taşmasız görünür. */
@media (min-width: 801px) {
  .core-progress .essence-meter {
    margin-top: 8px !important;
  }

  .core-progress .essence-meter-lock {
    top: 0 !important;
    transform: translateY(0) !important;
  }

  .core-progress .essence-meter-lock-icon {
    width: 24px !important;
    height: 24px !important;
    border: 1px solid rgba(246, 211, 141, .9) !important;
    border-radius: 50% !important;
    background: rgba(7, 19, 14, .96) !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.72), 0 0 8px rgba(239,199,126,.34) !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
    font-size: .92rem !important;
  }
}


/* essence-meter-lock-css-icon-20260920-1: Kilit simgesi emoji yerine CSS ile çizilir. */
@media (min-width: 801px) {
  .core-progress .essence-meter-lock-icon {
    position: relative !important;
    font-size: 0 !important;
  }

  .core-progress .essence-meter-lock-icon::before {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 5px !important;
    width: 10px !important;
    height: 9px !important;
    transform: translateX(-50%) !important;
    border-radius: 2px !important;
    background: #f6d38d !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.6) !important;
  }

  .core-progress .essence-meter-lock-icon::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 3px !important;
    width: 9px !important;
    height: 9px !important;
    transform: translateX(-50%) !important;
    border: 2px solid #f6d38d !important;
    border-bottom: 0 !important;
    border-radius: 9px 9px 0 0 !important;
    box-sizing: border-box !important;
  }

  .core-progress .essence-meter-lock.unlocked .essence-meter-lock-icon::after {
    transform: translateX(-18%) rotate(-28deg) !important;
    transform-origin: left bottom !important;
  }
}


/* essence-meter-legacy-inline-layout-20260920-1: Eski tek satırlı çalışan gösterge düzeni. */
@media (min-width: 801px) {
  .core-progress .essence-meter {
    margin-top: 0 !important;
  }

  .core-progress .essence-meter-lock {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .core-progress .essence-meter-lock-icon {
    width: 20px !important;
    height: 20px !important;
  }
}


/* essence-meter-lock-labels-20260920-1: Kilit başlıkları göstergenin altında dengeli görünür. */
@media (min-width: 801px) {
  .core-progress .milestone-heading {
    padding-bottom: 8px !important;
  }

  .core-progress .essence-meter-lock-label {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: 12px !important;
    color: #e4d0a8 !important;
    font-size: .46rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .02em !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.85) !important;
  }

  .core-progress .essence-meter-lock.lock-arena .essence-meter-lock-label {
    transform: translateX(-28%) !important;
  }

  .core-progress .essence-meter-lock.lock-trendler .essence-meter-lock-label {
    transform: translateX(-50%) !important;
  }

  .core-progress .essence-meter-lock.lock-yatirimci .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }
}


/* essence-meter-lock-labels-spacing-20260920-1: Etiketler birbirine değmeden dengelenir. */
@media (min-width: 801px) {
  .core-progress .essence-meter-lock-label {
    font-size: .42rem !important;
  }

  .core-progress .essence-meter-lock.lock-arena .essence-meter-lock-label {
    transform: translateX(-45%) !important;
  }

  .core-progress .essence-meter-lock.lock-trendler .essence-meter-lock-label {
    transform: translateX(-50%) !important;
  }

  .core-progress .essence-meter-lock.lock-yatirimci .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }
}


/* essence-meter-lock-labels-spacing-20260920-2: Masaüstü etiketleri arasında net boşluk. */
@media (min-width: 801px) {
  .core-progress .essence-meter-lock-label {
    font-size: .38rem !important;
  }
}


/* essence-meter-label-specificity-20260920-1: Genel span yazı kuralı başlıkları ezemez. */
@media (min-width: 801px) {
  .core-progress .milestone-heading span.essence-meter-lock-label {
    font-size: .50rem !important;
  }
}


/* essence-meter-shared-clean-layout-20260920-1: Masaüstünde mobil ile aynı temiz gösterge hiyerarşisi. */
@media (min-width: 801px) {
  .core-progress .milestone-strip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    padding: 14px 16px 19px !important;
  }

  .core-progress .milestone-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "essence-label essence-value"
      "essence-meter essence-meter" !important;
    gap: 9px 14px !important;
    align-items: center !important;
    width: 100% !important;
    padding-bottom: 31px !important;
  }

  .core-progress .milestone-heading > span:first-child {
    grid-area: essence-label !important;
    min-width: 0 !important;
    justify-self: start !important;
    transform: none !important;
    font-size: .72rem !important;
    letter-spacing: .07em !important;
  }

  .core-progress .milestone-heading > .essence-value {
    grid-area: essence-value !important;
    justify-self: end !important;
    transform: none !important;
    font-size: 1.05rem !important;
  }

  .core-progress .milestone-heading > .essence-meter {
    grid-area: essence-meter !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 26px !important;
    margin: 0 !important;
    justify-self: stretch !important;
    flex: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .core-progress .milestone-heading span.essence-meter-lock {
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .core-progress .milestone-heading span.essence-meter-lock-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .core-progress .milestone-heading span.essence-meter-lock > .essence-meter-lock-label {
    top: 20px !important;
    left: 0 !important;
    right: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: .56rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .core-progress .milestone-heading span.essence-meter-lock.lock-arena > .essence-meter-lock-label,
  .core-progress .milestone-heading span.essence-meter-lock.lock-trendler > .essence-meter-lock-label {
    transform: translateX(-50%) !important;
  }

  .core-progress .milestone-heading span.essence-meter-lock.lock-yatirimci > .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }

  .core-progress .milestone-grid {
    display: none !important;
  }
}


/* core-panel-heading-hidden-desktop-20260921-1: Fikir Çekirdeği panelindeki tekrar başlık alanını kaldırır. */
@media (min-width: 801px) {
  .theme-panel:has(.core-panel) > .panel-scroll > .panel-heading {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .theme-panel:has(.core-panel) > .panel-scroll > .panel-content.core-panel {
    margin-top: 0 !important;
  }
}


/* essence-meter-summary-thresholds-20260920-1: Ağaç Özü başlığını yüzdeyle yan yana, eşik adlarını kilitlerin altında düzenler. */
@media (min-width: 801px) {
  .core-progress .milestone-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "essence-summary" "essence-meter" !important;
    gap: 8px !important;
    align-items: center !important;
    padding-bottom: 39px !important;
  }

  .core-progress .milestone-heading > .essence-summary {
    grid-area: essence-summary !important;
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  .core-progress .essence-summary > span:first-child {
    min-width: 0 !important;
    color: #e2bd7a !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .07em !important;
    white-space: nowrap !important;
  }

  .core-progress .essence-summary > .essence-value {
    color: #f6d9a5 !important;
    font-size: 1.08rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .core-progress .milestone-heading > .essence-meter {
    grid-area: essence-meter !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 26px !important;
    margin: 0 !important;
    justify-self: stretch !important;
  }

  .core-progress .essence-meter-lock-label {
    top: 20px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
    min-width: max-content !important;
    text-align: center !important;
    transform: translateX(-50%) !important;
  }

  .core-progress .essence-meter-lock.lock-yatirimci .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }

  .core-progress .essence-meter-lock-threshold {
    display: block !important;
    color: #f2d19a !important;
    font-size: .50rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .core-progress .essence-meter-lock-label > span {
    display: block !important;
    color: #e4d0a8 !important;
    font-size: .56rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .025em !important;
    white-space: nowrap !important;
  }
}


/* essence-meter-numeric-thresholds-hidden-20260920-1: Ana göstergede yalnızca merkez adlarını gösterir. */
@media (min-width: 801px) {
  .core-progress .essence-meter-lock-label {
    display: block !important;
    min-width: max-content !important;
    line-height: 1 !important;
  }

  .core-progress .essence-meter-lock-threshold {
    display: none !important;
  }

  .core-progress .essence-meter-lock-label > span {
    display: block !important;
  }
}


/* essence-panel-premium-layout-20260921-1: Öz göstergesini premium panel hiyerarşisine oturtur. */
@media (min-width: 801px) {
  .core-progress .milestone-strip {
    position: relative !important;
    display: grid !important;
    gap: 0 !important;
    margin: 0 0 16px !important;
    padding: 16px 18px 25px !important;
    border: 1px solid rgba(238, 192, 111, .46) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, rgba(10, 31, 22, .92), rgba(3, 13, 10, .88)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 11px 26px rgba(0,0,0,.30), 0 0 18px rgba(224,174,91,.10) !important;
    overflow: visible !important;
  }

  .core-progress .milestone-heading {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "essence-summary" "essence-meter" !important;
    gap: 10px !important;
    width: 100% !important;
    padding-bottom: 45px !important;
    align-items: center !important;
  }

  .core-progress .milestone-heading > .essence-summary {
    grid-area: essence-summary !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 11px !important;
    min-width: 0 !important;
    color: #f3d7a0 !important;
  }

  .core-progress .essence-summary::before,
  .core-progress .essence-summary::after {
    content: "" !important;
    display: block !important;
    width: 42px !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(239, 199, 126, .75)) !important;
  }

  .core-progress .essence-summary::after {
    background: linear-gradient(90deg, rgba(239, 199, 126, .75), transparent) !important;
  }

  .core-progress .essence-summary > span:first-child {
    color: #e8c888 !important;
    font-size: .70rem !important;
    font-weight: 800 !important;
    letter-spacing: .14em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .core-progress .essence-summary > .essence-value {
    color: #fff0c9 !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-shadow: 0 0 12px rgba(239,199,126,.24) !important;
  }

  .core-progress .milestone-heading > .essence-meter {
    grid-area: essence-meter !important;
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    margin: 0 !important;
    justify-self: stretch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .core-progress .essence-meter::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 13px !important;
    height: 10px !important;
    border: 1px solid rgba(231, 187, 106, .68) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(4, 15, 11, .96), rgba(17, 39, 27, .90)) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.45), 0 0 12px rgba(224,174,91,.12) !important;
  }

  .core-progress .essence-meter-fill {
    position: absolute !important;
    left: 3px !important;
    top: 16px !important;
    bottom: auto !important;
    height: 4px !important;
    max-width: calc(100% - 6px) !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #8c6330, #e7b967 74%, #ffe3a3) !important;
    box-shadow: 0 0 8px rgba(239,199,126,.30) !important;
  }

  .core-progress .essence-meter-knob {
    position: absolute !important;
    top: 18px !important;
    width: 20px !important;
    height: 20px !important;
    transform: translate(-50%, -50%) !important;
    box-sizing: border-box !important;
    border: 3px solid #f1c979 !important;
    border-radius: 50% !important;
    background: #10251a !important;
    box-shadow: 0 0 0 3px rgba(6, 18, 12, .88), 0 0 12px rgba(239,199,126,.34) !important;
  }

  .core-progress .essence-meter-lock {
    top: 0 !important;
    transform: none !important;
  }

  .core-progress .essence-meter-lock-icon {
    width: 27px !important;
    height: 27px !important;
    border: 1px solid rgba(248, 211, 139, .92) !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at 35% 30%, #3a4a35, #0a1b12 72%) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,.60), 0 0 10px rgba(239,199,126,.24) !important;
  }

  .core-progress .essence-meter-lock-label {
    top: 30px !important;
    display: block !important;
    min-width: max-content !important;
    padding: 4px 8px !important;
    border: 1px solid rgba(226, 184, 111, .34) !important;
    border-radius: 999px !important;
    background: rgba(7, 21, 14, .78) !important;
    color: #ead6ad !important;
    font-size: .52rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    line-height: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.82) !important;
  }

  .core-progress .essence-meter-lock-label > span {
    display: block !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
  }

  .core-progress .essence-meter-lock.lock-arena > .essence-meter-lock-label,
  .core-progress .essence-meter-lock.lock-trendler > .essence-meter-lock-label {
    transform: translateX(-50%) !important;
  }

  .core-progress .essence-meter-lock.lock-yatirimci > .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }

  .core-progress .essence-meter-lock.locked .essence-meter-lock-icon {
    opacity: .88 !important;
  }

  .core-progress .essence-meter-lock.unlocked .essence-meter-lock-icon {
    box-shadow: 0 3px 8px rgba(0,0,0,.60), 0 0 15px rgba(239,199,126,.58) !important;
  }
}


/* essence-meter-lock-labels-clean-20260921-1: Arena, Trendler ve Yatırımcı kilit etiketlerini eşit ağırlıkta ve belirgin hizalar. */
@media (min-width: 801px) {
  .core-progress .milestone-heading {
    padding-bottom: 47px !important;
  }

  .core-progress .milestone-heading > .essence-meter {
    height: 40px !important;
  }

  .core-progress .essence-meter-lock-label {
    top: 30px !important;
    width: 84px !important;
    min-width: 84px !important;
    box-sizing: border-box !important;
    display: grid !important;
    place-items: center !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(239, 199, 126, .48) !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(27, 48, 34, .96), rgba(6, 19, 13, .92)) !important;
    color: #ffe9bd !important;
    font-size: .58rem !important;
    font-weight: 900 !important;
    letter-spacing: .10em !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .9) !important;
    box-shadow: inset 0 1px rgba(255,255,255,.10), 0 3px 9px rgba(0,0,0,.36), 0 0 10px rgba(239,199,126,.12) !important;
  }

  .core-progress .essence-meter-lock.lock-arena > .essence-meter-lock-label,
  .core-progress .essence-meter-lock.lock-trendler > .essence-meter-lock-label {
    transform: translateX(-50%) !important;
  }

  .core-progress .essence-meter-lock.lock-yatirimci > .essence-meter-lock-label {
    transform: translateX(-100%) !important;
  }
}

/* Desktop profile panel: remove the redundant title and description block. */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero) .panel-heading {
    display: none !important;
  }
}


/* profile-essence-summary-20260921-1: personal daily and lifetime Essence indicators. */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero) .profile-essence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 6px;
    display: grid;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat {
    background: linear-gradient(145deg, rgba(22, 43, 30, .96), rgba(7, 18, 12, .94));
    border: 1px solid rgba(217, 171, 103, .34);
    border-radius: 14px;
    gap: 5px;
    min-width: 0;
    padding: 13px 14px;
    display: grid;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat small {
    color: #d7aa65;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .09em;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat strong {
    color: #ffda91;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.15;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat span,
  .theme-panel:has(.profile-hero) .profile-essence-note {
    color: #aeb8ab;
    font-size: .72rem;
    line-height: 1.35;
  }

  .theme-panel:has(.profile-hero) .profile-essence-note {
    margin: 4px 0 0;
  }
}


/* profile-panel-redesign-20260921-1: three-card profile hierarchy. */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero),
  .theme-panel[data-slot="dialog-content"]:has(.profile-hero) {
    width: min(620px, calc(100vw - 64px)) !important;
    max-width: min(620px, calc(100vw - 64px)) !important;
  }

  .theme-panel:has(.profile-hero) > .panel-scroll > .panel-content {
    display: grid !important;
    gap: 14px !important;
    padding: 18px 22px 24px !important;
  }

  .theme-panel:has(.profile-hero) .panel-heading {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .theme-panel:has(.profile-hero) .profile-hero {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 18px !important;
    background: linear-gradient(145deg, rgba(23, 49, 34, .96), rgba(7, 19, 13, .94)) !important;
    border: 1px solid rgba(217, 171, 103, .34) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px rgba(255,255,255,.06), 0 7px 18px rgba(0,0,0,.16) !important;
  }

  .theme-panel:has(.profile-hero) .profile-identity {
    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .theme-panel:has(.profile-hero) .profile-avatar {
    width: 76px !important;
    height: 76px !important;
    border-width: 2px !important;
  }

  .theme-panel:has(.profile-hero) .avatar-controls {
    width: 100% !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  .theme-panel:has(.profile-hero) .avatar-upload,
  .theme-panel:has(.profile-hero) .avatar-remove {
    display: none !important;
  }

  .theme-panel:has(.profile-hero) .avatar-preset-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 32px !important;
    padding: 5px 9px !important;
    color: #f8e9c9 !important;
    background: rgba(194, 138, 70, .16) !important;
    border: 1px solid rgba(231, 187, 119, .72) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    font: inherit !important;
    font-size: .64rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .theme-panel:has(.profile-hero) .avatar-preset-trigger:hover,
  .theme-panel:has(.profile-hero) .avatar-preset-trigger:focus-visible {
    color: #fff5df !important;
    background: rgba(194, 138, 70, .34) !important;
    border-color: #f1cf8a !important;
    outline: 2px solid rgba(231, 187, 119, .22) !important;
    outline-offset: 2px !important;
  }

  .theme-panel:has(.profile-hero) .profile-hero > div:last-child {
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .theme-panel:has(.profile-hero) .profile-hero h2 {
    margin: 5px 0 3px !important;
    color: #ffefd3 !important;
    font-size: 1.32rem !important;
  }

  .theme-panel:has(.profile-hero) .profile-hero small {
    font-size: .62rem !important;
  }

  .theme-panel:has(.profile-hero) .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(7, 22, 14, .74) !important;
    border: 1px solid rgba(217, 171, 103, .26) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .theme-panel:has(.profile-hero) .profile-stats span {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    padding: 15px 18px !important;
    background: transparent !important;
    border: 0 !important;
    border-right: 1px solid rgba(217, 171, 103, .18) !important;
    border-radius: 0 !important;
  }

  .theme-panel:has(.profile-hero) .profile-stats span:last-child {
    border-right: 0 !important;
  }

  .theme-panel:has(.profile-hero) .profile-stats strong {
    color: #ffda91 !important;
    font-size: 1.25rem !important;
    line-height: 1 !important;
  }

  .theme-panel:has(.profile-hero) .profile-stats small {
    color: #b9c5b8 !important;
    font-size: .72rem !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence {
    display: grid !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 18px !important;
    background: linear-gradient(145deg, rgba(20, 46, 31, .96), rgba(6, 18, 12, .95)) !important;
    border: 1px solid rgba(217, 171, 103, .38) !important;
    border-radius: 16px !important;
    box-shadow: inset 0 1px rgba(255,255,255,.05), 0 7px 18px rgba(0,0,0,.14) !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-heading {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-heading strong {
    color: #f3ca7e !important;
    font-size: .82rem !important;
    letter-spacing: .1em !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-heading span {
    color: #aeb8ab !important;
    font-size: .68rem !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-values {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat small {
    color: #d7aa65 !important;
    font-size: .64rem !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat strong {
    color: #ffda91 !important;
    font-family: Georgia, serif !important;
    font-size: 1.18rem !important;
    line-height: 1.15 !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-progress {
    position: relative !important;
    width: 100% !important;
    height: 5px !important;
    overflow: hidden !important;
    background: rgba(0,0,0,.34) !important;
    border: 1px solid rgba(217, 171, 103, .22) !important;
    border-radius: 999px !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-progress-fill {
    display: block !important;
    width: 0;
    height: 100% !important;
    background: linear-gradient(90deg, #9e7137, #efc77e) !important;
    border-radius: inherit !important;
    box-shadow: 0 0 10px rgba(239, 199, 126, .3) !important;
    transition: width .22s ease !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-note {
    margin: 0 !important;
    color: #aeb8ab !important;
    font-size: .68rem !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible {
    margin: 0 !important;
    background: rgba(7, 20, 13, .62) !important;
    border: 1px solid rgba(217, 171, 103, .22) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 42px !important;
    padding: 0 13px !important;
    color: #e7c27e !important;
    cursor: pointer !important;
    list-style: none !important;
    font-size: .73rem !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible summary::-webkit-details-marker {
    display: none !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible summary::after {
    content: "+" !important;
    color: #d7aa65 !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible[open] summary::after {
    content: "−" !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible[open] summary {
    border-bottom: 1px solid rgba(217, 171, 103, .15) !important;
  }

  .theme-panel:has(.profile-hero) .profile-collapsible-body {
    padding: 12px 13px !important;
  }

  .theme-panel:has(.profile-hero) .profile-draft-note {
    margin: 0 !important;
    color: #c4cec2 !important;
    font-size: .75rem !important;
    line-height: 1.45 !important;
  }

  .theme-panel:has(.profile-hero) .profile-draft-note strong {
    color: #f0cc85 !important;
  }
}


/* Profile editor: keep custom photo actions available inside the compact avatar panel. */
@media (min-width: 801px) {
  .avatar-library-custom-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 8px 0 14px !important;
  }

  .avatar-library-custom-actions button {
    min-width: 0 !important;
    min-height: 36px !important;
    padding: 8px 10px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(229, 194, 127, .7) !important;
    font: inherit !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease !important;
  }

  .avatar-library-custom-upload {
    color: #f6d995 !important;
    background: rgba(44, 87, 66, .42) !important;
  }

  .avatar-library-custom-remove {
    color: #ffd9c9 !important;
    background: rgba(93, 48, 40, .34) !important;
    border-color: rgba(255, 170, 143, .58) !important;
  }

  .avatar-library-custom-actions button:hover,
  .avatar-library-custom-actions button:focus-visible {
    background: rgba(229, 194, 127, .18) !important;
    border-color: #f2c978 !important;
    color: #fff2c7 !important;
    outline: none !important;
  }

  .avatar-library-custom-actions button:disabled {
    opacity: .52 !important;
    cursor: not-allowed !important;
  }
}


/* essence-only icon: keep the amber potion icon limited to daily and total Öz values. */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero) .profile-essence-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: .3rem !important;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif !important;
    font-size: 1.15rem !important;
    line-height: 1 !important;
    vertical-align: -.12em !important;
    filter: drop-shadow(0 1px 3px rgba(239, 199, 126, .42)) !important;
  }
}

/* profile-essence-potion-icon-20260923-1 */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero) .profile-essence-icon {
    width: 1.35rem !important;
    min-width: 1.35rem !important;
    height: 1.35rem !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background-image: url("/amber-essence-potion.webp?v=profile-potion-20260923-1") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    vertical-align: -0.15em !important;
    filter: drop-shadow(0 1px 3px rgba(239, 199, 126, .42)) !important;
  }
}




/* profile-essence-icon-flow-fix-20260924-2 */
@media (min-width: 801px) {
  .theme-panel:has(.profile-hero) .profile-essence-values {
    align-items: stretch !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat {
    align-content: center !important;
    justify-items: center !important;
    min-height: 4.3rem !important;
    padding: 2px 0 !important;
    text-align: center !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat small {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-stat strong {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
  }

  .theme-panel:has(.profile-hero) .profile-essence-icon {
    display: block !important;
    width: 1.6rem !important;
    min-width: 1.6rem !important;
    height: 1.6rem !important;
    margin: 3px auto 0 !important;
  }
}

/* threshold-potion-icons-desktop-20260926: Match the profile essence icon at every island milestone. */
body .core-progress .milestone-heading span.essence-meter-lock-icon {
  display: grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 26px !important;
  flex: 0 0 20px !important;
  overflow: hidden !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;
  text-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("/amber-essence-potion.webp?v=threshold-potion-icons-20260926-1") center / contain no-repeat !important;
  box-shadow: none !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.65)) !important;
}
body .core-progress .milestone-heading span.essence-meter-lock-icon::before,
body .core-progress .milestone-heading span.essence-meter-lock-icon::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Empty starting potion marker */
@media (min-width: 801px) {
  .core-progress .essence-meter-knob {
    width: 28px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    background-image: url("/empty-essence-potion.svg?v=empty-start-potion-20260926-4"), radial-gradient(ellipse at center, rgba(3,14,10,.98) 0%, rgba(3,14,10,.98) 68%, rgba(3,14,10,.72) 84%, rgba(3,14,10,0) 100%) !important;
    background-position: center, center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: contain, 26px 14px !important;
    box-shadow: none !important;
    z-index: 2 !important;
  }
}


/* visible-panel-scrollbar-20261001 */
@media (min-width: 801px) {
  .theme-panel .panel-scroll {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(218, 174, 101, .78) rgba(4, 15, 10, .4) !important;
  }

  .theme-panel .panel-scroll::-webkit-scrollbar {
    width: 8px !important;
  }

  .theme-panel .panel-scroll::-webkit-scrollbar-track {
    background: rgba(4, 15, 10, .4) !important;
    border-left: 1px solid rgba(218, 174, 101, .2) !important;
  }

  .theme-panel .panel-scroll::-webkit-scrollbar-thumb {
    min-height: 36px !important;
    background: rgba(218, 174, 101, .82) !important;
    border: 2px solid rgba(4, 15, 10, .82) !important;
    border-radius: 999px !important;
  }

  .theme-panel .panel-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 199, 126, .95) !important;
  }
}


/* visible-scrollbars-secondary-areas-20261001 */
@media (min-width: 801px) {
  .desktop-parent-ideas,
  .desktop-parent-panel > .panel-content .idea-list,
  .avatar-library-in-panel .avatar-library-card {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(218, 174, 101, .78) rgba(4, 15, 10, .4) !important;
  }

  .desktop-parent-ideas::-webkit-scrollbar,
  .desktop-parent-panel > .panel-content .idea-list::-webkit-scrollbar,
  .avatar-library-in-panel .avatar-library-card::-webkit-scrollbar {
    width: 8px !important;
  }

  .desktop-parent-ideas::-webkit-scrollbar-track,
  .desktop-parent-panel > .panel-content .idea-list::-webkit-scrollbar-track,
  .avatar-library-in-panel .avatar-library-card::-webkit-scrollbar-track {
    background: rgba(4, 15, 10, .4) !important;
    border-left: 1px solid rgba(218, 174, 101, .2) !important;
  }

  .desktop-parent-ideas::-webkit-scrollbar-thumb,
  .desktop-parent-panel > .panel-content .idea-list::-webkit-scrollbar-thumb,
  .avatar-library-in-panel .avatar-library-card::-webkit-scrollbar-thumb {
    min-height: 36px !important;
    background: rgba(218, 174, 101, .82) !important;
    border: 2px solid rgba(4, 15, 10, .82) !important;
    border-radius: 999px !important;
  }

  .desktop-parent-ideas::-webkit-scrollbar-thumb:hover,
  .desktop-parent-panel > .panel-content .idea-list::-webkit-scrollbar-thumb:hover,
  .avatar-library-in-panel .avatar-library-card::-webkit-scrollbar-thumb:hover {
    background: rgba(239, 199, 126, .95) !important;
  }
}
