/* this gets exported as style.css and can be used for the default theming */
/* these are the necessary styles for React/Svelte Flow, they get used by base.css and style.css */
.react-flow {
  direction: ltr;

  --xy-edge-stroke-default: #b1b1b7;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #555;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);

  --xy-minimap-background-color-default: #fff;
  --xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #e2e2e2;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: transparent;
  --xy-background-pattern-dots-color-default: #91919a;
  --xy-background-pattern-lines-color-default: #eee;
  --xy-background-pattern-cross-color-default: #e2e2e2;
  background-color: var(--xy-background-color, var(--xy-background-color-default));
  --xy-node-color-default: inherit;
  --xy-node-border-default: 1px solid #1a192b;
  --xy-node-background-color-default: #fff;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #1a192b;
  --xy-node-border-radius-default: 3px;

  --xy-handle-background-color-default: #1a192b;
  --xy-handle-border-color-default: #fff;

  --xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);

  --xy-controls-button-background-color-default: #fefefe;
  --xy-controls-button-background-color-hover-default: #f4f4f4;
  --xy-controls-button-color-default: inherit;
  --xy-controls-button-color-hover-default: inherit;
  --xy-controls-button-border-color-default: #eee;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #ffffff;
  --xy-edge-label-color-default: inherit;
  --xy-resize-background-color-default: #3367d9;
}
.react-flow.dark {
  --xy-edge-stroke-default: #3e3e3e;
  --xy-edge-stroke-width-default: 1;
  --xy-edge-stroke-selected-default: #727272;

  --xy-connectionline-stroke-default: #b1b1b7;
  --xy-connectionline-stroke-width-default: 1;

  --xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);

  --xy-minimap-background-color-default: #141414;
  --xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
  --xy-minimap-mask-stroke-color-default: transparent;
  --xy-minimap-mask-stroke-width-default: 1;
  --xy-minimap-node-background-color-default: #2b2b2b;
  --xy-minimap-node-stroke-color-default: transparent;
  --xy-minimap-node-stroke-width-default: 2;

  --xy-background-color-default: #141414;
  --xy-background-pattern-dots-color-default: #555;
  --xy-background-pattern-lines-color-default: #333;
  --xy-background-pattern-cross-color-default: #333;
  --xy-node-color-default: #f8f8f8;
  --xy-node-border-default: 1px solid #3c3c3c;
  --xy-node-background-color-default: #1e1e1e;
  --xy-node-group-background-color-default: rgba(240, 240, 240, 0.25);
  --xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, 0.08);
  --xy-node-boxshadow-selected-default: 0 0 0 0.5px #999;

  --xy-handle-background-color-default: #bebebe;
  --xy-handle-border-color-default: #1e1e1e;

  --xy-selection-background-color-default: rgba(200, 200, 220, 0.08);
  --xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8);

  --xy-controls-button-background-color-default: #2b2b2b;
  --xy-controls-button-background-color-hover-default: #3e3e3e;
  --xy-controls-button-color-default: #f8f8f8;
  --xy-controls-button-color-hover-default: #fff;
  --xy-controls-button-border-color-default: #5b5b5b;
  --xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, 0.08);

  --xy-edge-label-background-color-default: #141414;
  --xy-edge-label-color-default: #f8f8f8;
}
.react-flow__background {
  background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
  pointer-events: none;
  z-index: -1;
}
.react-flow__container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.react-flow__pane {
  z-index: 1;
  touch-action: none;
}
.react-flow__pane.draggable {
    cursor: grab;
  }
.react-flow__pane.dragging {
    cursor: grabbing;
  }
.react-flow__pane.selection {
    cursor: pointer;
  }
.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}
.react-flow__renderer {
  z-index: 4;
}
.react-flow__selection {
  z-index: 6;
}
.react-flow__nodesselection-rect:focus,
.react-flow__nodesselection-rect:focus-visible {
  outline: none;
}
.react-flow__edge-path {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
  stroke-width: var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));
  fill: none;
}
.react-flow__connection-path {
  stroke: var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
  fill: none;
}
.react-flow .react-flow__edges {
  position: absolute;
}
.react-flow .react-flow__edges svg {
    overflow: visible;
    position: absolute;
    pointer-events: none;
  }
.react-flow__edge {
  pointer-events: visibleStroke;
}
.react-flow__edge.selectable {
    cursor: pointer;
  }
.react-flow__edge.animated path {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
.react-flow__edge.animated path.react-flow__edge-interaction {
    stroke-dasharray: none;
    animation: none;
  }
.react-flow__edge.inactive {
    pointer-events: none;
  }
.react-flow__edge.selected,
  .react-flow__edge:focus,
  .react-flow__edge:focus-visible {
    outline: none;
  }
.react-flow__edge.selected .react-flow__edge-path,
  .react-flow__edge.selectable:focus .react-flow__edge-path,
  .react-flow__edge.selectable:focus-visible .react-flow__edge-path {
    stroke: var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default));
  }
.react-flow__edge-textwrapper {
    pointer-events: all;
  }
.react-flow__edge .react-flow__edge-text {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
/* Arrowhead marker styles - use CSS custom properties as default */
.react-flow__arrowhead polyline {
  stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__arrowhead polyline.arrowclosed {
  fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
}
.react-flow__connection {
  pointer-events: none;
}
.react-flow__connection .animated {
    stroke-dasharray: 5;
    animation: dashdraw 0.5s linear infinite;
  }
svg.react-flow__connectionline {
  z-index: 1001;
  overflow: visible;
  position: absolute;
}
.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}
.react-flow__node {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: default;
}
.react-flow__node.selectable {
    cursor: pointer;
  }
.react-flow__node.draggable {
    cursor: grab;
    pointer-events: all;
  }
.react-flow__node.draggable.dragging {
      cursor: grabbing;
    }
.react-flow__nodesselection {
  z-index: 3;
  transform-origin: left top;
  pointer-events: none;
}
.react-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: grab;
  }
.react-flow__handle {
  position: absolute;
  pointer-events: none;
  min-width: 5px;
  min-height: 5px;
  width: 6px;
  height: 6px;
  background-color: var(--xy-handle-background-color, var(--xy-handle-background-color-default));
  border: 1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));
  border-radius: 100%;
}
.react-flow__handle.connectingfrom {
    pointer-events: all;
  }
.react-flow__handle.connectionindicator {
    pointer-events: all;
    cursor: crosshair;
  }
.react-flow__handle-bottom {
    top: auto;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
  }
.react-flow__handle-top {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
  }
.react-flow__handle-right {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
  }
.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}
.react-flow__pane.selection .react-flow__panel {
  pointer-events: none;
}
.react-flow__panel {
  position: absolute;
  z-index: 5;
  margin: 15px;
}
.react-flow__panel.top {
    top: 0;
  }
.react-flow__panel.bottom {
    bottom: 0;
  }
.react-flow__panel.top.center, .react-flow__panel.bottom.center {
      left: 50%;
      transform: translateX(-15px) translateX(-50%);
    }
.react-flow__panel.left {
    left: 0;
  }
.react-flow__panel.right {
    right: 0;
  }
.react-flow__panel.left.center, .react-flow__panel.right.center {
      top: 50%;
      transform: translateY(-15px) translateY(-50%);
    }
.react-flow__attribution {
  font-size: 10px;
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
  padding: 2px 3px;
  margin: 0;
}
.react-flow__attribution a {
    text-decoration: none;
    color: #999;
  }
@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
.react-flow__edgelabel-renderer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  left: 0;
  top: 0;
}
.react-flow__viewport-portal {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.react-flow__minimap {
  background: var(
    --xy-minimap-background-color-props,
    var(--xy-minimap-background-color, var(--xy-minimap-background-color-default))
  );
}
.react-flow__minimap-svg {
    display: block;
  }
.react-flow__minimap-mask {
    fill: var(
      --xy-minimap-mask-background-color-props,
      var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default))
    );
    stroke: var(
      --xy-minimap-mask-stroke-color-props,
      var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-mask-stroke-width-props,
      var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default))
    );
  }
.react-flow__minimap-node {
    fill: var(
      --xy-minimap-node-background-color-props,
      var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default))
    );
    stroke: var(
      --xy-minimap-node-stroke-color-props,
      var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default))
    );
    stroke-width: var(
      --xy-minimap-node-stroke-width-props,
      var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default))
    );
  }
.react-flow__background-pattern.dots {
    fill: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default))
    );
  }
.react-flow__background-pattern.lines {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default))
    );
  }
.react-flow__background-pattern.cross {
    stroke: var(
      --xy-background-pattern-color-props,
      var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default))
    );
  }
.react-flow__controls {
  display: flex;
  flex-direction: column;
  box-shadow: var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default));
}
.react-flow__controls.horizontal {
    flex-direction: row;
  }
.react-flow__controls-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 26px;
    width: 26px;
    padding: 4px;
    border: none;
    background: var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));
    border-bottom: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
    color: var(
      --xy-controls-button-color-props,
      var(--xy-controls-button-color, var(--xy-controls-button-color-default))
    );
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.react-flow__controls-button svg {
      width: 100%;
      max-width: 12px;
      max-height: 12px;
      fill: currentColor;
    }
.react-flow__edge.updating .react-flow__edge-path {
      stroke: #777;
    }
.react-flow__edge-text {
    font-size: 10px;
  }
.react-flow__node.selectable:focus,
  .react-flow__node.selectable:focus-visible {
    outline: none;
  }
.react-flow__node-input,
.react-flow__node-default,
.react-flow__node-output,
.react-flow__node-group {
  padding: 10px;
  border-radius: var(--xy-node-border-radius, var(--xy-node-border-radius-default));
  width: 150px;
  font-size: 12px;
  color: var(--xy-node-color, var(--xy-node-color-default));
  text-align: center;
  border: var(--xy-node-border, var(--xy-node-border-default));
  background-color: var(--xy-node-background-color, var(--xy-node-background-color-default));
}
.react-flow__node-input.selectable:hover, .react-flow__node-default.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
      box-shadow: var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default));
    }
.react-flow__node-input.selectable.selected,
    .react-flow__node-input.selectable:focus,
    .react-flow__node-input.selectable:focus-visible,
    .react-flow__node-default.selectable.selected,
    .react-flow__node-default.selectable:focus,
    .react-flow__node-default.selectable:focus-visible,
    .react-flow__node-output.selectable.selected,
    .react-flow__node-output.selectable:focus,
    .react-flow__node-output.selectable:focus-visible,
    .react-flow__node-group.selectable.selected,
    .react-flow__node-group.selectable:focus,
    .react-flow__node-group.selectable:focus-visible {
      box-shadow: var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default));
    }
.react-flow__node-group {
  background-color: var(--xy-node-group-background-color, var(--xy-node-group-background-color-default));
}
.react-flow__nodesselection-rect,
.react-flow__selection {
  background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
  border: var(--xy-selection-border, var(--xy-selection-border-default));
}
.react-flow__nodesselection-rect:focus,
  .react-flow__nodesselection-rect:focus-visible,
  .react-flow__selection:focus,
  .react-flow__selection:focus-visible {
    outline: none;
  }
.react-flow__controls-button:hover {
      background: var(
        --xy-controls-button-background-color-hover-props,
        var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default))
      );
      color: var(
        --xy-controls-button-color-hover-props,
        var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default))
      );
    }
.react-flow__controls-button:disabled {
      pointer-events: none;
    }
.react-flow__controls-button:disabled svg {
        fill-opacity: 0.4;
      }
.react-flow__controls-button:last-child {
    border-bottom: none;
  }
.react-flow__controls.horizontal .react-flow__controls-button {
    border-bottom: none;
    border-right: 1px solid
      var(
        --xy-controls-button-border-color-props,
        var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
      );
  }
.react-flow__controls.horizontal .react-flow__controls-button:last-child {
    border-right: none;
  }
.react-flow__resize-control {
  position: absolute;
}
.react-flow__resize-control.left,
.react-flow__resize-control.right {
  cursor: ew-resize;
}
.react-flow__resize-control.top,
.react-flow__resize-control.bottom {
  cursor: ns-resize;
}
.react-flow__resize-control.top.left,
.react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}
.react-flow__resize-control.bottom.left,
.react-flow__resize-control.top.right {
  cursor: nesw-resize;
}
/* handle styles */
.react-flow__resize-control.handle {
  width: 5px;
  height: 5px;
  border: 1px solid #fff;
  border-radius: 1px;
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  translate: -50% -50%;
}
.react-flow__resize-control.handle.left {
  left: 0;
  top: 50%;
}
.react-flow__resize-control.handle.right {
  left: 100%;
  top: 50%;
}
.react-flow__resize-control.handle.top {
  left: 50%;
  top: 0;
}
.react-flow__resize-control.handle.bottom {
  left: 50%;
  top: 100%;
}
.react-flow__resize-control.handle.top.left {
  left: 0;
}
.react-flow__resize-control.handle.bottom.left {
  left: 0;
}
.react-flow__resize-control.handle.top.right {
  left: 100%;
}
.react-flow__resize-control.handle.bottom.right {
  left: 100%;
}
/* line styles */
.react-flow__resize-control.line {
  border-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
  border-width: 0;
  border-style: solid;
}
.react-flow__resize-control.line.left,
.react-flow__resize-control.line.right {
  width: 1px;
  transform: translate(-50%, 0);
  top: 0;
  height: 100%;
}
.react-flow__resize-control.line.left {
  left: 0;
  border-left-width: 1px;
}
.react-flow__resize-control.line.right {
  left: 100%;
  border-right-width: 1px;
}
.react-flow__resize-control.line.top,
.react-flow__resize-control.line.bottom {
  height: 1px;
  transform: translate(0, -50%);
  left: 0;
  width: 100%;
}
.react-flow__resize-control.line.top {
  top: 0;
  border-top-width: 1px;
}
.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}
.react-flow__edge-textbg {
  fill: var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default));
}
.react-flow__edge-text {
  fill: var(--xy-edge-label-color, var(--xy-edge-label-color-default));
}
/* ============================================================
   NobleTask — Jira (Atlassian koyu tema) gorunumu
   Tum siniflar nt- on ekiyle; index.css'teki genel stillere dokunmaz.
   ============================================================ */

/* Modal ve popover'lar document.body'ye portal ile aciliyor (.nt-root'un
   DISINDA) — degiskenler o yuzden uc kapsayiciya birden tanimli. */
.nt-root,
.nt-modal-overlay,
.nt-popover,
.nt-lightbox-overlay {
  --nt-bg: #1d2125;
  --nt-sunken: #161a1d;
  --nt-raised: #22272b;
  --nt-overlay: #282e33;
  --nt-hover: #2c333a;
  --nt-pressed: #38414a;
  --nt-border: #323a42;
  --nt-border-strong: #454f59;
  --nt-text: #b6c2cf;
  --nt-text-strong: #dee4ea;
  --nt-text-subtle: #8c9bab;
  --nt-text-disabled: #596773;
  --nt-brand: #579dff;
  --nt-brand-hover: #85b8ff;
  --nt-brand-pressed: #cce0ff;
  /* Dolu (solid) mavi butonlar icin: --nt-brand metin/link rengi olarak koyu
     zeminde zaten okunakli, ama BUTON zemini olarak kullanilinca uzerine
     acik/soluk yazi konursa kontrast dusuk kaliyor (kullanici "Proje
     oluştur" butonunun okunmadigini bildirdi) — bu yuzden dolu butonlar
     ayri, daha koyu-doygun bir mavi + hep BEYAZ yazi kullanir. */
  --nt-brand-solid: #0c66e4;
  --nt-brand-solid-hover: #0055cc;
  --nt-brand-text-on: #ffffff;
  --nt-selected-bg: #1c2b41;
  --nt-selected-border: #388bff;
  --nt-danger: #f87168;
  --nt-danger-bold: #f15b50;
  --nt-danger-bg: #42221f;
  --nt-success: #7ee2b8;
  --nt-success-bg: #1c3329;
  --nt-warning: #f5cd47;
  --nt-lozenge-todo-bg: #2c333a;
  --nt-lozenge-todo-text: #c7d1db;
  --nt-lozenge-inprogress-bg: #09326c;
  --nt-lozenge-inprogress-text: #85b8ff;
  --nt-lozenge-done-bg: #164b35;
  --nt-lozenge-done-text: #7ee2b8;
  --nt-radius: 3px;
  --nt-radius-lg: 8px;
  --nt-shadow: 0 8px 12px rgba(3, 4, 4, 0.36), 0 0 1px rgba(3, 4, 4, 0.5);
}

.nt-root {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--nt-bg);
  color: var(--nt-text);
  font-family: -apple-system, 'Segoe UI', system-ui, Roboto, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.nt-root *,
.nt-modal *,
.nt-popover * {
  box-sizing: border-box;
}

/* :where() sifir ozgullukte — bu sadece bir varsayilan, .nt-btn-primary gibi
   sinif tabanli renk kurallarinin altinda ezilmeli. Duz "button" etiketi ile
   yazilsaydi (tip+sinif = ozgullukte .nt-btn-primary'den YUKSEK cikardi ve
   onu ezerdi) — bir kere tam bu yuzden "Proje oluştur" gibi dolu mavi
   butonlarin yazisi neredeyse gorunmuyordu, kullanici bildirdi. */
:where(.nt-root, .nt-modal, .nt-popover) button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

:where(.nt-root, .nt-modal, .nt-popover) input,
:where(.nt-root, .nt-modal, .nt-popover) textarea,
:where(.nt-root, .nt-modal, .nt-popover) select {
  font-family: inherit;
  font-size: inherit;
  color: var(--nt-text-strong);
}

.nt-loading {
  align-items: center;
  justify-content: center;
}

.nt-spacer {
  flex: 1;
}

.nt-muted {
  color: var(--nt-text-subtle);
}

.nt-small {
  font-size: 12px;
  line-height: 16px;
}

.nt-required {
  color: var(--nt-danger);
}

.nt-success-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--nt-success);
  font-size: 12px;
}

/* ---------- Ust cubuk ---------- */

.nt-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 16px;
  border-bottom: 1px solid var(--nt-border);
  background: var(--nt-bg);
  flex-shrink: 0;
}

.nt-topnav-hub {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  border-radius: var(--nt-radius);
  padding: 6px 8px;
  color: var(--nt-text-subtle);
  cursor: pointer;
}

.nt-topnav-hub:hover {
  background: var(--nt-hover);
  color: var(--nt-text-strong);
}

.nt-topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: var(--nt-radius);
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--nt-text-strong);
}

.nt-topnav-brand img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.nt-topnav-brand:hover {
  background: var(--nt-hover);
}

.nt-topnav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  border-radius: var(--nt-radius);
  padding: 6px 10px;
  font-weight: 600;
  color: var(--nt-text);
  cursor: pointer;
}

.nt-topnav-link:hover {
  background: var(--nt-hover);
  color: var(--nt-brand);
}

.nt-topnav-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 360px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--nt-border-strong);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-subtle);
}

.nt-topnav-search:focus-within {
  border-color: var(--nt-brand);
  box-shadow: 0 0 0 1px var(--nt-brand);
}

.nt-topnav-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
}

.nt-search-key {
  color: var(--nt-text-subtle);
  font-size: 12px;
  flex-shrink: 0;
}

.nt-search-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-topnav-avatar {
  margin-left: 4px;
}

/* ---------- Govde / sol nav ---------- */

.nt-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.nt-sidebar {
  position: relative;
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 8px;
  border-right: 1px solid var(--nt-border);
  background: var(--nt-bg);
  transition: width 0.15s ease;
}

.nt-sidebar-collapsed {
  width: 56px;
  padding: 16px 6px;
}

.nt-sidebar-toggle {
  position: absolute;
  top: 24px;
  right: -12px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--nt-border);
  background: var(--nt-raised);
  color: var(--nt-text-subtle);
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.15s;
}

.nt-sidebar:hover .nt-sidebar-toggle,
.nt-sidebar-collapsed .nt-sidebar-toggle {
  opacity: 1;
}

.nt-sidebar-toggle:hover {
  background: var(--nt-brand-solid);
  color: var(--nt-brand-text-on);
  border-color: var(--nt-brand-solid);
}

.nt-sidebar-project {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--nt-border);
}

.nt-sidebar-collapsed .nt-sidebar-project {
  justify-content: center;
  padding: 4px 0 12px;
}

.nt-sidebar-project-text {
  min-width: 0;
}

.nt-sidebar-project-name {
  font-weight: 600;
  color: var(--nt-text-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nt-sidebar-project-type {
  font-size: 11px;
  color: var(--nt-text-subtle);
}

.nt-project-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.nt-project-tile-sm {
  width: 24px;
  height: 24px;
  font-size: 10px;
  border-radius: 4px;
}

.nt-project-tile-lg {
  width: 64px;
  height: 64px;
  font-size: 22px;
  border-radius: 10px;
}

.nt-sidebar-group-label {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--nt-text-subtle);
}

.nt-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: var(--nt-radius);
  background: none;
  color: var(--nt-text);
  text-align: left;
  cursor: pointer;
  font-weight: 500;
}

.nt-sidebar-collapsed .nt-sidebar-item {
  justify-content: center;
  padding: 8px 0;
}

.nt-sidebar-item:hover:not(:disabled) {
  background: var(--nt-hover);
}

.nt-sidebar-item.nt-active {
  background: var(--nt-selected-bg);
  color: var(--nt-brand);
}

.nt-sidebar-item:disabled {
  color: var(--nt-text-disabled);
  cursor: not-allowed;
}

.nt-sidebar-item-icon {
  display: inline-flex;
  width: 20px;
  justify-content: center;
  flex-shrink: 0;
}

.nt-soon-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--nt-hover);
  color: var(--nt-text-subtle);
  letter-spacing: 0.4px;
}

.nt-sidebar-divider {
  height: 1px;
  background: var(--nt-border);
  margin: 12px 8px;
}

.nt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ---------- Sayfa iskeleti ---------- */

.nt-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 16px 32px 0;
}

.nt-page-header {
  margin-bottom: 8px;
}

.nt-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--nt-text-subtle);
  margin-bottom: 6px;
}

.nt-breadcrumb-sep {
  color: var(--nt-text-disabled);
}

.nt-page-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 40px;
}

.nt-page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  color: var(--nt-text-strong);
}

.nt-page-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nt-sprint-days {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nt-text-subtle);
  font-size: 13px;
}

.nt-sprint-goal {
  margin-top: 6px;
  font-size: 13px;
  color: var(--nt-text-subtle);
}

.nt-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 16px;
  flex-shrink: 0;
}

.nt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--nt-border-strong);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-subtle);
}

.nt-search:focus-within {
  border-color: var(--nt-brand);
  box-shadow: 0 0 0 1px var(--nt-brand);
}

.nt-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
}

.nt-avatar-group {
  display: flex;
  align-items: center;
}

.nt-avatar-stack {
  margin-left: -6px;
  border: 2px solid var(--nt-bg);
}

.nt-avatar-stack:first-child {
  margin-left: 0;
}

.nt-avatar-filter {
  margin-left: -6px;
  padding: 0;
  border: 2px solid var(--nt-bg);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform 0.1s;
}

.nt-avatar-filter:first-child {
  margin-left: 0;
}

.nt-avatar-filter:hover {
  transform: translateY(-2px);
}

.nt-avatar-filter-active {
  border-color: var(--nt-brand);
  box-shadow: 0 0 0 2px var(--nt-brand);
}

/* ---------- Avatar ---------- */

.nt-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  flex-shrink: 0;
  object-fit: cover;
  user-select: none;
}

.nt-avatar-empty {
  background: var(--nt-pressed);
  color: var(--nt-text-subtle);
}

/* ---------- Butonlar ---------- */

.nt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: none;
  border-radius: var(--nt-radius);
  background: var(--nt-hover);
  color: var(--nt-text);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.nt-btn:hover:not(:disabled) {
  background: var(--nt-pressed);
}

.nt-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nt-btn-primary {
  background: var(--nt-brand-solid);
  color: var(--nt-brand-text-on);
  font-weight: 600;
}

.nt-btn-primary:hover:not(:disabled) {
  background: var(--nt-brand-solid-hover);
}

.nt-btn-subtle {
  background: transparent;
}

.nt-btn-subtle:hover:not(:disabled) {
  background: var(--nt-hover);
}

.nt-btn-danger {
  background: var(--nt-danger-bold);
  color: #fff;
  font-weight: 600;
}

.nt-btn-danger:hover:not(:disabled) {
  background: #fd9891;
  color: var(--nt-bg);
}

.nt-btn-sm {
  height: 28px;
  padding: 0 8px;
  font-size: 13px;
}

.nt-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--nt-radius);
  background: none;
  color: var(--nt-text-subtle);
  cursor: pointer;
  flex-shrink: 0;
}

.nt-icon-btn:hover:not(:disabled),
.nt-icon-btn.nt-active {
  background: var(--nt-hover);
  color: var(--nt-text-strong);
}

.nt-icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nt-icon-btn-danger:hover:not(:disabled) {
  background: var(--nt-danger-bg);
  color: var(--nt-danger);
}

.nt-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  color: var(--nt-brand);
  cursor: pointer;
}

.nt-link-btn:hover {
  text-decoration: underline;
}

/* ---------- Form ---------- */

.nt-form-hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--nt-text-subtle);
}

.nt-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
  flex: 1;
}

.nt-field > label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nt-text-subtle);
}

.nt-field-row {
  display: flex;
  gap: 16px;
}

.nt-field-hint {
  font-size: 12px;
  color: var(--nt-text-subtle);
}

.nt-field-error {
  font-size: 12px;
  color: var(--nt-danger);
}

.nt-input {
  height: 36px;
  padding: 0 8px;
  border: 1px solid var(--nt-border-strong);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-strong);
  outline: none;
  width: 100%;
}

.nt-input:hover {
  background: var(--nt-raised);
}

.nt-input:focus {
  border-color: var(--nt-brand);
  box-shadow: 0 0 0 1px var(--nt-brand);
  background: var(--nt-sunken);
}

.nt-input:disabled {
  opacity: 0.5;
}

.nt-input-error {
  border-color: var(--nt-danger);
}

.nt-input-sm {
  height: 32px;
}

.nt-input-key {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nt-textarea {
  height: auto;
  padding: 8px;
  resize: vertical;
  line-height: 20px;
}

.nt-select {
  appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, var(--nt-text-subtle) 50%), linear-gradient(135deg, var(--nt-text-subtle) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.nt-select option {
  background: var(--nt-raised);
}

.nt-select-sm {
  height: 32px;
  width: auto;
}

.nt-readonly-field {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 8px;
  color: var(--nt-text);
}

.nt-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

.nt-checkbox input {
  accent-color: var(--nt-brand);
}

.nt-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.nt-inline-add {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  max-width: 480px;
}

/* ---------- Picker butonlari ---------- */

.nt-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: var(--nt-radius);
  background: none;
  color: var(--nt-text);
  cursor: pointer;
  max-width: 100%;
  text-align: left;
}

.nt-picker-btn > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-picker-btn:hover,
.nt-picker-btn.nt-active {
  background: var(--nt-hover);
}

.nt-picker-btn-compact {
  padding: 2px;
  min-height: 28px;
  border-radius: 50%;
}

.nt-picker-caret {
  margin-left: auto;
  color: var(--nt-text-subtle);
  flex-shrink: 0;
}

/* ---------- Durum ---------- */

.nt-lozenge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 16px;
}

.nt-lozenge-todo {
  background: var(--nt-lozenge-todo-bg);
  color: var(--nt-lozenge-todo-text);
}

.nt-lozenge-inprogress {
  background: var(--nt-lozenge-inprogress-bg);
  color: var(--nt-lozenge-inprogress-text);
}

.nt-lozenge-done {
  background: var(--nt-lozenge-done-bg);
  color: var(--nt-lozenge-done-text);
}

.nt-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: var(--nt-radius);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
}

.nt-status-btn-md {
  height: 32px;
  padding: 0 10px;
}

.nt-status-btn-lg {
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.nt-status-btn-sm {
  height: 24px;
  padding: 0 6px;
  font-size: 11px;
}

.nt-status-btn-todo {
  background: var(--nt-lozenge-todo-bg);
  color: var(--nt-lozenge-todo-text);
}

.nt-status-btn-inprogress {
  background: var(--nt-lozenge-inprogress-bg);
  color: var(--nt-lozenge-inprogress-text);
}

.nt-status-btn-done {
  background: var(--nt-lozenge-done-bg);
  color: var(--nt-lozenge-done-text);
}

.nt-status-btn:hover {
  filter: brightness(1.2);
}

.nt-cat-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.nt-cat-todo {
  background: var(--nt-text-subtle);
}

.nt-cat-inprogress {
  background: var(--nt-brand);
}

.nt-cat-done {
  background: var(--nt-success);
}

/* ---------- Popover / Menu ---------- */

.nt-popover {
  position: fixed;
  z-index: 3000;
  background: var(--nt-overlay);
  border-radius: var(--nt-radius);
  box-shadow: var(--nt-shadow);
  border: 1px solid var(--nt-border);
  min-width: 180px;
  max-height: 60vh;
  overflow-y: auto;
  color: var(--nt-text);
  font-size: 14px;
}

.nt-menu {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.nt-menu-label {
  padding: 8px 12px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--nt-text-subtle);
  letter-spacing: 0.5px;
}

.nt-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--nt-text);
  font-family: inherit;
}

.nt-menu-item:hover:not(:disabled) {
  background: var(--nt-hover);
}

.nt-menu-item:disabled {
  color: var(--nt-text-disabled);
  cursor: not-allowed;
}

.nt-menu-item-selected {
  background: var(--nt-selected-bg);
  color: var(--nt-brand);
}

.nt-menu-item-danger {
  color: var(--nt-danger);
}

.nt-menu-item-danger:hover:not(:disabled) {
  background: var(--nt-danger-bg);
}

.nt-menu-item-icon {
  display: inline-flex;
  width: 16px;
  justify-content: center;
}

.nt-menu-item-hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--nt-text-subtle);
}

.nt-menu-separator {
  height: 1px;
  background: var(--nt-border);
  margin: 4px 0;
}

.nt-menu-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 8px;
  padding: 0 8px;
  height: 32px;
  border: 1px solid var(--nt-border-strong);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-subtle);
}

.nt-menu-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
}

.nt-menu-empty {
  padding: 8px 12px;
  color: var(--nt-text-subtle);
  font-size: 13px;
}

/* ---------- Modal ---------- */

.nt-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 24px;
  background: rgba(3, 4, 4, 0.6);
  overflow-y: auto;
}

.nt-modal {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  max-height: calc(100vh - 96px);
  background: var(--nt-raised);
  border-radius: var(--nt-radius-lg);
  box-shadow: 0 16px 32px rgba(3, 4, 4, 0.5), 0 0 1px rgba(3, 4, 4, 0.6);
  color: var(--nt-text);
  font-family: -apple-system, 'Segoe UI', system-ui, Roboto, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

.nt-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 12px;
}

.nt-modal-title {
  flex: 1;
  font-size: 20px;
  font-weight: 600;
  color: var(--nt-text-strong);
  min-width: 0;
}

.nt-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nt-modal-body {
  padding: 4px 24px 16px;
  overflow-y: auto;
  flex: 1;
}

.nt-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 24px 20px;
}

.nt-modal-text {
  margin: 0 0 12px;
}

.nt-bullets {
  margin: 0 0 16px;
  padding-left: 20px;
}

.nt-bullets li {
  margin-bottom: 4px;
}

/* ---------- Board ---------- */

.nt-board-page {
  padding-bottom: 0;
}

.nt-board {
  display: flex;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  /* align-items varsayilan (stretch) birakildi: sutunlar (.nt-column) board'un
     TAM yuksekligini kaplasin — hem gorsel olarak hepsi esit boy olsun, hem
     de surukle-birak'in dragover/drop dinleyicileri .nt-column'un tamamina
     bagli oldugu icin bos alana birakmak da artik gecerli bir hedef olsun.
     Onceki "align-items: flex-start" sutunlari sadece kart icerigi kadar
     kisaltiyordu — kullanici "sadece tam kartin ustune suruklemem gerekiyor,
     pratik degil" diye bildirdi. */
}

.nt-column {
  display: flex;
  flex-direction: column;
  /* Sabit genislik degil — sutunlar mevcut board genisligini aralarinda
     esit paylasip DOLDURSUN (kullanicinin "kartlar alani fitlesin"
     istegi); yeni bir sutun eklenince hepsi kucule kucule yer acar. 220px
     altina inmeleri gerekirse (cok sayida sutun) min-width devreye girip
     board'un kendi yatay scroll'una (.nt-board: overflow-x:auto) doner. */
  flex: 1 1 240px;
  min-width: 220px;
  height: 100%;
  background: var(--nt-sunken);
  border-radius: 6px;
  transition: background 0.1s;
}

.nt-column-over {
  background: var(--nt-selected-bg);
}

.nt-column-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 8px 6px 12px;
  flex-shrink: 0;
}

.nt-column-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--nt-text-subtle);
  text-transform: uppercase;
  cursor: text;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-column-count {
  padding: 0 6px;
  border-radius: 8px;
  background: var(--nt-hover);
  font-weight: 600;
  color: var(--nt-text);
}

.nt-column-done-check {
  color: var(--nt-success);
}

.nt-column-rename {
  flex: 1;
  min-width: 0;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--nt-brand);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-strong);
  outline: none;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.nt-column-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px 8px;
  overflow-y: auto;
  min-height: 60px;
}

.nt-column-create {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: var(--nt-radius);
  background: none;
  color: var(--nt-text-subtle);
  cursor: pointer;
  text-align: left;
  opacity: 0;
  transition: opacity 0.1s;
}

.nt-column:hover .nt-column-create,
.nt-column-body:empty + .nt-column-create {
  opacity: 1;
}

.nt-column-create:hover {
  background: var(--nt-hover);
  color: var(--nt-text-strong);
}

.nt-column-add {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  background: transparent;
  align-items: center;
  padding-top: 6px;
}

/* ---------- Etkinlik (aktivite gunlugu) paneli ---------- */

.nt-activity-panel {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--nt-sunken);
  border-radius: 6px;
  overflow: hidden;
}

.nt-activity-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--nt-text-subtle);
  text-transform: uppercase;
  border-bottom: 1px solid var(--nt-border);
}

.nt-activity-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nt-activity-entry {
  display: flex;
  gap: 8px;
}

.nt-activity-entry-body {
  flex: 1;
  min-width: 0;
}

.nt-activity-entry-text {
  font-size: 13px;
  line-height: 18px;
  color: var(--nt-text);
}

.nt-activity-entry-actor {
  font-weight: 600;
  color: var(--nt-text-strong);
}

.nt-activity-entry-time {
  margin-top: 2px;
  font-size: 11px;
  color: var(--nt-text-subtle);
}

.nt-activity-empty {
  padding: 8px 0;
  font-size: 13px;
  color: var(--nt-text-subtle);
}

.nt-column-add .nt-column-rename {
  width: 200px;
}

.nt-column-add-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-subtle);
  cursor: pointer;
}

.nt-column-add-btn:hover {
  background: var(--nt-hover);
  color: var(--nt-text-strong);
}

.nt-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--nt-raised);
  box-shadow: 0 1px 1px rgba(3, 4, 4, 0.5), 0 0 1px rgba(3, 4, 4, 0.5);
  cursor: pointer;
  user-select: none;
  overflow: hidden;
}

.nt-card-thumb {
  margin: -10px -12px 0;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--nt-sunken);
}

.nt-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nt-card:hover {
  background: var(--nt-overlay);
}

.nt-card-dragging {
  opacity: 0.4;
}

.nt-card-summary {
  color: var(--nt-text-strong);
  word-break: break-word;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

.nt-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nt-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-card-key {
  font-size: 12px;
  color: var(--nt-text-subtle);
  font-weight: 500;
}

.nt-card-key-done {
  text-decoration: line-through;
}

.nt-points {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--nt-hover);
  color: var(--nt-text);
  font-size: 11px;
  font-weight: 600;
}

.nt-drop-placeholder {
  height: 60px;
  margin-bottom: 6px;
  border: 2px dashed var(--nt-brand);
  border-radius: 4px;
  background: var(--nt-selected-bg);
}

.nt-drop-line {
  height: 2px;
  margin: 2px 0;
  background: var(--nt-brand);
  border-radius: 1px;
}

.nt-epic-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 1px 6px;
  border-radius: 3px;
  background: #352c63;
  color: #dfd8fd;
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-label-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--nt-hover);
  color: var(--nt-text);
  font-size: 12px;
}

.nt-label-chip button {
  display: inline-flex;
  border: none;
  background: none;
  padding: 0;
  color: var(--nt-text-subtle);
  cursor: pointer;
}

.nt-label-chip-sm {
  font-size: 11px;
  padding: 1px 5px;
}

.nt-labels-editor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 2px 6px;
  border: 1px solid transparent;
  border-radius: var(--nt-radius);
}

.nt-labels-editor:hover,
.nt-labels-editor:focus-within {
  background: var(--nt-hover);
}

.nt-labels-editor input {
  flex: 1;
  min-width: 80px;
  background: none;
  border: none;
  outline: none;
  height: 24px;
}

.nt-empty-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  color: var(--nt-text-subtle);
  padding-bottom: 80px;
}

.nt-empty-board h3 {
  margin: 8px 0 0;
  color: var(--nt-text-strong);
  font-size: 18px;
}

.nt-empty-board p {
  margin: 0 0 12px;
  max-width: 380px;
}

.nt-empty-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--nt-raised);
  color: var(--nt-brand);
}

/* ---------- Backlog ---------- */

.nt-backlog-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 24px;
}

.nt-backlog-section {
  border-radius: 6px;
  background: var(--nt-sunken);
  padding: 4px 0 6px;
  border: 2px solid transparent;
}

.nt-section-over {
  border-color: var(--nt-brand);
}

.nt-section-active {
  background: #1a2129;
}

.nt-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
}

.nt-collapse-btn {
  width: 24px;
  height: 24px;
}

.nt-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--nt-text-strong);
}

.nt-section-dates,
.nt-section-count {
  font-weight: 400;
  color: var(--nt-text-subtle);
  font-size: 13px;
}

.nt-section-goal {
  color: var(--nt-text-subtle);
  font-size: 13px;
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-points-summary {
  display: flex;
  gap: 2px;
}

.nt-section-body {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
}

.nt-section-empty {
  margin: 4px 0;
  padding: 14px;
  border: 2px dashed var(--nt-border);
  border-radius: 4px;
  text-align: center;
  color: var(--nt-text-subtle);
  font-size: 13px;
}

.nt-backlog-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--nt-raised);
  margin-bottom: 2px;
  cursor: pointer;
  user-select: none;
}

.nt-backlog-row:hover {
  background: var(--nt-overlay);
}

.nt-row-dragging {
  opacity: 0.4;
}

.nt-row-drag {
  color: var(--nt-text-disabled);
  display: inline-flex;
  cursor: grab;
}

.nt-row-key {
  font-size: 13px;
  color: var(--nt-text-subtle);
  flex-shrink: 0;
}

.nt-row-summary {
  color: var(--nt-text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 80px;
}

.nt-inline-create {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--nt-raised);
  border: 1px solid var(--nt-brand);
}

.nt-inline-create input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--nt-text-strong);
}

.nt-inline-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: none;
  border-radius: 3px;
  background: none;
  color: var(--nt-text-subtle);
  cursor: pointer;
  text-align: left;
}

.nt-inline-create-btn:hover {
  background: var(--nt-hover);
  color: var(--nt-text-strong);
}

/* ---------- Tablo (Liste / Projeler) ---------- */

.nt-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--nt-border);
  border-radius: 6px;
  margin-bottom: 24px;
}

.nt-table {
  width: 100%;
  border-collapse: collapse;
}

.nt-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--nt-text-subtle);
  background: var(--nt-raised);
  border-bottom: 1px solid var(--nt-border);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}

.nt-table th:hover {
  color: var(--nt-text-strong);
}

.nt-th-sorted {
  color: var(--nt-brand) !important;
}

.nt-sort-arrow {
  margin-left: 4px;
  font-size: 9px;
}

.nt-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--nt-border);
  vertical-align: middle;
  white-space: nowrap;
}

.nt-table tbody tr {
  cursor: pointer;
}

.nt-table tbody tr:hover {
  background: var(--nt-raised);
}

.nt-td-key {
  color: var(--nt-brand);
  font-weight: 500;
}

.nt-td-summary {
  color: var(--nt-text-strong);
  white-space: normal !important;
}

.nt-td-priority,
.nt-td-assignee {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-table-empty {
  text-align: center;
  color: var(--nt-text-subtle);
  padding: 32px !important;
}

/* ---------- Projeler sayfasi ---------- */

.nt-projects-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 24px 40px 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.nt-project-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nt-project-cell-name {
  color: var(--nt-brand);
  font-weight: 500;
}

.nt-empty-projects {
  padding-bottom: 120px;
}

.nt-template-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nt-template-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--nt-border);
  border-radius: 8px;
  background: var(--nt-sunken);
  text-align: left;
  cursor: pointer;
}

.nt-template-card:hover {
  border-color: var(--nt-border-strong);
}

.nt-template-card.nt-active {
  border-color: var(--nt-brand);
  background: var(--nt-selected-bg);
}

.nt-template-icon {
  color: var(--nt-brand);
}

.nt-template-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--nt-text-strong);
}

.nt-template-desc {
  font-size: 13px;
  color: var(--nt-text-subtle);
}

.nt-template-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nt-brand-solid);
  color: var(--nt-brand-text-on);
}

/* ---------- Is kaydi modali ---------- */

.nt-issue-modal .nt-modal-header {
  padding: 16px 24px 0;
}

.nt-issue-modal .nt-modal-title {
  font-size: 14px;
  font-weight: 500;
}

.nt-issue-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--nt-text-subtle);
}

.nt-issue-key-crumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nt-issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  padding-top: 8px;
}

.nt-issue-main {
  min-width: 0;
}

.nt-issue-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  color: var(--nt-text-strong);
  margin-bottom: 12px;
}

.nt-inline-text {
  padding: 4px 8px;
  margin-left: -8px;
  border-radius: var(--nt-radius);
  cursor: text;
  word-break: break-word;
}

.nt-inline-text:hover {
  background: var(--nt-hover);
}

.nt-inline-text-empty {
  color: var(--nt-text-subtle);
}

.nt-inline-input {
  width: 100%;
  padding: 4px 8px;
  margin-left: -8px;
  border: 2px solid var(--nt-brand);
  border-radius: var(--nt-radius);
  background: var(--nt-sunken);
  color: var(--nt-text-strong);
  outline: none;
  font: inherit;
}

.nt-issue-title-input {
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
}

.nt-cover-banner {
  position: relative;
  margin-bottom: 16px;
  border-radius: 6px;
  overflow: hidden;
  max-height: 280px;
  background: var(--nt-sunken);
}

.nt-cover-banner img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  cursor: zoom-in;
}

/* ---------- Gorsel goruntuleyici (yorum/kapak gorselleri buyuk gorunum) ---------- */

.nt-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 4, 4, 0.8);
}

.nt-lightbox-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
  max-height: 90vh;
  padding: 20px;
  border-radius: 12px;
  background: var(--nt-raised);
  box-shadow: var(--nt-shadow);
}

.nt-lightbox-img {
  max-width: 82vw;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 6px;
  background: var(--nt-sunken);
}

.nt-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--nt-overlay);
}

.nt-lightbox-save {
  align-self: center;
}

.nt-cover-banner-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(3, 4, 4, 0.6);
  backdrop-filter: blur(2px);
}

.nt-cover-banner-remove:hover {
  background: rgba(3, 4, 4, 0.8);
}

.nt-issue-quick-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.nt-comment-image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.nt-comment-image {
  position: relative;
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--nt-sunken);
  border: 1px solid var(--nt-border);
}

.nt-comment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.nt-comment-image-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(3, 4, 4, 0.65);
  color: #fff;
  cursor: pointer;
}

.nt-comment-image-cover-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 0;
  border: none;
  background: rgba(3, 4, 4, 0.7);
  color: var(--nt-text-strong);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.1s;
}

.nt-comment-image:hover .nt-comment-image-cover-btn,
.nt-comment-image-cover-btn-active {
  opacity: 1;
}

.nt-comment-image-cover-btn-active {
  background: var(--nt-brand-solid);
  color: #fff;
}

.nt-comment-image-grid-pending {
  margin-top: 8px;
}

.nt-issue-section {
  margin-bottom: 24px;
}

.nt-issue-section-title {
  font-weight: 600;
  color: var(--nt-text-strong);
  margin-bottom: 8px;
}

.nt-issue-description {
  padding: 8px;
  margin-left: -8px;
  border-radius: var(--nt-radius);
  white-space: pre-wrap;
  word-break: break-word;
  cursor: text;
  min-height: 40px;
}

.nt-issue-description:hover {
  background: var(--nt-hover);
}

.nt-progress {
  height: 6px;
  border-radius: 3px;
  background: var(--nt-hover);
  overflow: hidden;
  margin-bottom: 8px;
}

.nt-progress-bar {
  height: 100%;
  background: var(--nt-success);
}

.nt-child-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--nt-border);
  border-radius: 4px;
}

.nt-child-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--nt-border);
  cursor: pointer;
}

.nt-child-row:last-child {
  border-bottom: none;
}

.nt-child-row:hover {
  background: var(--nt-hover);
}

.nt-child-key {
  color: var(--nt-text-subtle);
  font-size: 12px;
  flex-shrink: 0;
}

.nt-child-summary {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--nt-text-strong);
}

.nt-activity-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.nt-chip {
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--nt-hover);
  font-size: 12px;
  font-weight: 600;
}

.nt-chip-selected {
  background: var(--nt-selected-bg);
  color: var(--nt-brand);
}

.nt-comment-compose {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.nt-comment-compose-body {
  flex: 1;
}

.nt-comment-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nt-comment {
  display: flex;
  gap: 12px;
}

.nt-comment-body {
  flex: 1;
  min-width: 0;
}

.nt-comment-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 2px;
}

.nt-comment-author {
  font-weight: 600;
  color: var(--nt-text-strong);
}

.nt-comment-text {
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 4px;
}

.nt-issue-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nt-issue-side-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-details-card {
  border: 1px solid var(--nt-border);
  border-radius: 4px;
}

.nt-details-header {
  padding: 10px 12px;
  font-weight: 600;
  color: var(--nt-text-strong);
  border-bottom: 1px solid var(--nt-border);
}

.nt-details-grid {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px 8px;
  align-items: center;
  padding: 12px;
}

.nt-details-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nt-text-subtle);
}

.nt-details-static {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

.nt-issue-timestamps {
  font-size: 12px;
  color: var(--nt-text-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 4px;
}

/* ---------- Ozet ---------- */

.nt-summary-page {
  overflow-y: auto;
  padding-bottom: 32px;
}

.nt-summary-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 8px 0 20px;
}

.nt-stat-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--nt-border);
  border-radius: 8px;
  background: var(--nt-raised);
  text-align: left;
  cursor: pointer;
}

.nt-stat-tile:hover {
  background: var(--nt-overlay);
}

.nt-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nt-stat-body {
  display: flex;
  flex-direction: column;
}

.nt-stat-value {
  font-weight: 600;
  color: var(--nt-text-strong);
}

.nt-stat-hint {
  font-size: 12px;
  color: var(--nt-text-subtle);
}

.nt-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.nt-summary-card {
  padding: 20px;
  border: 1px solid var(--nt-border);
  border-radius: 8px;
  background: var(--nt-raised);
  min-height: 260px;
}

.nt-summary-card-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--nt-text-strong);
}

.nt-summary-card-sub {
  font-size: 13px;
  color: var(--nt-text-subtle);
  margin-bottom: 16px;
}

.nt-donut-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nt-donut-total {
  fill: var(--nt-text-strong);
  font-size: 26px;
  font-weight: 600;
}

.nt-donut-label {
  fill: var(--nt-text-subtle);
  font-size: 12px;
}

.nt-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nt-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.nt-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.nt-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 170px;
  padding-top: 8px;
}

.nt-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.nt-bar-track {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  background: var(--nt-sunken);
  border-radius: 4px;
}

.nt-bar-fill {
  width: 100%;
  border-radius: 4px;
  min-height: 2px;
  transition: height 0.3s;
}

.nt-bar-value {
  font-weight: 600;
  color: var(--nt-text-strong);
}

.nt-bar-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--nt-text-subtle);
  white-space: nowrap;
}

.nt-hbars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nt-hbar-row {
  display: grid;
  grid-template-columns: 150px 1fr 44px;
  align-items: center;
  gap: 12px;
}

.nt-hbar-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.nt-hbar-track {
  height: 10px;
  border-radius: 5px;
  background: var(--nt-sunken);
  overflow: hidden;
}

.nt-hbar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s;
}

.nt-hbar-pct {
  text-align: right;
  font-size: 12px;
  color: var(--nt-text-subtle);
}

/* ---------- Ayarlar ---------- */

.nt-settings-layout {
  display: flex;
  gap: 32px;
  flex: 1;
  min-height: 0;
}

.nt-settings-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 200px;
  flex-shrink: 0;
}

.nt-settings-nav-item {
  padding: 8px 12px;
  border: none;
  border-radius: var(--nt-radius);
  background: none;
  color: var(--nt-text);
  text-align: left;
  cursor: pointer;
}

.nt-settings-nav-item:hover {
  background: var(--nt-hover);
}

.nt-settings-nav-item.nt-active {
  background: var(--nt-selected-bg);
  color: var(--nt-brand);
  font-weight: 600;
}

.nt-settings-content {
  flex: 1;
  min-width: 0;
  max-width: 720px;
  overflow-y: auto;
  padding-bottom: 32px;
}

.nt-settings-desc {
  margin: 0 0 16px;
  color: var(--nt-text-subtle);
}

.nt-settings-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.nt-columns-list,
.nt-members-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nt-column-setting-row,
.nt-member-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--nt-border);
  border-radius: 4px;
  background: var(--nt-raised);
}

.nt-column-setting-row .nt-input {
  width: 220px;
}

.nt-col-count {
  width: 90px;
  text-align: right;
}

.nt-member-name {
  font-weight: 500;
  color: var(--nt-text-strong);
}

/* ---------- Ince ayarlar ---------- */

.nt-root ::-webkit-scrollbar,
.nt-modal ::-webkit-scrollbar,
.nt-popover::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.nt-root ::-webkit-scrollbar-track,
.nt-modal ::-webkit-scrollbar-track {
  background: transparent;
}

.nt-root ::-webkit-scrollbar-thumb,
.nt-modal ::-webkit-scrollbar-thumb,
.nt-popover::-webkit-scrollbar-thumb {
  background: var(--nt-pressed);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.nt-root ::-webkit-scrollbar-button,
.nt-modal ::-webkit-scrollbar-button {
  display: none;
  height: 0;
}

@media (max-width: 1100px) {
  .nt-issue-layout {
    grid-template-columns: 1fr;
  }
  .nt-summary-tiles {
    grid-template-columns: 1fr 1fr;
  }
  .nt-summary-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   NobleRef — PureRef klonu (ayri, cercevesiz, seffaf olabilen pencere)
   ============================================================ */

/* Pano penceresi: ana pencerenin baslik cubugu payi ve koyu arka plani YOK.
   (main.jsx #ref= hash'ini gorunce <html>'e bu sinifi ekliyor.) */
html.nobleref-window,
html.nobleref-window body,
html.nobleref-window #root {
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.nr-root {
  --nr-bg: #1d1f27;
  --nr-text: #e6e8ee;
  --nr-accent: #4f7cff;
  --nr-panel: rgba(28, 31, 40, 0.96);
  --nr-border: rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: var(--nr-text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  user-select: none;
}

.nr-preset-light {
  --nr-panel: rgba(243, 243, 244, 0.97);
  --nr-border: rgba(0, 0, 0, 0.12);
}

.nr-loading {
  align-items: center;
  justify-content: center;
  background: #1d1f27;
  text-align: center;
}

.nr-error {
  color: #ff7a7a;
  margin-bottom: 12px;
  max-width: 420px;
}

.nr-muted {
  color: rgba(160, 166, 180, 0.9);
}

/* ---------- Baslik cubugu ---------- */

.nr-titlebar {
  display: flex;
  align-items: center;
  height: 30px;
  flex-shrink: 0;
  background: var(--nr-panel);
  border-bottom: 1px solid var(--nr-border);
  -webkit-app-region: drag;
  z-index: 20;
}

.nr-titlebar-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
  transition: transform 0.15s ease;
}

.nr-titlebar-hover.nr-titlebar-visible {
  transform: translateY(0);
}

.nr-tb-title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nr-tb-brand {
  font-weight: 700;
  color: #d94fd4;
}

.nr-tb-sep {
  opacity: 0.4;
}

.nr-tb-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.nr-tb-dirty {
  color: #ffb84f;
  font-size: 10px;
}

.nr-tb-flag {
  margin-left: 8px;
  font-size: 11px;
  color: #ffb84f;
}

.nr-tb-btn {
  -webkit-app-region: no-drag;
  width: 34px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--nr-text);
  font-size: 13px;
  cursor: pointer;
  opacity: 0.75;
}

.nr-tb-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.nr-preset-light .nr-tb-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

.nr-tb-btn-active {
  color: var(--nr-accent);
  opacity: 1;
}

/* Tarayicida gercekten calismayan (OS seviyesi) kontroller — tikla-nabilir
   kalir (aciklama toast'i icin) ama gorsel olarak sonuk gosterilir. */
.nr-tb-btn-muted {
  opacity: 0.35;
}

.nr-tb-btn-muted:hover {
  opacity: 0.6;
}

.nr-tb-close:hover {
  background: #e5493a;
  color: #fff;
}

.nr-tb-menu {
  font-size: 18px;
}

/* ---------- Tuval ---------- */

.nr-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--nr-bg);
  cursor: default;
  touch-action: none;
}

.nr-view-locked {
  cursor: grab;
}

.nr-view-dragover {
  box-shadow: inset 0 0 0 2px var(--nr-accent);
}

.nr-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

.nr-preset-light .nr-grid {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
}

.nr-world {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  will-change: transform;
}

.nr-world-gray {
  filter: grayscale(1);
}

.nr-item {
  position: absolute;
  transform-origin: center center;
}

.nr-item-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: center center;
}

.nr-item-clip img {
  position: absolute;
  max-width: none;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.nr-pixelated {
  image-rendering: pixelated;
}

.nr-item-gray {
  filter: grayscale(1);
}

.nr-item-outline {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--nr-accent);
  pointer-events: none;
  box-sizing: border-box;
}

.nr-item-locked .nr-item-outline {
  border-style: dashed;
  border-color: #d99a3c;
}

.nr-item-lock,
.nr-item-comment {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 14px;
  transform-origin: top left;
  pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.nr-item-comment {
  left: auto;
  right: 4px;
  transform-origin: top right;
  pointer-events: auto;
}

/* Not */
.nr-note {
  position: absolute;
  inset: 0;
  padding: 10px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  line-height: 1.35;
}

.nr-note-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.nr-note-editor {
  width: 100%;
  height: 100%;
  border: none;
  outline: 2px solid var(--nr-accent);
  background: transparent;
  resize: none;
  font-family: inherit;
  line-height: 1.35;
  padding: 0;
  user-select: text;
}

/* Gizmo */
.nr-gizmo {
  position: absolute;
  transform-origin: center center;
  pointer-events: none;
}

.nr-gizmo-border {
  position: absolute;
  inset: 0;
  border: 1px solid var(--nr-accent);
  box-sizing: border-box;
}

.nr-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1.5px solid var(--nr-accent);
  border-radius: 2px;
  pointer-events: auto;
  transform-origin: center center;
}

.nr-handle-nw { left: 0; top: 0; cursor: nwse-resize; }
.nr-handle-ne { left: 100%; top: 0; cursor: nesw-resize; }
.nr-handle-sw { left: 0; top: 100%; cursor: nesw-resize; }
.nr-handle-se { left: 100%; top: 100%; cursor: nwse-resize; }

.nr-handle-rot {
  left: 50%;
  border-radius: 50%;
  cursor: grab;
}

.nr-gizmo-rot-line {
  position: absolute;
  left: 50%;
  background: var(--nr-accent);
}

.nr-crop-overlay {
  position: absolute;
  transform-origin: center center;
  pointer-events: none;
}

.nr-crop-rect {
  position: absolute;
  border: 1px dashed #fff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.nr-box-select {
  position: absolute;
  border: 1px solid var(--nr-accent);
  background: rgba(79, 124, 255, 0.15);
  pointer-events: none;
}

.nr-pick-tip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 12px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 30;
}

.nr-pick-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nr-empty-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(160, 166, 180, 0.75);
  font-size: 14px;
  line-height: 1.7;
  pointer-events: none;
  padding: 24px;
}

.nr-empty-hint span {
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- Durum cubugu ---------- */

.nr-statusbar {
  position: absolute;
  left: 8px;
  bottom: 6px;
  display: flex;
  gap: 10px;
  font-size: 11px;
  color: rgba(160, 166, 180, 0.8);
  pointer-events: none;
  z-index: 10;
}

.nr-status-flag {
  color: #ffb84f;
}

/* ---------- Pencere boyutlandirma tutamaclari ---------- */

.nr-resize {
  position: absolute;
  z-index: 40;
  -webkit-app-region: no-drag;
}

.nr-resize-n { top: 0; left: 8px; right: 8px; height: 5px; cursor: ns-resize; }
.nr-resize-s { bottom: 0; left: 8px; right: 8px; height: 5px; cursor: ns-resize; }
.nr-resize-e { right: 0; top: 8px; bottom: 8px; width: 5px; cursor: ew-resize; }
.nr-resize-w { left: 0; top: 8px; bottom: 8px; width: 5px; cursor: ew-resize; }
.nr-resize-ne { top: 0; right: 0; width: 10px; height: 10px; cursor: nesw-resize; }
.nr-resize-nw { top: 0; left: 0; width: 10px; height: 10px; cursor: nwse-resize; }
.nr-resize-se { bottom: 0; right: 0; width: 10px; height: 10px; cursor: nwse-resize; }
.nr-resize-sw { bottom: 0; left: 0; width: 10px; height: 10px; cursor: nesw-resize; }

/* ---------- Menu ---------- */

.nr-menu {
  position: fixed;
  z-index: 100;
  min-width: 230px;
  background: var(--nr-panel);
  border: 1px solid var(--nr-border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 4px 0;
  color: var(--nr-text);
  font-size: 13px;
}

.nr-menu-list {
  display: flex;
  flex-direction: column;
}

.nr-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  cursor: pointer;
  white-space: nowrap;
}

.nr-menu-item:hover,
.nr-menu-item-open {
  background: rgba(79, 124, 255, 0.25);
}

.nr-menu-item-disabled {
  opacity: 0.4;
  cursor: default;
}

.nr-menu-item-disabled:hover {
  background: transparent;
}

.nr-menu-check {
  width: 14px;
  text-align: center;
  color: var(--nr-accent);
  font-size: 12px;
}

.nr-menu-label {
  flex: 1;
}

.nr-menu-shortcut {
  margin-left: 24px;
  font-size: 11px;
  opacity: 0.55;
}

.nr-menu-arrow {
  opacity: 0.6;
  margin-left: 8px;
}

.nr-submenu {
  position: absolute;
  left: 100%;
  top: -5px;
  min-width: 230px;
  background: var(--nr-panel);
  border: 1px solid var(--nr-border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  padding: 4px 0;
}

.nr-menu-sep {
  height: 1px;
  background: var(--nr-border);
  margin: 4px 0;
}

.nr-menu-header {
  padding: 4px 12px;
  font-size: 11px;
  opacity: 0.55;
}

/* ---------- Overlay / modal / palet ---------- */

.nr-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 60px;
}

.nr-modal {
  width: 440px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 90px);
  overflow: auto;
  background: var(--nr-panel);
  border: 1px solid var(--nr-border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  color: var(--nr-text);
  padding: 16px 18px;
}

.nr-modal-wide {
  width: 860px;
}

.nr-modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.nr-modal-body p {
  margin: 0 0 8px;
  line-height: 1.5;
}

.nr-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.nr-btn {
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid var(--nr-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--nr-text);
  cursor: pointer;
  font-size: 13px;
}

.nr-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nr-btn-primary {
  background: #0c66e4;
  border-color: #0c66e4;
  color: #fff;
}

.nr-btn-primary:hover {
  background: #0055cc;
}

.nr-btn-danger {
  background: #b3261e;
  border-color: #b3261e;
  color: #fff;
}

.nr-label {
  display: block;
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 6px;
}

.nr-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--nr-border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--nr-text);
  font-size: 13px;
  outline: none;
  user-select: text;
}

.nr-preset-light .nr-input {
  background: #fff;
}

.nr-input:focus {
  border-color: var(--nr-accent);
}

.nr-textarea {
  resize: vertical;
  font-family: inherit;
}

.nr-palette {
  width: 520px;
  max-width: calc(100vw - 32px);
  background: var(--nr-panel);
  border: 1px solid var(--nr-border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.nr-palette input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-bottom: 1px solid var(--nr-border);
  background: transparent;
  color: var(--nr-text);
  font-size: 15px;
  outline: none;
  user-select: text;
}

.nr-palette-list {
  max-height: 360px;
  overflow-y: auto;
}

.nr-palette-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 13px;
}

.nr-palette-item-active {
  background: rgba(79, 124, 255, 0.25);
}

.nr-palette-cat {
  font-size: 11px;
  opacity: 0.55;
  min-width: 80px;
}

.nr-palette-label {
  flex: 1;
}

.nr-palette-empty {
  padding: 14px;
  opacity: 0.6;
}

.nr-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px 22px;
  font-size: 12px;
}

.nr-shortcuts-col h4 {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.nr-shortcut-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid var(--nr-border);
}

.nr-shortcut-row kbd {
  font-family: Consolas, monospace;
  font-size: 11px;
  opacity: 0.8;
  text-align: right;
}

/* ---------- Hiyerarsi ---------- */

.nr-hierarchy {
  position: absolute;
  top: 34px;
  right: 8px;
  bottom: 30px;
  width: 260px;
  display: flex;
  flex-direction: column;
  background: var(--nr-panel);
  border: 1px solid var(--nr-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 15;
  -webkit-app-region: no-drag;
}

.nr-hierarchy-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px 6px 10px;
  font-weight: 600;
  border-bottom: 1px solid var(--nr-border);
}

.nr-hierarchy-head .nr-tb-btn {
  margin-left: auto;
  height: 26px;
}

.nr-hierarchy-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px;
}

.nr-h-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
}

.nr-h-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nr-h-row-selected {
  background: rgba(79, 124, 255, 0.25);
}

.nr-h-row-locked .nr-h-name {
  opacity: 0.6;
}

.nr-h-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-h-btn {
  border: none;
  background: transparent;
  color: var(--nr-text);
  cursor: pointer;
  font-size: 10px;
  opacity: 0.5;
  padding: 2px 3px;
}

.nr-h-btn:hover {
  opacity: 1;
}

.nr-h-input {
  flex: 1;
  min-width: 0;
  padding: 2px 4px;
  font-size: 12px;
  border-radius: 3px;
  border: 1px solid var(--nr-accent);
  background: rgba(0, 0, 0, 0.3);
  color: var(--nr-text);
  outline: none;
  user-select: text;
}

.nr-h-empty {
  padding: 12px;
  text-align: center;
}

/* ---------- Toast ---------- */

.nr-toast {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  z-index: 60;
  max-width: calc(100% - 40px);
  text-align: center;
  pointer-events: none;
}

/* ---------- Ana penceredeki panolar sayfasi ---------- */

.nr-projects-hint {
  color: #9aa1b3;
  font-size: 13px;
  margin: 4px 0 0;
}

.nr-projects-hint code {
  background: #23262f;
  padding: 1px 5px;
  border-radius: 4px;
}

.nr-projects-error {
  margin-top: 10px;
  color: #ff7a7a;
  font-size: 13px;
}

.nr-card-missing {
  opacity: 0.55;
  cursor: default;
}

.nr-card-missing-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(229, 73, 58, 0.85);
  color: #fff;
  font-size: 11px;
}

.nr-modal-input {
  width: 100%;
  margin: 12px 0 4px;
  font-size: 14px;
  padding: 8px 10px;
}
* {
  box-sizing: border-box;
}

/* Arayuzdeki logo/banner gibi gorseller varsayilan olarak masaustune
   surukle-birak edilebiliyordu (tarayicinin dogal img surukleme davranisi) —
   bunu genel olarak kapatiyoruz. Sadece NobleCore sohbetindeki ekli gorseller
   (.noblecore-message-attachment, .noblecore-viewer-image) asagida tekrar acilir. */
img {
  -webkit-user-drag: none;
  user-select: none;
}

html,
body,
#root {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #14161c;
  color: #e6e8ee;
  overflow: hidden;
}

body {
  padding-top: 32px;
}

/* Windows'un ozel renkli baslik cubugu (titleBarOverlay) icin surukleme alani.
   Sistem min/kucult/kapat butonlari bunun ustune otomatik olarak cizilir.
   Arka plani seffaf: rengi altindaki icerik (sol rayda ray rengi, sagda
   topbar rengi) versin ki rayin en ustte bosluk gibi gorunmesin. */
.titlebar-drag {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: transparent;
  -webkit-app-region: drag;
  z-index: 9999;
}

.app-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---- Custom (Windows klasik tarzi, acik renk) scroll cubugu ---- */

::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: #14161c;
}

::-webkit-scrollbar-thumb {
  background-color: #3a3f4e;
  border-radius: 2px;
  border: 4px solid #14161c;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #3d69f0;
  background-clip: padding-box;
}

::-webkit-scrollbar-corner {
  background: #14161c;
}

::-webkit-scrollbar-button {
  display: block;
  width: 16px;
  height: 16px;
  background-color: #3a3f4e;
  background-repeat: no-repeat;
  background-position: center;
}

::-webkit-scrollbar-button:vertical:start:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 3 L9 8 L1 8 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

::-webkit-scrollbar-button:vertical:end:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 7 L9 2 L1 2 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

::-webkit-scrollbar-button:horizontal:start:decrement {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 5 L8 1 L8 9 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

::-webkit-scrollbar-button:horizontal:end:increment {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M7 5 L2 1 L2 9 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1c1f28;
  border-bottom: 1px solid #2a2e3a;
}

.toolbar-title {
  font-weight: 600;
  font-size: 15px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toolbar-title-editable {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.toolbar-title-editable:hover {
  background: #2a2e3a;
}

.project-name-input {
  background: #14161c;
  border: 1px solid #4f7cff;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 15px;
  font-weight: 600;
  padding: 4px 8px;
  outline: none;
}

.projects-screen {
  height: 100%;
  overflow-y: auto;
  padding: 0 32px 40px;
}

.projects-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: #14161c;
  z-index: 10;
}

.projects-header {
  margin-bottom: 20px;
}

.projects-header h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.projects-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 80px 0;
  color: #9aa1b3;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.project-card {
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.project-card:hover {
  border-color: #3a3f4e;
}

.project-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #262a35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-thumb-placeholder {
  font-size: 40px;
  opacity: 0.4;
}

.project-menu-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #e6e8ee;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.project-menu-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.project-menu {
  position: absolute;
  top: 40px;
  right: 8px;
  width: 170px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  padding: 6px;
  z-index: 20;
}

.project-menu-item {
  width: 100%;
  display: block;
  text-align: left;
  padding: 8px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 13px;
  cursor: pointer;
}

.project-menu-item:hover {
  background: #2a2e3a;
}

.project-menu-item-danger {
  color: #ff8f97;
}

.project-menu-item-danger:hover {
  background: #3a1f24;
}

.project-menu-confirm-text {
  padding: 6px 8px;
  font-size: 12px;
  color: #9aa1b3;
}

.project-card-footer {
  padding: 10px 12px;
}

.project-card-name {
  font-weight: 600;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card-date {
  color: #9aa1b3;
  font-size: 11px;
  margin-top: 2px;
}

.project-rename-input {
  width: 100%;
  background: #14161c;
  border: 1px solid #4f7cff;
  border-radius: 4px;
  color: #e6e8ee;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 6px;
  outline: none;
}

.canvas-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
}

.react-flow {
  background: #14161c;
}

.react-flow__handle {
  width: 14px;
  height: 14px;
  background: #1c1f28;
  border: 2.5px solid #9aa1b3;
  z-index: 20;
}

.react-flow__handle:hover {
  border-color: #4f7cff;
}

.react-flow__handle-left {
  left: -7px;
}

.react-flow__handle-right {
  right: -7px;
}

.react-flow__handle-connecting {
  border-color: #4f7cff;
  background: #4f7cff;
}

.react-flow__handle-valid {
  border-color: #6fcf97;
  background: #6fcf97;
}

.node-card {
  position: relative;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-top: 2px solid #e8735f;
  border-radius: 10px;
  width: 300px;
  box-shadow:
    6px 6px 0 0 #10121a,
    0 4px 14px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  transition: box-shadow 0.2s ease, border-top-color 0.2s ease, transform 0.2s ease;
}

.node-card:hover {
  border-top-color: #ff9478;
  transform: scale(1.015) translate(2px, -3px);
  box-shadow:
    6px 6px 0 0 #10121a,
    0 4px 14px rgba(0, 0, 0, 0.4),
    0 0 20px 2px rgba(232, 115, 95, 0.35);
}

.node-image-upload.node-drag-over {
  border-color: #4f7cff;
  box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.4);
}

.node-title {
  padding: 10px 12px;
  font-weight: 600;
  border-bottom: 1px solid #2a2e3a;
}

.node-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
}

.btn {
  background: #2a2e3a;
  color: #e6e8ee;
  border: 1px solid #3a3f4e;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
}

.btn:hover {
  background: #333846;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #4f7cff;
  border-color: #4f7cff;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #3d69f0;
}

.btn-google {
  width: 100%;
  background: #fff;
  color: #1f1f1f;
  border-color: #dadce0;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.btn-google:hover:not(:disabled) {
  background: #f7f7f7;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #6b7080;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2a2e3a;
}

.btn-upload {
  width: 100%;
}

.btn-coral {
  width: 100%;
  background: #4f7cff;
  border-color: #4f7cff;
  color: white;
  font-weight: 600;
}

.btn-coral:hover:not(:disabled) {
  background: #3d69f0;
}

.reangle-params-label {
  color: #9aa1b3;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.reangle-dial-wrap {
  display: flex;
  justify-content: center;
}

.reangle-dial {
  display: block;
  width: 100%;
  max-width: 220px;
  touch-action: none;
  cursor: grab;
}

.reangle-dial-track {
  fill: none;
  stroke: #2a2e3a;
  stroke-width: 8;
}

.reangle-dial-dot {
  fill: #3a3f4e;
}

.reangle-dial-arrow {
  stroke: #e8735f;
  stroke-width: 3;
  stroke-linecap: round;
}

.reangle-dial-arrow-head {
  fill: #e8735f;
}

.reangle-dial-handle {
  fill: #e8735f;
  stroke: #1c1f28;
  stroke-width: 2;
  cursor: grab;
}

.reangle-dial-label {
  fill: #9aa1b3;
  font-size: 11px;
  font-weight: 700;
}

.reangle-value-label {
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

.reangle-hint {
  text-align: center;
  color: #9aa1b3;
  font-size: 11px;
}

.reangle-slider-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9aa1b3;
}

.reangle-slider {
  width: 100%;
  accent-color: #3a3f4e;
}

.text-prompt-input {
  width: 100%;
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 13px;
  font-family: inherit;
  padding: 10px;
  resize: vertical;
  outline: none;
}

.text-prompt-input:focus {
  border-color: #4f7cff;
}

.io-slot {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.io-slot-label {
  color: #9aa1b3;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.io-slot-preview-text {
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
  max-height: 80px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.io-slot-preview-image {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #2a2e3a;
  display: block;
}

.io-slot-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.io-slot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 6px;
  background: #14161c;
  font-size: 12px;
}

.io-slot-empty {
  color: #6b7180;
  font-size: 11px;
}

.model-viewer-3d {
  width: 100%;
  height: 220px;
  border-radius: 8px;
  border: 1px solid #2a2e3a;
  background: #14161c;
  --poster-color: transparent;
}

.model-viewer-3d-large {
  height: 55vh;
  max-width: 80vw;
}

.model-viewer-thumb-wrap {
  position: relative;
}

.model-viewer-thumb-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #2a2e3a;
  background: #14161c;
  display: block;
}

.model-viewer-thumb-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #2a2e3a;
  background: #14161c;
  font-size: 40px;
  opacity: 0.4;
}

.model-viewer-expand-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #e6e8ee;
  cursor: pointer;
  font-size: 14px;
}

.model-viewer-expand-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.model-lightbox-card {
  gap: 16px;
}

.btn-debug {
  width: 100%;
  background: transparent;
  border: 1px dashed #d99a3c;
  color: #d99a3c;
}

.btn-debug:hover:not(:disabled) {
  background: rgba(217, 154, 60, 0.12);
}

.upload-preview {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2e3a;
}

.upload-preview img {
  width: 100%;
  display: block;
  cursor: zoom-in;
}

.upload-filename {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  font-size: 11px;
  color: #9aa1b3;
  background: #14161c;
}

.upload-filename span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-remove-btn {
  flex-shrink: 0;
  background: transparent;
  color: #ff8f97;
  border: 1px solid #5a2a30;
  border-radius: 4px;
  padding: 3px 8px;
  cursor: pointer;
  font-size: 10px;
}

.upload-remove-btn:hover {
  background: #3a1f24;
}

.hint {
  color: #9aa1b3;
  font-size: 12px;
}

.bbox-preview {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2e3a;
}

.bbox-preview img {
  width: 100%;
  display: block;
}

.bbox {
  position: absolute;
  border: 2px solid #ffb84f;
  border-radius: 3px;
  pointer-events: none;
}

.bbox-selected {
  border-color: #4f7cff;
}

.parts-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.part-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.part-row:hover {
  background: #2a2e3a;
}

.part-row input {
  margin-top: 3px;
}

.part-name {
  font-weight: 600;
}

.part-desc {
  color: #9aa1b3;
  font-size: 11px;
}

.gen-status-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gen-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  background: #14161c;
  font-size: 12px;
}

.gen-status-ok {
  color: #6fcf97;
  font-size: 11px;
}

.gen-status-error {
  color: #ff8f97;
  font-size: 11px;
  cursor: help;
}

.spinner-sm {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid #2a2e3a;
  border-top-color: #4f7cff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.spinner {
  width: 24px;
  height: 24px;
  margin: 20px auto;
  border: 3px solid #2a2e3a;
  border-top-color: #4f7cff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-banner {
  background: #3a1f24;
  color: #ff8f97;
  border: 1px solid #5a2a30;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 12px;
  padding: 24px;
  width: 420px;
}

.modal-wide {
  width: 760px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.server-settings-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #2a2e3a;
  margin-bottom: 16px;
}

.server-settings-tab {
  background: none;
  border: none;
  color: #9aa1b3;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.server-settings-tab:hover {
  color: #e6e8ee;
}

.server-settings-tab-active {
  color: #e6e8ee;
  border-bottom-color: #4f7cff;
}

.invite-modal {
  position: relative;
  padding-top: 32px;
}

.invite-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #9aa1b3;
  font-size: 14px;
  cursor: pointer;
}

.invite-modal-close:hover {
  background: #23262f;
  color: #e6e8ee;
}

.invite-modal-subtitle {
  color: #9aa1b3;
  font-size: 13px;
  margin-top: -8px;
}

.invite-modal-search {
  width: 100%;
  margin-bottom: 14px;
}

.invite-modal-friends-placeholder {
  text-align: center;
  color: #9aa1b3;
  font-size: 14px;
  padding: 28px 12px;
  background: #14161c;
  border: 1px dashed #2a2e3a;
  border-radius: 10px;
}

.invite-modal-friends-placeholder-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.invite-modal-friends-placeholder .hint {
  margin-top: 4px;
}

.invite-modal-divider {
  height: 1px;
  background: #2a2e3a;
  margin: 18px 0 14px;
}

.server-profile-preview-card {
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.server-profile-preview-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #4f7cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 12px;
}

.server-profile-preview-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-profile-preview-name {
  font-weight: 700;
  font-size: 15px;
  color: #e6e8ee;
}

.server-profile-preview-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #9aa1b3;
}

.server-members-panel {
  width: 100%;
  max-width: 1100px;
}

.server-members-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 4px 0 24px;
}

.server-members-toggle-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.server-members-table-card {
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
}

.server-members-table-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2e3a;
}

.server-members-table-title {
  font-weight: 700;
  font-size: 13px;
  margin-right: auto;
}

.server-members-search {
  width: 220px;
  margin-bottom: 0;
}

.server-members-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.server-members-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9aa1b3;
  padding: 10px 16px;
  border-bottom: 1px solid #2a2e3a;
  white-space: nowrap;
}

.server-members-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #1c1f28;
  color: #dbdee1;
  vertical-align: middle;
  white-space: nowrap;
}

.server-members-table tbody tr:last-child td {
  border-bottom: none;
}

.server-members-table-footer {
  padding: 10px 16px;
  font-size: 12px;
  color: #9aa1b3;
}

.invite-modal-link-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #9aa1b3;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.modal h2 {
  margin-top: 0;
  font-size: 16px;
}

.modal-section-title {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2a2e3a;
}

.modal-actions-close {
  margin-top: 16px;
}

.modal p {
  font-size: 13px;
  color: #9aa1b3;
}

.modal a:not(.btn) {
  color: #4f7cff;
}

.key-input {
  width: 100%;
  padding: 10px;
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 13px;
  margin-bottom: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.noblecore-limit-modal {
  text-align: center;
}

.noblecore-limit-modal-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.noblecore-limit-modal h2 {
  font-size: 20px;
}

.noblecore-limit-modal-sub {
  color: #e6e8ee !important;
  font-weight: 600;
}

.noblecore-limit-modal .modal-actions {
  justify-content: center;
  margin-top: 20px;
}

.saved-note {
  margin-top: 10px;
  color: #6fcf97;
  font-size: 12px;
}

.node-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
}

.node-search-menu {
  position: fixed;
  z-index: 901;
  width: 260px;
  max-height: 360px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.node-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #2a2e3a;
}

.node-search-icon {
  color: #9aa1b3;
  font-size: 13px;
}

.node-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e6e8ee;
  font-size: 14px;
}

.node-search-input::placeholder {
  color: #6b7180;
}

.node-search-list {
  overflow-y: auto;
  padding: 8px;
}

.node-search-category {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: #6b7180;
  font-weight: 700;
  padding: 8px 8px 4px;
}

.node-search-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #e6e8ee;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.node-search-item:hover {
  background: #2a2e3a;
}

.node-search-item-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14161c;
  border-radius: 8px;
  font-size: 14px;
}

.node-search-empty {
  padding: 12px 8px;
  color: #6b7180;
  font-size: 12px;
}

.node-context-menu {
  position: fixed;
  z-index: 901;
  width: 150px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  padding: 6px;
}

.node-context-delete {
  color: #ff8f97;
}

.node-context-delete:hover {
  background: #3a1f24;
}

.react-flow__node.selected .node-card {
  outline: 2px solid #4f7cff;
  outline-offset: 2px;
}

.react-flow__selection {
  background: rgba(226, 121, 60, 0.1);
  border: 1px solid #e2793c;
}

.group-node {
  width: 100%;
  height: 100%;
  border: 1.5px dashed #4f7cff;
  border-radius: 12px;
  background: rgba(79, 124, 255, 0.06);
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.group-node:hover {
  border-color: #8fabff;
  background: rgba(79, 124, 255, 0.1);
  box-shadow: 0 0 0 2px rgba(79, 124, 255, 0.35);
}

.group-node-label {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #4f7cff;
}

.selection-toolbar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  z-index: 50;
  font-size: 13px;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 40px;
}

.lightbox-card {
  background: #e9e9ea;
  border-radius: 16px;
  padding: 20px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.lightbox-image-wrap {
  position: relative;
  max-width: 80vw;
  max-height: 55vh;
  overflow: hidden;
  border-radius: 10px;
  background: #14161c;
  user-select: none;
}

.lightbox-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  pointer-events: none;
}

.lightbox-zoom-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-zoom-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.06);
  color: #1c1f28;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.lightbox-zoom-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.14);
}

.lightbox-zoom-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lightbox-zoom-value {
  color: #1c1f28;
  font-size: 13px;
  font-weight: 600;
  min-width: 44px;
  text-align: center;
}

.lightbox-label {
  color: #1c1f28;
  font-weight: 600;
  font-size: 14px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #1c1f28;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.16);
}

.lightbox-actions {
  display: flex;
  gap: 8px;
}

.launcher {
  /* body'nin baslik cubugu icin ayirdigi 32px'lik ust bosluga tasip tam
     pencere yuksekligini kaplar. Sekme cubugu varsa (sunucu icinde degilken)
     o bu payi ustlenir; sunucu icindeyken (topbar yok) satir (.launcher-row)
     dogrudan bu payi devralir. */
  height: calc(100% + 32px);
  margin-top: -32px;
  display: flex;
  flex-direction: column;
  background: #101218;
  color: #e6e8ee;
}

.launcher button {
  font-family: inherit;
}

.launcher button:disabled {
  cursor: default;
}

.launcher-row {
  /* Artik tum sayfanin en tepesindeki eleman bu — Hub/NobleCore farketmeksizin,
     baslik cubugu icin ayrilan 32px'lik payi hep bu ustleniyor (bkz.
     .launcher'daki -32px margin-top aciklamasi). Ray bu sayede iki gorunumde
     de birebir ayni boyda/konumda kalir, gecişte hicbir sey kaymaz. */
  padding-top: 32px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.launcher-main-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #181b23;
}

/* ---- NobleCore tarzi sunucu rayi (en sol, tam yukseklik) ---- */

.launcher-server-rail {
  /* 88px: rayin en ustundeki Hub butonu topbar'daki sekmelerle (72x72) ayni
     boyda olacak sekilde genisletildi, digerlerini (48px sunucu ikonlari)
     etkilemiyor, sadece kenar bosluklari biraz acildi. */
  width: 88px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  background: #14161c;
  border-right: 1px solid #23262f;
  user-select: none;
  overflow-y: auto;
}

.launcher-rail-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}

.launcher-rail-divider {
  width: 32px;
  height: 2px;
  border-radius: 1px;
  background: #23262f;
  margin: 2px 0;
}

.launcher-rail-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1f28;
  border: none;
  border-radius: 50%;
  color: #e6e8ee;
  font-size: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: border-radius 0.15s ease, background 0.15s ease;
}

.launcher-rail-icon img,
.launcher-rail-icon-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launcher-rail-icon:hover:not(:disabled) {
  border-radius: 16px;
  background: #23262f;
}

.launcher-rail-icon:disabled {
  opacity: 0.5;
}

.launcher-rail-icon-active {
  border-radius: 16px;
}

.launcher-rail-add {
  /* Rayin en ustu artik bosaldigi icin "+" butonunu asagi itiyoruz, sunucu
     listesiyle karismasin diye biraz nefes payi kalsin. */
  margin-top: 16px;
  color: #6fcf97;
  font-size: 24px;
  background: #1c1f28;
}

.launcher-rail-add:hover:not(:disabled) {
  background: #6fcf97;
  color: #0b0c10;
}

.launcher-rail-explore {
  background: #1c1f28;
}

.launcher-rail-server {
  background: #1c1f28;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Hub'a donus butonu, rayin en ustunde — hem Hub ekranindayken hem sunucu
   icindeyken ayni yerde/boyutta, hicbir zaman kosullu render edilmiyor,
   bu yuzden iki gorunum arasinda gecişte ray hic kaymiyor. */
.launcher-rail-brand {
  width: 72px;
  height: 72px;
  margin-top: 14px;
  border-radius: 16px;
  background: transparent;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.launcher-rail-brand.launcher-rail-icon-active {
  opacity: 1;
}

.launcher-rail-brand:hover:not(:disabled) {
  opacity: 1;
  border-radius: 16px;
  background: #16283a;
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #6cc9ff, 0 0 16px 4px rgba(108, 201, 255, 0.55), 0 10px 20px -8px rgba(0, 0, 0, 0.55);
}

/* .launcher-rail-icon img { width:100%; object-fit:cover } kuralindan daha
   ozgul olmasi icin iki sinif birden kullanildi — aksi halde Hub logosu
   66x66 yerine butonun tamamini (72x72, kirpilmis) kapliyordu. */
.launcher-rail-brand .launcher-rail-brand-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

/* ---- NobleCore tarzi kanal/sohbet gorunumu ---- */

/* .noblecore-view-wrap, .noblecore-view'in eskiden dogrudan .launcher-main-column'a
   verdigi flex:1/min-height:0 davranisini simdi bir katman disaridan sagliyor,
   boylece altina (sadece mobilde gorunen) .noblecore-mobile-tabbar sigabiliyor. */
.noblecore-view-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.noblecore-view {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.noblecore-channel-sidebar {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #14161c;
  border-right: 1px solid #23262f;
  user-select: none;
}

.noblecore-sidebar-resize-handle {
  position: absolute;
  top: 0;
  bottom: 80px;
  right: -5px;
  width: 10px;
  cursor: col-resize;
  z-index: 5;
}

.noblecore-sidebar-resize-handle:hover,
.noblecore-sidebar-resize-handle-active {
  background: rgba(79, 124, 255, 0.5);
}

.noblecore-server-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #23262f;
}

.noblecore-server-name-menu {
  position: relative;
  flex: 1;
  min-width: 0;
}

.noblecore-server-name {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  background: none;
  border: none;
  color: #e6e8ee;
  font-weight: 700;
  font-size: 14px;
  padding: 4px 2px;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
}

.noblecore-server-name:hover {
  background: #23262f;
}

.noblecore-server-name-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.noblecore-server-name-chevron {
  flex-shrink: 0;
  font-size: 11px;
  color: #9aa1b3;
  transition: transform 0.15s;
}

.noblecore-server-name-chevron-up {
  transform: rotate(180deg);
}

.noblecore-server-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 8px;
  right: 8px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 8px;
  padding: 6px;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.noblecore-server-dropdown-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #e6e8ee;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.noblecore-server-dropdown-item:hover:not(:disabled) {
  background: #23262f;
}

.noblecore-server-dropdown-item:disabled {
  color: #6b7180;
  cursor: default;
}

.noblecore-server-dropdown-divider {
  height: 1px;
  background: #2a2e3a;
  margin: 6px 4px;
}

.noblecore-server-dropdown-item-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}

.noblecore-server-dropdown-item-danger {
  color: #f2545b;
}

.noblecore-server-dropdown-item-danger:hover {
  background: rgba(242, 84, 91, 0.1);
}

.noblecore-settings-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  color: #dbdee1;
  cursor: pointer;
}

.noblecore-settings-btn:hover {
  background: #23262f;
  color: #ffffff;
}

.noblecore-channel-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7180;
}

.noblecore-add-channel-btn {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #6b7180;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

.noblecore-add-channel-btn:hover {
  background: #23262f;
  color: #e6e8ee;
}

.noblecore-add-channel-form {
  padding: 0 12px 8px;
}

.noblecore-add-channel-form .key-input {
  margin-bottom: 0;
  padding: 6px 8px;
  font-size: 12px;
}

.noblecore-channel-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px 80px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Ses kanalina baglantiyken kullanici panelinin hemen ustunde beliren
   "Ses Bağlantısı Kuruldu" seridi — Discord'daki karsiligi gibi. */
/* Ses banner'i ve kullanici paneli artik ayri iki kutu degil, tek parca bir
   panel (noblecore-bottom-panel) icindeki iki bolum — Discord'daki gibi
   kesintisiz/birlesik gorunsun diye kendi arkaplan/koseleri yok. */
.noblecore-bottom-panel {
  position: fixed;
  left: 8px;
  bottom: 8px;
  display: flex;
  flex-direction: column;
  background: #1c1f28;
  border-radius: 12px;
  z-index: 50;
  overflow: hidden;
  /* Alt kenar sabit kalirken ust kenar 2px yukari uzasin diye. */
  padding-top: 2px;
}

/* Ses banner'i artik NobleCoreView'in DISINDA (bkz. VoiceStatusBar.jsx,
   WebApp.jsx/HubScreen.jsx seviyesinde render ediliyor) — hem Hub'da hem
   sunucu icinde AYNI sabit konumda kalsin diye kendi position:fixed'i var.
   Sunucu icindeyken altta kullanici paneli (.noblecore-bottom-panel) de
   oldugu icin "-raised" sinifiyla onun ustune itiliyor. */
.noblecore-voice-status-bar {
  position: fixed;
  left: 8px;
  bottom: 8px;
  z-index: 55;
  width: 260px;
  max-width: calc(100vw - 16px);
}

.noblecore-voice-status-bar-raised {
  bottom: 90px;
}

.noblecore-voice-banner {
  padding: 10px 10px 8px;
  /* Eskiden .noblecore-bottom-panel'in (arkaplan/kose saglayan ortak
     kapsayici) icindeydi, artik VoiceStatusBar.jsx'te tek basina kullanildigi
     icin kendi arkaplanini/kosesini tasiyor. */
  background: #1c1f28;
  border-radius: 12px;
}

.noblecore-voice-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.noblecore-voice-banner-icon {
  color: #6fcf97;
  font-size: 16px;
  flex-shrink: 0;
}

.noblecore-voice-banner-text {
  flex: 1;
  min-width: 0;
}

.noblecore-voice-banner-title {
  color: #6fcf97;
  font-size: 13px;
  font-weight: 700;
}

.noblecore-voice-banner-subtitle {
  color: #9aa1b3;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.noblecore-voice-banner-wave {
  color: #6b7080;
  font-size: 14px;
  flex-shrink: 0;
}

.noblecore-voice-banner-hangup {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8735f;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  cursor: pointer;
  transform: rotate(135deg);
}

.noblecore-voice-banner-hangup:hover {
  background: #d65e49;
}

.noblecore-voice-banner-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.noblecore-voice-banner-action-btn {
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #14161c;
  border: none;
  border-radius: 8px;
  color: #9aa1b3;
  font-size: 14px;
  cursor: pointer;
}

.noblecore-voice-banner-action-btn:hover:not(:disabled) {
  background: #23262f;
}

.noblecore-voice-banner-action-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.noblecore-user-panel {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
}

.noblecore-user-panel-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.noblecore-user-panel-info:hover {
  background: rgba(255, 255, 255, 0.04);
}

.noblecore-user-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #4f7cff;
  color: white;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.noblecore-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-dot.noblecore-user-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
}

.noblecore-user-text {
  min-width: 0;
  overflow: hidden;
}

.noblecore-user-name {
  font-size: 16px;
  font-weight: 600;
  color: #e6e8ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.noblecore-user-status {
  font-size: 13px;
  color: #8b909c;
}

.noblecore-user-panel-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.noblecore-user-action-btn {
  height: 40px;
  padding: 0 6px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #b5bac1;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}

.noblecore-user-action-chevron {
  font-size: 12px;
}

.noblecore-user-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
}

.noblecore-user-action-btn:disabled {
  cursor: default;
  opacity: 0.5;
}

.noblecore-channel-item {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 0;
  border-radius: 6px;
  color: #9aa1b3;
}

.noblecore-channel-item:hover {
  background: #1c1f28;
  color: #e6e8ee;
}

.noblecore-channel-item-active {
  background: #23262f;
  color: #e6e8ee;
}

.noblecore-channel-item-name {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 7px 8px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.noblecore-channel-item-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.noblecore-channel-item-action-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #9aa1b3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.noblecore-channel-item-action-btn:hover {
  background: #2a2e3a;
  color: #e6e8ee;
}

.noblecore-chat {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #1c1f28;
}

.noblecore-drop-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 28, 0.7);
  pointer-events: none;
}

.noblecore-drop-card {
  width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  background: rgba(79, 124, 255, 0.9);
  border: 2px dashed rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  text-align: center;
}

.noblecore-drop-icon {
  font-size: 40px;
}

.noblecore-drop-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.noblecore-drop-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.noblecore-message-attachment {
  display: block;
  max-width: 320px;
  max-height: 320px;
  border-radius: 8px;
  margin-top: 6px;
  cursor: pointer;
  -webkit-user-drag: element;
  user-select: auto;
}

.noblecore-pending-attachment {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #23262f;
}

.noblecore-pending-attachment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.noblecore-pending-attachment-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 10px;
  cursor: pointer;
}

.noblecore-chat-header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid #23262f;
  flex-shrink: 0;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.noblecore-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.noblecore-chat-header-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #b5bac1;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.noblecore-chat-header-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
}

.noblecore-chat-header-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Sadece mobil genislikte gorunur (bkz. @media bloku) — masaustunde/genis
   tarayicida .noblecore-channel-sidebar zaten hep gorunur oldugu icin
   "kanallara don" butonuna gerek yok. */
.noblecore-chat-back-btn {
  display: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #e6e8ee;
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.noblecore-message-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.noblecore-no-text-channel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 4px;
}

.noblecore-no-text-channel-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #1c1f28;
  color: #3a3d47;
  font-size: 48px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.noblecore-no-text-channel-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9aa1b3;
  margin-bottom: 8px;
}

.noblecore-no-text-channel-desc {
  font-size: 14px;
  color: #6b7080;
  max-width: 360px;
  line-height: 1.5;
}

.noblecore-channel-welcome {
  margin-top: auto;
  padding: 24px 0 20px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.noblecore-channel-welcome-title {
  font-size: 28px;
  font-weight: 700;
  color: #e6e8ee;
  line-height: 1.25;
  margin-bottom: 10px;
}

.noblecore-channel-welcome-desc {
  font-size: 13px;
  color: #9aa1b3;
  line-height: 1.6;
  margin-bottom: 20px;
}

.noblecore-welcome-link {
  background: none;
  border: none;
  padding: 0;
  color: #4f7cff;
  font-size: 13px;
  cursor: pointer;
}

.noblecore-welcome-link:hover {
  text-decoration: underline;
}

.noblecore-welcome-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.noblecore-welcome-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: #1c1f28;
  border: 1px solid #2a2e3a;
  border-radius: 8px;
  cursor: pointer;
}

.noblecore-welcome-item:hover:not(:disabled) {
  background: #23262f;
}

.noblecore-welcome-item:disabled {
  cursor: default;
  opacity: 0.55;
}

.noblecore-welcome-item-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.noblecore-welcome-item-label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #d6d9e0;
}

.noblecore-welcome-item-chevron {
  color: #6b7180;
  font-size: 18px;
}

.noblecore-welcome-item-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6fcf97;
  border-radius: 50%;
  color: #0d0f14;
  font-size: 12px;
  font-weight: 700;
}

.noblecore-date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 4px;
  color: #6b7180;
  font-size: 12px;
  font-weight: 600;
}

.noblecore-date-divider::before,
.noblecore-date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #2e323d;
}

.noblecore-message {
  display: flex;
  gap: 10px;
  position: relative;
  padding: 2px 4px;
  border-radius: 6px;
}

.noblecore-message:hover {
  background: rgba(255, 255, 255, 0.03);
}

.noblecore-message:hover .noblecore-message-actions {
  display: flex;
}

.noblecore-message-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4f7cff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  color: white;
}

.noblecore-message-own .noblecore-message-avatar {
  background: #6fcf97;
}

.noblecore-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noblecore-message-body {
  min-width: 0;
}

.noblecore-message-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.noblecore-message-username {
  font-weight: 700;
  font-size: 13px;
  color: #e6e8ee;
}

.noblecore-message-time {
  font-size: 11px;
  color: #6b7180;
}

.noblecore-message-content {
  font-size: 13px;
  color: #d6d9e0;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Discord'un kullandigi Twemoji setiyle ciziliyor (native OS font glyphi
   yerine) — tum platformlarda ayni gorunum icin. Boyut, iceren elemanin
   font-size'ina gore olceklenir (em birimi), boylece ayri ayri her
   kullanim yerinde (mesaj icerigi, tepki pili, emoji secici) ozel bir
   boyut tanimlamaya gerek kalmiyor. */
.twemoji {
  height: 1.2em;
  width: 1.2em;
  vertical-align: -0.2em;
  object-fit: contain;
}

.noblecore-message-content-emoji-only {
  font-size: 40px;
  line-height: 1.3;
}

.noblecore-message-content-deleted {
  font-style: italic;
  color: #6b7180;
}

.noblecore-message-link {
  color: #6fa8ff;
  text-decoration: underline;
  cursor: pointer;
  word-break: break-all;
}

.noblecore-message-link:hover {
  color: #8fbcff;
}

.noblecore-link-preview-image {
  display: block;
  max-width: 320px;
  max-height: 320px;
  border-radius: 8px;
  margin-top: 6px;
  cursor: pointer;
}

.noblecore-link-preview-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 440px;
  margin-top: 6px;
  padding: 10px 12px;
  background: #1b1e26;
  border: 1px solid #2e323d;
  border-left: 3px solid #4f7cff;
  border-radius: 6px;
}

.noblecore-link-preview-site {
  font-size: 12px;
  color: #9aa1b3;
}

.noblecore-link-preview-title {
  font-size: 15px;
  font-weight: 700;
  color: #6fa8ff;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.noblecore-link-preview-title:hover {
  text-decoration: underline;
}

.noblecore-link-preview-desc {
  font-size: 12px;
  color: #9aa1b3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.noblecore-link-preview-thumb-wrap {
  position: relative;
  margin-top: 4px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.noblecore-link-preview-thumb {
  width: 100%;
  max-width: 400px;
  display: block;
}

.noblecore-link-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.noblecore-link-preview-play svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6));
}

.noblecore-message-edited {
  font-size: 10px;
  color: #6b7180;
}

.noblecore-mention {
  background: rgba(79, 124, 255, 0.18);
  color: #8fabff;
  border-radius: 4px;
  padding: 0 2px;
  font-weight: 600;
}

.noblecore-mention-self {
  background: rgba(255, 178, 74, 0.22);
  color: #ffb24a;
}

.noblecore-message-edit-form {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.noblecore-message-edit-input {
  flex: 1;
  background: #16181f;
  border: 1px solid #2e323d;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 13px;
  padding: 4px 8px;
}

.noblecore-message-actions {
  display: none;
  position: absolute;
  top: -14px;
  right: 8px;
  background: #23262f;
  border: 1px solid #2e323d;
  border-radius: 8px;
  padding: 2px;
  gap: 2px;
}

.noblecore-message-action-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 13px;
  cursor: pointer;
}

.noblecore-message-action-btn:hover {
  background: #2e323d;
}

.noblecore-reaction-picker {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #23262f;
  border: 1px solid #2e323d;
  border-radius: 8px;
  padding: 4px;
  display: flex;
  gap: 2px;
  z-index: 5;
}

.noblecore-reaction-picker button {
  background: transparent;
  border: none;
  font-size: 16px;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
}

.noblecore-reaction-picker button:hover {
  background: #2e323d;
}

.noblecore-message-reactions {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.noblecore-reaction-pill {
  background: #23262f;
  border: 1px solid #2e323d;
  border-radius: 100px;
  padding: 1px 8px;
  font-size: 12px;
  color: #d6d9e0;
  cursor: pointer;
}

.noblecore-reaction-pill:hover {
  border-color: #4f7cff;
}

.noblecore-reaction-pill-mine {
  background: rgba(79, 124, 255, 0.18);
  border-color: #4f7cff;
  color: #8fabff;
}

.noblecore-mention-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 6px;
  background: #23262f;
  border: 1px solid #2e323d;
  border-radius: 8px;
  padding: 4px;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.noblecore-mention-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  text-align: left;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 13px;
  color: #d6d9e0;
  cursor: pointer;
}

.noblecore-mention-option-active,
.noblecore-mention-option:hover {
  background: #2e323d;
  color: #fff;
}

.noblecore-mention-option-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #4f7cff;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.noblecore-mention-option-desc {
  font-size: 11px;
  color: #8b909c;
}

.noblecore-mention-option-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noblecore-composer-emoji-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.noblecore-composer-emoji-btn:hover {
  transform: scale(1.1);
}

.emoji-picker {
  position: absolute;
  bottom: 100%;
  right: 60px;
  margin-bottom: 8px;
  width: 320px;
  height: 360px;
  background: #23262f;
  border: 1px solid #2e323d;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.emoji-picker-search {
  margin: 8px;
  padding: 8px 10px;
  background: #16181f;
  border: 1px solid #2e323d;
  border-radius: 6px;
  color: #e6e8ee;
  font-size: 13px;
}

.emoji-picker-grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 0 6px;
  align-content: start;
}

.emoji-picker-item {
  background: transparent;
  border: none;
  font-size: 20px;
  border-radius: 6px;
  padding: 4px;
  cursor: pointer;
  line-height: 1.3;
}

.emoji-picker-item:hover {
  background: #2e323d;
}

.emoji-picker-tabs {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-top: 1px solid #2e323d;
  overflow-x: auto;
  flex-shrink: 0;
}

.emoji-picker-tab {
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  padding: 4px 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.emoji-picker-tab:hover {
  background: #2e323d;
}

.emoji-picker-tab-active {
  background: #2e323d;
  box-shadow: inset 0 -2px 0 #4f7cff;
}

.noblecore-typing-indicator {
  font-size: 12px;
  color: #8b909c;
  padding: 2px 16px;
  font-style: italic;
}

.noblecore-composer {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #23262f;
  flex-shrink: 0;
  position: relative;
}

.noblecore-composer-input-wrap {
  position: relative;
  flex: 1;
  display: flex;
}

.noblecore-composer-input {
  flex: 1;
  padding: 10px 12px;
  background: #14161c;
  border: 1px solid #23262f;
  border-radius: 8px;
  color: #e6e8ee;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.4;
  outline: none;
  resize: none;
  max-height: 220px;
  overflow-y: auto;
}

.noblecore-composer-input:focus {
  border-color: #4f7cff;
}

.noblecore-composer-counter {
  position: absolute;
  right: 10px;
  bottom: 6px;
  font-size: 11px;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  user-select: none;
}

.noblecore-composer-counter-over {
  color: #ef4444;
  font-weight: 700;
}

.noblecore-member-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: #14161c;
  border-left: 1px solid #23262f;
  padding: 14px 10px;
  overflow-y: auto;
  user-select: none;
}

.noblecore-member-sidebar-header {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7180;
  padding: 0 6px 10px;
}

.noblecore-member-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.noblecore-member-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
}

.noblecore-member-row:hover {
  background: #1c1f28;
}

.noblecore-member-row-actions {
  display: none;
  flex-shrink: 0;
  gap: 2px;
}

.noblecore-member-row:hover .noblecore-member-row-actions {
  display: flex;
}

.noblecore-member-row-action-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 12px;
  cursor: pointer;
}

.noblecore-member-row-action-btn:hover {
  background: #2e323d;
}

.noblecore-member-avatar {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4f7cff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.noblecore-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noblecore-member-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: #d6d9e0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- Sunucu olustur "choose" ekrani (NobleCore'daki gibi) ---- */

.server-choose-modal {
  position: relative;
  width: 460px;
  text-align: center;
}

.server-choose-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #9aa1b3;
  font-size: 15px;
  cursor: pointer;
  border-radius: 6px;
}

.server-choose-close:hover {
  background: #2a2e3a;
  color: #e6e8ee;
}

.server-choose-title {
  font-size: 20px;
  margin: 4px 0 8px;
}

.server-choose-subtitle {
  font-size: 13px;
  color: #9aa1b3;
  margin: 0 0 20px;
  line-height: 1.5;
}

.server-choose-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 8px;
  color: #e6e8ee;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.server-choose-row:hover:not(:disabled) {
  border-color: #4f7cff;
  background: #181c28;
}

.server-choose-row:disabled {
  opacity: 0.5;
  cursor: default;
}

.server-choose-row-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.server-choose-row-label {
  flex: 1;
}

.server-choose-row-chevron {
  color: #6b7180;
  font-size: 18px;
}

.server-choose-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #6b7180;
  text-align: left;
  margin: 16px 0 8px;
}

.server-choose-join {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #2a2e3a;
}

.server-choose-join-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.server-choose-join-btn {
  width: 100%;
  padding: 10px;
}

.server-choose-skip {
  font-size: 13px;
  color: #9aa1b3;
  margin: 12px 0 4px;
}

.server-choose-skip-link {
  background: none;
  border: none;
  padding: 0;
  color: #4f7cff;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.server-choose-skip-link:hover {
  color: #7ea0ff;
}

.server-choose-back {
  background: none;
  border: none;
  padding: 0;
  margin-top: 12px;
  color: #9aa1b3;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
}

.server-choose-back:hover {
  color: #e6e8ee;
  text-decoration: underline;
}

.server-icon-upload-wrap {
  position: relative;
  width: 88px;
  margin: 4px auto 20px;
}

.server-icon-upload {
  width: 88px;
  height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #14161c;
  border: 2px dashed #3a3f4e;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.server-icon-upload:hover {
  border-color: #4f7cff;
}

.server-icon-upload-camera {
  font-size: 22px;
  opacity: 0.7;
}

.server-icon-upload-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #9aa1b3;
}

.server-icon-upload-preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-icon-upload-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4f7cff;
  border: 3px solid #1c1f28;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
}

.server-name-label {
  display: block;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: #9aa1b3;
  margin-bottom: 6px;
}

.server-name-required {
  color: #ff8f97;
}

.server-choose-terms {
  font-size: 11px;
  color: #6b7180;
  text-align: left;
  margin: 10px 0 0;
}

.server-choose-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.server-choose-footer .server-choose-back {
  margin-top: 0;
}

.avatar-cropper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.avatar-cropper-viewport {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: #0d0f14;
  user-select: none;
}

.avatar-cropper-viewport img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  pointer-events: none;
}

.avatar-cropper-zoom {
  width: 220px;
  accent-color: #4f7cff;
}

.noblecore-member-role {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #d99a3c;
  text-transform: uppercase;
}

/* ---- Top bar: brand + favorite app tabs + user/notification icons ---- */

.launcher-topbar {
  /* Artik rayin degil, sadece .launcher-main-column'un icinde (Hub/Studio/
     Kanban sekmeleri) — NobleCore sunucu gorunumunde main-column'un icerigi
     NobleCoreView'e donuyor, bu cubuk hic render edilmiyor; ray bundan
     etkilenmiyor, boyu/konumu hep sabit kaliyor. */
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 16px 10px 1px;
  background: #181b23;
  border-bottom: 1px solid #23262f;
  flex-shrink: 0;
  user-select: none;
}

.launcher-nav-arrow {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #6b7180;
  font-size: 15px;
  cursor: default;
}

.launcher-tabs {
  display: flex;
  gap: 8px;
  /* overflow-x:auto vardi ama CSS kurali geregi bu, Y eksenini de otomatik
     "auto" (tasani gizle) yapiyordu — hover'daki yukari kalkma + glow golgesi
     bu gorunmez sinira takilip ustten kesiliyordu. Sadece 3 sabit sekme oldugu
     icin yatay kaydirmaya zaten gerek yok, visible ile sorun cozuluyor. */
  overflow: visible;
}

.launcher-tab {
  width: 72px;
  height: 72px;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  color: #e6e8ee;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.launcher-tab-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 10px;
}

.launcher-tab:hover {
  opacity: 0.85;
  background: #23262f;
  /* Öne çıkanlar kartlarındaki gibi hafif yerden yükselme hissi. */
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.55);
}

.launcher-tab-active {
  opacity: 1;
  border-color: #4f7cff;
  background: #1c2333;
}

/* NobleRef sekmesi: uzerine gelince kendi logosunun rengiyle (acik yesil/
   limon) parlayan bir outline/glow efekti alsin. */
.launcher-tab-ref:hover {
  opacity: 1;
  border-color: #baf23c;
  background: #1c2b16;
  box-shadow: 0 0 0 1px #baf23c, 0 0 16px 4px rgba(186, 242, 60, 0.55);
}

/* NobleAi sekmesi: kendi logosunun rengiyle (zumrut/teal yesil) ayni glow. */
.launcher-tab-ai:hover {
  opacity: 1;
  border-color: #2fd68a;
  background: #122a20;
  box-shadow: 0 0 0 1px #2fd68a, 0 0 16px 4px rgba(47, 214, 138, 0.55);
}

/* Kanban (NobleTask) sekmesi: kendi logosunun rengiyle (pembe/magenta) glow. */
.launcher-tab-board:hover {
  opacity: 1;
  border-color: #ef4ec0;
  background: #2a1226;
  box-shadow: 0 0 0 1px #ef4ec0, 0 0 16px 4px rgba(239, 78, 192, 0.55);
}

/* ---- Body: left brand panel + main content + right sidebar ---- */

.launcher-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.launcher-side-art {
  position: relative;
  /* Sabit 400px yerine pencere genisligiyle orantili — kucuk (laptop) pencerede
     sag taraftaki icerik alani (hero banner + kartlar) orantisiz kuculmesin diye. */
  width: clamp(280px, 26vw, 460px);
  flex-shrink: 0;
  overflow: hidden;
  background: #0d0f14;
  border-right: 1px solid #23262f;
}

.launcher-side-art-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Kaynak gorselde yuz govdenin ortasina yakin — "top" ile kisa (laptop)
     pencerelerde sadece ust logo gorunup yuz kirpiliyordu. */
  object-position: center 22%;
}

/* Banner gorseli varken (Hub disinda) sayfanin kendi logosu, banner yokken
   gosterilen fallback logosuyla ayni boyut/konumda (ust-orta, 320px) bindirilir
   — banner Hub'daki gibi logoyu icine gomulu getirmiyor, kimlik kaybolmasin. */
.launcher-side-art-badge {
  position: absolute;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  /* Panel artik degisken genislikte (bkz. .launcher-side-art) — logo dar
     panelde tasmasin diye genisligin bir orani olarak da sinirlaniyor. */
  width: min(320px, 78%);
  height: min(320px, 78%);
  object-fit: contain;
  border-radius: 15%;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.7);
}

/* Alt kisimda gorseli panelin koyu zeminine dogru soldurur — WoW launcher'daki
   karakter gorselinin oyun surumu/Play butonu bolumune eridigi efektin ayni */
.launcher-side-art-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent 0%, #0d0f14 92%);
  pointer-events: none;
}

.launcher-side-art-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Logo panelin ustunde, banner gorseli olan Hub'daki gibi buyuk ve dikkat
     cekici dursun — ortalanmis kucuk ikon yerine. */
  justify-content: flex-start;
  padding-top: 56px;
  gap: 16px;
  background: radial-gradient(circle at 50% 30%, #1c2333 0%, #0d0f14 75%);
  text-align: center;
}

.launcher-side-art-logo {
  width: min(320px, 78%);
  height: min(320px, 78%);
  object-fit: contain;
  /* Logo gorselinin kendi kare-oval kenarina uysun diye kırpiliyor — aksi
     halde kaynak gorselin kose bosluklari (koyu/siyaha yakin) sayfa
     arkaplanindan az farkli oldugu icin kare bir karalti gibi seciliyordu. */
  border-radius: 15%;
}

.launcher-side-art-title {
  font-size: 15px;
  font-weight: 700;
  color: #e6e8ee;
}

.launcher-side-art-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 20px 24px;
}

.noblecore-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noblecore-viewer-toolbar {
  position: absolute;
  top: 40px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}

.noblecore-viewer-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.noblecore-viewer-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
}

.noblecore-viewer-btn:disabled {
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.noblecore-viewer-close {
  color: #fff;
}

.noblecore-viewer-image-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noblecore-viewer-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: zoom-in;
  -webkit-user-drag: element;
  user-select: auto;
  transition: transform 0.15s ease;
}

.noblecore-viewer-image-zoomed {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  cursor: zoom-out;
}

.launcher-play-btn {
  width: 100%;
  padding: 28px 12px;
  background: #4f7cff;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.launcher-play-btn:hover {
  background: #3d69f0;
}

.launcher-play-btn:disabled {
  background: #2a2e3a;
  color: #7a8095;
  cursor: default;
}

.launcher-side-art-version {
  font-size: 10px;
  color: #6b7180;
}

.launcher-main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  /* Ust bosluk kaldirildi — hero banner soldaki dikey banner ile ayni
     yukseklikten baslasin diye (ikisi de .launcher-body'nin en ustunde). */
  padding: 0 28px 20px;
}

.launcher-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #23262f;
  margin-bottom: 28px;
}

.launcher-hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.launcher-featured h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aa1b3;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.launcher-featured-updating {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  color: #6b7080;
  animation: launcher-featured-pulse 1.4s ease-in-out infinite;
}

@keyframes launcher-featured-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .launcher-featured-updating {
    animation: none;
  }
}

.launcher-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.launcher-featured-card {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
  background: #181b23;
  border: 1px solid #23262f;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  font-family: inherit;
  cursor: default;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

button.launcher-featured-card {
  cursor: pointer;
}

button.launcher-featured-card:hover {
  border-color: #3a3f4e;
}

/* Uzun basliklar kartin boyunu bozmasin diye 2 satirda kesiliyor (...); imleci
   karta getirince tam basligi gorebilmek icin kart buyuyup one cikiyor. */
.launcher-featured-card:hover {
  transform: scale(1.045);
  z-index: 5;
  overflow: visible;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
}

.launcher-featured-card:hover .launcher-featured-title {
  -webkit-line-clamp: unset;
}

/* Gercek 80.lv/YouTube kapak gorseli gelene kadar tutucu (placeholder) tumbnail */
.launcher-featured-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #26314f 0%, #14161c 75%);
  border-bottom: 1px solid #23262f;
  overflow: hidden;
}

.launcher-featured-thumb-icon {
  font-size: 40px;
}

.launcher-featured-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.launcher-featured-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
}

.launcher-featured-body {
  padding: 12px 14px 16px;
}

.launcher-featured-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.launcher-featured-title {
  font-weight: 700;
  font-size: 14px;
  color: #e6e8ee;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Kisa basliklar tek satirda kalinca kart daha kisa oluyordu, thumbnail'ler
     hizadan kayiyordu — 2 satirlik yer her zaman ayrilsin diye min-height. */
  min-height: 2.7em;
}

/* ---- Right sidebar: recent projects (stands in for Battle.net's friend list) ---- */

.launcher-sidebar {
  width: 280px;
  flex-shrink: 0;
  border-left: 1px solid #23262f;
  background: #14161c;
  display: flex;
  flex-direction: column;
  padding: 16px 14px;
  overflow-y: auto;
}

.launcher-sidebar-header {
  font-size: 11px;
  font-weight: 700;
  color: #9aa1b3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.launcher-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.launcher-recent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.launcher-recent-row:hover {
  background: #1c1f28;
}

.launcher-recent-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #23262f;
  border-radius: 8px;
  font-size: 15px;
  object-fit: contain;
  padding: 3px;
  box-sizing: border-box;
}

.launcher-recent-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.launcher-recent-name {
  font-size: 13px;
  color: #e6e8ee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-recent-time {
  font-size: 11px;
  color: #6b7180;
}

.friends-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.friends-panel-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4f7cff;
  color: white;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.friends-panel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.friends-panel-user {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.friends-panel-username {
  font-size: 15px;
  font-weight: 700;
  color: #e6e8ee;
  display: flex;
  align-items: center;
  gap: 4px;
}

.friends-panel-chevron {
  font-size: 11px;
  color: #9aa1b3;
}

.friends-panel-status {
  font-size: 12px;
  color: #3ba55c;
}

.friends-panel-popout-btn {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #9aa1b3;
  font-size: 14px;
  cursor: pointer;
}

.friends-panel-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.friends-panel-icon-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: #1c1f28;
  color: #9aa1b3;
  font-size: 13px;
  cursor: pointer;
}

.friends-panel-search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.friends-panel-search {
  width: 100%;
  background: #1c1f28;
  border: none;
  border-radius: 6px;
  padding: 7px 26px 7px 10px;
  color: #e6e8ee;
  font-size: 12px;
  outline: none;
}

.friends-panel-search-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #6b7080;
  pointer-events: none;
}

.friends-section-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
}

.friends-section-chevron {
  font-size: 11px;
}

.friends-list {
  gap: 2px;
  margin-bottom: 12px;
}

.friend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
}

.friend-row:hover {
  background: #1c1f28;
}

.friend-row-offline .friend-row-name,
.friend-row-offline .friend-row-status {
  color: #6b7080;
}

.friend-row-offline .friend-row-avatar {
  background: #3a3f4e;
  opacity: 0.6;
}

.friend-row-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4f7cff;
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.friend-row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.friend-row-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6b7080;
  border: 2.5px solid #14161c;
}

.friend-row-status-dot-online {
  background: #3ba55c;
}

.friend-row-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.friend-row-name {
  font-size: 13px;
  font-weight: 600;
  color: #e6e8ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.friend-row-status {
  font-size: 11px;
  color: #8b909c;
}

.launcher-sidebar-footer-btn {
  margin-top: 12px;
  padding: 10px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  color: #9aa1b3;
  font-size: 12px;
  cursor: default;
}

/* ---- NobleTalk ana sayfasi (Discord'un "Arkadaslar" sayfasinin ayni duzeni) ---- */

.talkhome {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #1c1f28;
  color: #e6e8ee;
}

.talkhome-nav {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #14161c;
  padding: 10px 8px;
  overflow-y: auto;
}

.talkhome-back {
  align-self: flex-start;
  background: none;
  border: none;
  color: #9aa1b3;
  font-size: 12px;
  padding: 6px 4px 10px;
  cursor: pointer;
}

.talkhome-back:hover {
  color: #e6e8ee;
}

.talkhome-search-wrap {
  margin-bottom: 10px;
}

.talkhome-search {
  width: 100%;
  background: #23262f;
  border: none;
  border-radius: 4px;
  padding: 7px 10px;
  color: #dcddde;
  font-size: 13px;
  outline: none;
}

.talkhome-search::placeholder {
  color: #72767d;
}

.talkhome-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 8px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #9aa1b3;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.talkhome-nav-item:hover {
  background: #1c1f28;
  color: #e6e8ee;
}

.talkhome-nav-item-active {
  background: #2a2e3a;
  color: #e6e8ee;
}

.talkhome-nav-icon {
  font-size: 15px;
}

.talkhome-nav-label {
  margin: 16px 8px 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #72767d;
  text-transform: uppercase;
}

.talkhome-nav-empty {
  padding: 8px;
  font-size: 12px;
  color: #6b7080;
}

.talkhome-dm-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.talkhome-dm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: default;
}

.talkhome-dm-row:hover {
  background: #1c1f28;
}

.talkhome-dm-avatar,
.talkhome-friend-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4f7cff;
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talkhome-friend-avatar {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.talkhome-dm-avatar img,
.talkhome-friend-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.talkhome-dm-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6b7080;
  border: 2.5px solid #14161c;
}

.talkhome-friend-avatar .talkhome-dm-dot {
  border-color: #1c1f28;
}

.talkhome-dm-dot-online {
  background: #3ba55c;
}

.talkhome-dm-name {
  font-size: 13px;
  color: #dcddde;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.talkhome-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #23262f;
  border-right: 1px solid #23262f;
}

.talkhome-main-header {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  flex-shrink: 0;
  padding: 0 16px;
  border-bottom: 1px solid #23262f;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.talkhome-main-header-title {
  font-weight: 700;
  font-size: 15px;
}

.talkhome-tabbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 14px;
  border-left: 1px solid #3a3f4e;
}

.talkhome-tab {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #9aa1b3;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.talkhome-tab:hover {
  color: #e6e8ee;
}

.talkhome-tab-active {
  background: #23262f;
  color: #e6e8ee;
}

.talkhome-tab-add {
  margin-left: 4px;
  color: #3ba55c;
}

.talkhome-tab-add.talkhome-tab-active {
  background: #3ba55c;
  color: #fff;
}

.talkhome-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px 16px;
}

.talkhome-list-header {
  font-size: 12px;
  font-weight: 700;
  color: #9aa1b3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 6px 6px;
}

.talkhome-friend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 6px;
  border-radius: 6px;
  border-top: 1px solid #23262f;
}

.talkhome-friend-row:hover {
  background: #23262f;
}

.talkhome-friend-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.talkhome-friend-name {
  font-size: 14px;
  font-weight: 600;
  color: #e6e8ee;
}

.talkhome-friend-status {
  font-size: 12px;
  color: #8b909c;
}

.talkhome-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  color: #8b909c;
}

.talkhome-empty-title {
  font-size: 16px;
  font-weight: 700;
  color: #e6e8ee;
  margin-bottom: 6px;
}

.talkhome-empty p {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.talkhome-add {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 40px;
  gap: 12px;
}

.talkhome-add h3 {
  margin: 0;
  font-size: 17px;
  color: #e6e8ee;
}

.talkhome-add p {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.6;
  color: #9aa1b3;
  margin: 0;
}

.talkhome-activity {
  width: 300px;
  flex-shrink: 0;
  padding: 16px;
  overflow-y: auto;
}

.talkhome-activity h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  color: #9aa1b3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.talkhome-activity-empty {
  border: 1px dashed #2a2e3a;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
}

.talkhome-activity-empty-title {
  font-size: 13px;
  font-weight: 700;
  color: #9aa1b3;
  margin-bottom: 6px;
}

.talkhome-activity-empty p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7080;
}

@media (max-width: 1100px) {
  .talkhome-activity {
    display: none;
  }
}

@media (max-width: 820px) {
  .talkhome-nav {
    width: 200px;
  }
}

/* ---- Kanal Ayarlari (tam ekran) ---- */

.channel-settings-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 48px;
  animation: channel-settings-fade-in 0.12s ease both;
}

.channel-settings-overlay-closing {
  animation: channel-settings-fade-out 0.14s ease both;
}

.channel-settings-panel {
  width: 100%;
  height: 100%;
  max-width: 1440px;
  position: relative;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  animation: channel-settings-scale-in 0.12s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.channel-settings-overlay-closing .channel-settings-panel {
  animation: channel-settings-scale-out 0.14s cubic-bezier(0.4, 0, 0.6, 1) both;
}

@keyframes channel-settings-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes channel-settings-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes channel-settings-scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes channel-settings-scale-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

.channel-settings-nav {
  width: 232px;
  flex-shrink: 0;
  background: #14161c;
  padding: 60px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.channel-settings-nav-header {
  width: 100%;
  max-width: 180px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7080;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  margin-bottom: 4px;
}

.channel-settings-nav-item {
  width: 100%;
  max-width: 180px;
  text-align: left;
  padding: 7px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #b5bac1;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.channel-settings-nav-item:hover:not(:disabled) {
  background: #1c1f28;
  color: #e6e8ee;
}

.channel-settings-nav-item:disabled {
  opacity: 0.45;
  cursor: default;
}

.channel-settings-nav-item-active {
  background: #232734;
  color: #fff;
}

.channel-settings-nav-divider {
  width: 100%;
  max-width: 180px;
  height: 1px;
  background: #23262f;
  margin: 8px 0;
}

.channel-settings-nav-danger {
  color: #f2545b;
}

.channel-settings-nav-danger:hover:not(:disabled) {
  background: rgba(242, 84, 91, 0.1);
  color: #f2545b;
}

.channel-settings-body {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  background: #0f1015;
  padding: 60px 40px;
}

.channel-settings-close {
  position: absolute;
  top: 24px;
  right: 24px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #4a4f5c;
  background: transparent;
  color: #b5bac1;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.channel-settings-close:hover {
  border-color: #e6e8ee;
  color: #e6e8ee;
}

.channel-settings-close-x {
  font-size: 15px;
}

.channel-settings-close-label {
  font-size: 9px;
  font-weight: 700;
}

.channel-settings-content {
  width: 560px;
  flex-shrink: 0;
}

.channel-settings-content h2 {
  font-size: 20px;
  color: #e6e8ee;
  margin: 0 0 20px;
}

.channel-settings-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #b5bac1;
  margin: 20px 0 8px;
}

.channel-settings-input,
.channel-settings-select {
  width: 100%;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 6px;
  padding: 10px 12px;
  color: #e6e8ee;
  font-size: 14px;
  outline: none;
}

.channel-settings-topic-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  padding: 6px 8px;
}

.channel-settings-topic-toolbar button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #b5bac1;
  font-size: 13px;
  cursor: default;
}

.channel-settings-topic-toolbar-spacer {
  flex: 1;
}

.channel-settings-textarea {
  width: 100%;
  min-height: 120px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 0 0 6px 6px;
  padding: 10px 12px;
  color: #e6e8ee;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
}

.channel-settings-char-count {
  text-align: right;
  font-size: 11px;
  color: #6b7080;
  margin-top: 4px;
}

.channel-settings-hint {
  font-size: 12px;
  color: #6b7080;
  margin-top: 6px;
  line-height: 1.4;
}

.channel-settings-illustration {
  display: flex;
  justify-content: center;
  margin: 48px 0 20px;
  opacity: 0.7;
}

.channel-settings-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #23262f;
}

.channel-settings-radio-row:first-of-type {
  border-top: none;
}

.channel-settings-radio-row input {
  margin-top: 3px;
}

.channel-settings-radio-title {
  font-size: 14px;
  font-weight: 600;
  color: #e6e8ee;
}

.channel-settings-radio-desc {
  font-size: 12px;
  color: #8b909c;
  line-height: 1.4;
  margin-top: 2px;
}

.channel-settings-delete-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
}

/* ---- Kanal Izinleri sekmesi ---- */

.channel-permissions-content {
  width: 940px;
  max-width: calc(100vw - 420px);
}

.channel-permissions-subtitle {
  font-size: 14px;
  color: #9aa1b3;
  margin: 0 0 20px;
}

.channel-permissions-sync-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: #b5bac1;
  margin-bottom: 16px;
}

.channel-permissions-sync-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.channel-permissions-private-card {
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.channel-permissions-private-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.channel-permissions-lock-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.channel-permissions-private-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #e6e8ee;
}

.channel-permissions-private-desc {
  font-size: 12px;
  color: #8b909c;
  margin-top: 8px;
  line-height: 1.4;
}

.channel-permissions-switch {
  width: 40px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 11px;
  border: none;
  background: #4a4f5c;
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.channel-permissions-switch:disabled {
  cursor: default;
  opacity: 0.6;
}

.channel-permissions-switch-knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e6e8ee;
  transition: transform 0.15s ease;
}

.channel-permissions-switch-on {
  background: #3ba55c;
}

.channel-permissions-switch-on .channel-permissions-switch-knob {
  transform: translateX(18px);
}

.channel-permissions-advanced-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #e6e8ee;
  font-size: 18px;
  font-weight: 700;
  padding: 20px 0 16px;
  cursor: pointer;
}

.channel-permissions-advanced {
  display: flex;
  gap: 32px;
}

.channel-permissions-roles-col {
  width: 220px;
  flex-shrink: 0;
}

.channel-permissions-role-chip {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 6px;
  color: #b5bac1;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 4px;
}

.channel-permissions-role-chip-active {
  background: #232734;
  color: #e6e8ee;
  border-color: #3a3f4e;
}

.channel-permissions-help-link {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #6d9eff;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

.channel-permissions-help-link:hover {
  text-decoration: underline;
}

.channel-permissions-list-col {
  flex: 1;
  min-width: 0;
}

.channel-permissions-group h3 {
  font-size: 17px;
  color: #e6e8ee;
  margin: 0 0 12px;
}

.channel-permissions-group + .channel-permissions-group h3 {
  margin-top: 8px;
}

.channel-permissions-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid #23262f;
}

.channel-permissions-group h3 + .channel-permissions-row {
  border-top: none;
}

.channel-permissions-row-text {
  flex: 1;
  min-width: 0;
}

.channel-permissions-row-title {
  font-size: 14px;
  font-weight: 600;
  color: #e6e8ee;
}

.channel-permissions-row-desc {
  font-size: 12px;
  color: #8b909c;
  line-height: 1.5;
  margin-top: 4px;
}

.btn-danger {
  color: #ff8f97;
  border-color: #5a2a30;
}

.btn-danger-solid {
  background: #da373c;
  border-color: #da373c;
  color: white;
}

.btn-danger-solid:hover:not(:disabled) {
  background: #a12828;
  border-color: #a12828;
}

.noblecore-leave-modal {
  position: relative;
  padding-top: 32px;
}

.roles-back-btn {
  background: transparent;
  border: none;
  color: #9aa1b3;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
}

.roles-back-btn:hover {
  color: #e6e8ee;
}

.roles-default-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  margin-bottom: 20px;
}

.roles-default-card:hover {
  border-color: #3a3f4e;
}

.roles-default-card-text {
  flex: 1;
  min-width: 0;
}

.roles-default-card-title {
  font-weight: 700;
  font-size: 14px;
  color: #e6e8ee;
}

.roles-default-card-desc {
  font-size: 12px;
  color: #9aa1b3;
  margin-top: 2px;
}

.roles-default-card-chevron {
  font-size: 20px;
  color: #6a6f7d;
}

.roles-list-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3a3f4e;
  color: #dbdee1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roles-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.roles-search {
  flex: 1;
  margin-bottom: 0;
}

.roles-hint {
  font-size: 12px;
  color: #8b909c;
  line-height: 1.5;
  margin: 0 0 16px;
}

.roles-list-card {
  background: #14161c;
  border: 1px solid #2a2e3a;
  border-radius: 10px;
}

.roles-list-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9aa1b3;
  border-bottom: 1px solid #2a2e3a;
}

.roles-list-empty {
  padding: 20px 16px;
  font-size: 13px;
  color: #8b909c;
}

.roles-list-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #1c1f28;
}

.roles-list-row:last-child {
  border-bottom: none;
}

.roles-list-row-dragover {
  background: #1c1f28;
}

.roles-list-drag {
  color: #4a4f5c;
  cursor: grab;
  font-size: 14px;
  flex-shrink: 0;
}

.roles-list-name {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: #dbdee1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roles-list-members {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #9aa1b3;
  flex-shrink: 0;
  min-width: 60px;
}

.roles-list-edit-btn {
  background: transparent;
  border: none;
  color: #9aa1b3;
  font-size: 15px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.roles-list-edit-btn:hover {
  color: #e6e8ee;
  background: #232734;
}

.perm-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.perm-toggle-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perm-toggle-deny {
  color: #f2545b;
}

.perm-toggle-neutral {
  color: #b5bac1;
}

.perm-toggle-allow {
  color: #3ba55c;
}

.perm-toggle-btn-active {
  background: #2a2e3a;
}

.perm-toggle-deny.perm-toggle-btn-active {
  background: rgba(242, 84, 91, 0.15);
}

.perm-toggle-allow.perm-toggle-btn-active {
  background: rgba(59, 165, 92, 0.15);
}

/* ---- Kullanici Ayarlari ---- */

.user-settings-nav {
  overflow-y: auto;
  justify-content: flex-start;
}

.user-settings-nav-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.user-settings-nav-group:last-of-type .channel-settings-nav-divider {
  display: none;
}

.user-settings-nav-item-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.user-settings-account-subnav {
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  margin: 2px 0 4px;
}

.user-settings-account-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 6px 10px 6px 18px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #949aa8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.user-settings-account-subitem:hover {
  color: #e6e8ee;
}

.user-settings-subitem-bar {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: transparent;
  flex-shrink: 0;
}

.user-settings-account-subitem-active {
  color: #fff;
}

.user-settings-account-subitem-active .user-settings-subitem-bar {
  background: #fff;
}

.user-settings-nav-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #4f7cff;
  color: white;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  vertical-align: middle;
}

.user-settings-content {
  width: 700px;
}

.user-settings-page-label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7080;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.user-settings-content h2 {
  font-size: 20px;
  color: #e6e8ee;
  margin: 32px 0 16px;
}

.user-settings-content h2:first-of-type {
  margin-top: 4px;
}

.user-settings-warning-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(217, 154, 60, 0.1);
  border: 1px solid #5a4a2a;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.user-settings-warning-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.user-settings-warning-title {
  font-size: 14px;
  font-weight: 700;
  color: #e6e8ee;
}

.user-settings-warning-desc {
  font-size: 12px;
  color: #b5bac1;
  margin-top: 2px;
  line-height: 1.4;
  flex: 1;
}

.user-settings-warning-banner .btn {
  flex-shrink: 0;
}

.user-settings-email-verify-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.user-settings-email-resend-msg {
  font-size: 12px;
  color: #6fcf97;
  margin-top: 6px;
}

.user-settings-email-verified-badge {
  margin-left: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #6fcf97;
}

.user-settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid #23262f;
}

.user-settings-row:first-of-type {
  border-top: none;
}

.user-settings-row-label {
  width: 180px;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #b5bac1;
}

.user-settings-row-value {
  flex: 1;
  font-size: 14px;
  color: #e6e8ee;
}

.user-settings-row-value-muted {
  color: #8b909c;
}

.user-settings-avatar-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #4f7cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-settings-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-settings-avatar-error {
  color: #e8735f;
  font-size: 12px;
  margin-top: -8px;
  margin-bottom: 8px;
}

.user-settings-2fa-panel {
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  padding: 16px;
  margin: 4px 0 16px;
}

.user-settings-2fa-panel h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #e6e8ee;
}

.user-settings-2fa-panel p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #949aa8;
  line-height: 1.5;
}

.user-settings-2fa-panel .key-input {
  margin-bottom: 0;
}

.user-settings-2fa-qr {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #fff;
}

.user-settings-2fa-secret {
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #b5bac1;
  background: #14161c;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 12px;
  word-break: break-all;
}

.user-settings-2fa-backup-codes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  background: #14161c;
  border-radius: 6px;
  padding: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  color: #e6e8ee;
  letter-spacing: 0.04em;
}

.avatar-crop-overlay {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.avatar-crop-panel {
  background: #1b1e26;
  border: 1px solid #2e323d;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.avatar-crop-panel h3 {
  margin: 0;
  font-size: 15px;
  color: #e6e8ee;
}

.avatar-crop-viewport {
  position: relative;
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
  background: #0d0e12;
  cursor: grab;
}

.avatar-crop-viewport:active {
  cursor: grabbing;
}

.avatar-crop-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2000px rgba(6, 7, 10, 0.55);
}

.avatar-crop-zoom {
  width: 220px;
}

.avatar-crop-actions {
  display: flex;
  gap: 8px;
}

.user-settings-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #23262f;
}

.user-settings-toggle-row:first-of-type {
  border-top: none;
}

.user-settings-toggle-title {
  font-size: 14px;
  font-weight: 700;
  color: #e6e8ee;
  margin-bottom: 4px;
}

.user-settings-toggle-desc {
  font-size: 13px;
  color: #949aa8;
  line-height: 1.5;
}

.user-settings-section-desc {
  font-size: 13px;
  color: #949aa8;
  margin: -8px 0 16px;
  line-height: 1.5;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #3a3d47;
  border: none;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.15s ease;
}

.toggle-switch-on {
  background: #5b6dfb;
}

.toggle-switch-on::after {
  left: 20px;
}

.toggle-switch-disabled {
  opacity: 0.7;
  cursor: default;
}

.user-settings-radio-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-settings-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: default;
}

.user-settings-radio-row-clickable {
  cursor: pointer;
}

.user-settings-radio-row-clickable input[type='radio'] {
  cursor: pointer;
}

.user-settings-slider {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: #3a3d47;
  margin-top: 10px;
}

.user-settings-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  border-radius: 2px;
  background: #5b6dfb;
}

.user-settings-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
}

.user-settings-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 8px 0 20px;
}

.user-settings-select-wide {
  width: 100%;
  padding: 10px 14px;
  justify-content: space-between;
  display: inline-flex;
  align-items: center;
}

.user-settings-swatch-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.user-settings-swatch {
  width: 90px;
  height: 64px;
  border-radius: 6px;
  background: #1c1f28;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #949aa8;
  cursor: default;
  flex-direction: column;
  gap: 4px;
}

.user-settings-swatch-active {
  border-color: #5b6dfb;
  color: #e6e8ee;
}

.user-settings-waveform {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 20px;
  overflow: hidden;
}

.user-settings-waveform span {
  width: 3px;
  height: 60%;
  border-radius: 2px;
  background: #3a3d47;
  flex-shrink: 0;
}

.user-settings-select {
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid #3a3d47;
  background: #1c1f28;
  color: #e6e8ee;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

.user-settings-radio-row input[type='radio'] {
  margin-top: 3px;
  accent-color: #5b6dfb;
  flex-shrink: 0;
}

.user-settings-fake-link {
  color: #7c8cfb;
  cursor: default;
}

.user-settings-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 20px;
  cursor: default;
}

.user-settings-related-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #14161c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
  color: #b5bac1;
  font-weight: 700;
}

.user-settings-related-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-settings-related-card > div {
  flex: 1;
}

.user-settings-related-chevron {
  color: #6b7080;
  font-size: 18px;
  flex-shrink: 0;
}

.user-settings-filter-layout {
  display: flex;
  gap: 32px;
  margin: 16px 0;
}

.user-settings-filter-subnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 200px;
  flex-shrink: 0;
}

.user-settings-filter-subitem {
  text-align: left;
  padding: 8px 12px;
  border: none;
  border-left: 2px solid transparent;
  background: transparent;
  color: #949aa8;
  font-size: 14px;
  cursor: pointer;
}

.user-settings-filter-subitem:hover {
  color: #e6e8ee;
}

.user-settings-filter-subitem-active {
  border-left-color: #5b6dfb;
  color: #fff;
  font-weight: 600;
}

.user-settings-filter-rows {
  flex: 1;
  min-width: 0;
}

.user-settings-dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #23262f;
}

.user-settings-dropdown-row:first-child {
  border-top: none;
}

.user-settings-dropdown-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 4px;
  border: none;
  background: #1c1f28;
  color: #e6e8ee;
  font-size: 13px;
  cursor: default;
  flex-shrink: 0;
}

.user-settings-dropdown-value-wide {
  width: 100%;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
}

.user-settings-empty-card {
  background: #1c1f28;
  border: 1px dashed #3a3d47;
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  margin: 12px 0;
}

.user-settings-empty-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #949aa8;
  margin-bottom: 6px;
}

.user-settings-status-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #1c1f28;
  border: 1px solid #23262f;
  border-radius: 8px;
  padding: 16px;
}

.user-settings-status-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(59, 165, 92, 0.15);
  color: #3ba55c;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-settings-status-title {
  font-size: 14px;
  font-weight: 700;
  color: #e6e8ee;
}

.user-settings-status-desc {
  font-size: 12px;
  color: #8b909c;
  margin-top: 4px;
  line-height: 1.4;
}

/* ---- Kullanici profil kartciği (popover) ---- */

.user-profile-popover {
  position: fixed;
  width: 300px;
  background: #1c1f28;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 60;
  animation: channel-settings-fade-in 0.1s ease both;
}

.user-profile-popover-banner {
  position: relative;
  height: 72px;
  background: linear-gradient(135deg, #4f7cff, #6f5fe0);
}

.user-profile-popover-avatar-wrap {
  position: absolute;
  left: 16px;
  bottom: -28px;
}

.user-profile-popover-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 5px solid #1c1f28;
  background: #4f7cff;
  color: white;
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.user-profile-popover-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-dot.user-profile-popover-status-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
}

.user-profile-popover-bubble {
  position: absolute;
  top: 16px;
  left: 116px;
  right: 16px;
  background: #2a2e3a;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-style: italic;
  color: #9aa1b3;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-profile-popover-bubble-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #3a3f4e;
  color: #e6e8ee;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile-popover-body {
  padding: 36px 16px 12px;
}

.user-profile-popover-name {
  font-size: 18px;
  font-weight: 700;
  color: #e6e8ee;
}

.user-profile-popover-tag {
  font-size: 13px;
  color: #9aa1b3;
  margin-bottom: 12px;
}

.user-profile-popover-boost-card {
  border: 1px solid #4f7cff;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.user-profile-popover-boost-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #e6e8ee;
  margin-bottom: 8px;
}

.user-profile-popover-boost-close {
  border: none;
  background: transparent;
  color: #9aa1b3;
  cursor: pointer;
  font-size: 12px;
  padding: 0;
}

.user-profile-popover-boost-actions {
  display: flex;
  gap: 6px;
}

.user-profile-popover-boost-btn {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 6px;
  background: #2a2e3a;
  color: #e6e8ee;
  font-size: 12px;
  cursor: pointer;
}

.user-profile-popover-boost-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.user-profile-popover-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-top: 1px solid #23262f;
  background: transparent;
  color: #e6e8ee;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
}

.user-profile-popover-row:hover:not(:disabled) {
  background: #23262f;
}

.user-profile-popover-row:disabled {
  color: #6b7080;
  cursor: default;
}

.user-profile-popover-row-icon {
  flex-shrink: 0;
  font-size: 14px;
}

.user-profile-popover-row-chevron {
  margin-left: auto;
  color: #6b7080;
}

/* ---- Durum noktasi (online/idle/dnd/invisible) ---- */

.status-dot {
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3ba55c;
  position: relative;
}

.status-dot-online {
  background: #3ba55c;
}

.status-dot-idle {
  background: #faa61a;
  overflow: hidden;
}

.status-dot-idle::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: #1c1f28;
}

.status-dot-dnd {
  background: #f23f42;
}

.status-dot-dnd::after {
  content: '';
  position: absolute;
  top: 42%;
  left: 22%;
  right: 22%;
  height: 16%;
  border-radius: 1px;
  background: #1c1f28;
}

.status-dot-invisible {
  background: #1c1f28;
  border: 2px solid #80848e;
  box-sizing: border-box;
}

.status-dot-ring {
  border: 3px solid #1c1f28;
  box-sizing: content-box;
}

/* ---- Durum secim flyout menusu ---- */

.user-status-menu {
  position: fixed;
  width: 260px;
  background: #1c1f28;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 70;
  animation: channel-settings-fade-in 0.1s ease both;
}

.user-status-menu-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: #e6e8ee;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
}

.user-status-menu-row:hover {
  background: #23262f;
}

.user-status-menu-row-dot {
  margin-top: 3px;
}

.user-status-menu-row-desc {
  font-size: 11px;
  color: #8b909c;
  margin-top: 2px;
  line-height: 1.3;
}

.user-status-menu-row-chevron {
  margin-left: auto;
  color: #6b7080;
}

.user-status-duration-menu {
  position: fixed;
  width: 180px;
  background: #1c1f28;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 80;
  animation: channel-settings-fade-in 0.1s ease both;
}

.user-status-duration-menu-row {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: none;
  background: transparent;
  color: #e6e8ee;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
}

/* ---- Ses baglantisi banner'indaki mikrofon hatasi ---- */
/* (eskiden ayri bir "ses kanali paneli" ekraninda gosteriliyordu — ses
   kanalina tiklamak artik metin sohbetinin yerini almadigi icin, hata
   mesaji alttaki her zaman gorunur baglanti banner'ina tasindi.) */

.noblecore-voice-banner-mic-error {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(237, 66, 69, 0.12);
  color: #f3979a;
  font-size: 11.5px;
  line-height: 1.4;
}

.noblecore-voice-channel-group {
  margin-bottom: 2px;
}

.noblecore-voice-elapsed {
  flex-shrink: 0;
  font-size: 11px;
  color: #3ba55c;
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.noblecore-voice-participant-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 8px 3px 26px;
}

.noblecore-voice-participant-avatar {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4f7cff;
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.noblecore-voice-participant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noblecore-voice-participant-name {
  font-size: 12px;
  color: #9aa1b3;
}

.user-status-duration-menu-row:hover {
  background: #23262f;
}

/* ---- NobleCore web (tarayici) surumu — sadece giris/bos durum ekranlari,
   sunucu ici gorunum zaten .launcher-*/.noblecore-* siniflarini paylasiyor ---- */

.web-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #26314f 0%, #14161c 70%);
}

.web-landing-card {
  text-align: center;
  max-width: 360px;
  padding: 40px;
}

.web-landing-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.web-landing-card h1 {
  font-size: 28px;
  margin: 0 0 10px;
  color: #e7e9ee;
}

.web-landing-card p {
  color: #9aa1b3;
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
}

.web-landing-cta {
  padding: 12px 28px;
  font-size: 15px;
}

.web-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: #9aa1b3;
}

.web-empty-state-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin-bottom: 18px;
  opacity: 0.8;
}

.web-empty-state h2 {
  color: #e7e9ee;
  font-size: 20px;
  margin: 0 0 8px;
}

.web-empty-state p {
  font-size: 14px;
  margin: 0 0 20px;
  max-width: 340px;
}

/* Sadece mobil genislikte gorunur (asagidaki @media icinde display:flex
   yapiliyor) — masaustunde uc panel zaten yan yana oldugu icin gereksiz.
   Bu kural media query'DEN ONCE tanimlanmis olmali: ayni ozgullukte
   (tek sinif) iki kural catisirsa CSS, media query icinde olup olmadigina
   bakmadan dosyadaki SIRAYA gore kazanani secer — sonra gelen kazanir. */
.noblecore-mobile-tabbar {
  display: none;
  background: #14161c;
  border-top: 1px solid #23262f;
}

.noblecore-mobile-tab {
  flex: 1;
  padding: 10px 4px;
  background: transparent;
  border: none;
  color: #9aa1b3;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.noblecore-mobile-tab-active {
  color: #4f7cff;
}

/* ---- Mobil sohbet gorunumu (Discord mobil web'i gibi tek panelli gezinme) ----
   Masaustunde .noblecore-view uc panel yan yana (kanal listesi + sohbet +
   uye listesi, toplam sabit genislikleri 375-414px'lik bir telefon ekranina
   hic sigmiyordu). Mobilde sadece TEK panel gorunur, hangisinin gorundugunu
   NobleCoreView.jsx'teki "mobileSection" state'i (channels/chat/members)
   belirliyor — .noblecore-view'e "mobile-section-<deger>" sinifi olarak
   yansiyor. Alt sekme cubugu (.noblecore-mobile-tabbar) bu ucu arasinda
   gezinmeyi sagliyor, sohbet icindeyken de "←" butonu (.noblecore-chat-back-btn)
   kanal listesine donduruyor. */
@media (max-width: 768px) {
  .launcher-server-rail {
    width: 56px;
    padding: 8px 0;
  }

  .launcher-rail-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .launcher-rail-brand {
    width: 44px;
    height: 44px;
    margin-top: 8px;
  }

  .launcher-rail-brand .launcher-rail-brand-icon {
    width: 38px;
    height: 38px;
  }

  .noblecore-channel-sidebar {
    width: 100% !important;
  }

  .noblecore-sidebar-resize-handle {
    display: none;
  }

  .noblecore-member-sidebar {
    width: 100% !important;
  }

  .noblecore-view:not(.mobile-section-channels) .noblecore-channel-sidebar {
    display: none;
  }

  .noblecore-view:not(.mobile-section-chat) .noblecore-chat {
    display: none;
  }

  .noblecore-view:not(.mobile-section-members) .noblecore-member-sidebar {
    display: none;
  }

  .noblecore-chat-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .noblecore-mobile-tabbar {
    display: flex;
    flex-shrink: 0;
  }

  /* .noblecore-bottom-panel (kullanici paneli + ses banner'i) "position:fixed;
     bottom:8px" ile ekranin gercek altina sabitleniyor (bkz. tanimi) — bu,
     akisin icinde olan .noblecore-mobile-tabbar'in USTUNE biniyordu. Mobilde
     tabbar'in yuksekligi kadar yukari itiyoruz ki ikisi ust uste binmesin. */
  .noblecore-bottom-panel {
    bottom: 45px;
  }
}
