:root {
  --paper: #e6eaf0;
  --panel: #f6f8fb;
  --line: #d1d8e2;
  --ink: #141c2b;
  --muted: #586374;
  --navy: #1c2d57;
  --navy-2: #2a4383;
  --rubber: #c6cbd3;
  --lcd: #a8c48a;
  --lcd-ink: #1e2a16;
  --amber: #e89a1f;
  --amber-ink: #3b2400;
  --err: #b4321f;
  --focus: #2a63d4;
  --radius: 14px;
  --display: "Pixelify Sans", ui-monospace, monospace;
  --body: "Onest", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d1320;
    --panel: #141c2c;
    --line: #26324a;
    --ink: #e5eaf2;
    --muted: #94a1b6;
    --navy: #8fa7e6;
    --focus: #7fa5ff;
    --err: #ff8a73;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 15px/1.55 var(--body);
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 0);
  background-size: 22px 22px;
}
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
code, kbd { font: 12.5px var(--mono); }
kbd { padding: 1px 5px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--panel); }

.page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
@media (max-width: 920px) { .page { grid-template-columns: 1fr; gap: 20px; padding: 18px 16px 48px; } }

/* ============ TELEFON ============ */
.stage { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 14px; }
@media (max-width: 920px) { .stage { position: static; } }
.stage-hint { margin: 0; max-width: 290px; font-size: 13px; color: var(--muted); text-align: center; }
.phone { position: relative; width: 260px; height: 560px; flex: none; filter: drop-shadow(0 22px 28px rgba(12, 22, 52, .32)) drop-shadow(0 3px 4px rgba(12, 22, 52, .3)); }
.shell { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand { position: absolute; top: 40px; left: 0; right: 0; text-align: center; font: 600 10px var(--display); letter-spacing: .38em; color: rgba(225, 233, 255, .72); }

.lcd {
  position: absolute; left: 50px; top: 82px; width: 160px; height: 120px; border-radius: 6px;
  background:
    repeating-linear-gradient(0deg, rgba(30, 42, 22, .05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(30, 42, 22, .05) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at 50% 30%, #b9d29c, var(--lcd) 70%);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .2);
  color: var(--lcd-ink); font-family: var(--display); padding: 6px 8px; display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden;
  text-shadow: 1px 1px 0 rgba(30, 42, 22, .14);
}
.lcd.lit { background-color: #bfe39a; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 18px rgba(170, 230, 120, .5); }
.lcd-status { display: flex; align-items: center; justify-content: space-between; font-size: 10px; line-height: 1; height: 12px; }
.bars, .batt { display: flex; align-items: flex-end; gap: 1px; height: 10px; }
.bars i { width: 3px; background: var(--lcd-ink); }
.bars i:nth-child(1) { height: 3px; } .bars i:nth-child(2) { height: 5px; } .bars i:nth-child(3) { height: 7px; } .bars i:nth-child(4) { height: 10px; }
.batt i { width: 6px; height: 3px; background: var(--lcd-ink); }
.batt { flex-direction: column; align-items: flex-end; justify-content: flex-end; }
.batt i:nth-child(1) { width: 4px; } .batt i:nth-child(3) { width: 8px; }
.lcd-title { font-size: 13px; font-weight: 700; letter-spacing: .04em; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.lcd-body { font-size: 13px; line-height: 1.25; word-spacing: 2px; overflow: hidden; display: flex; flex-wrap: wrap; align-content: flex-end; gap: 0 5px; padding-bottom: 2px; }
.lcd-body .cur { display: inline-block; width: 6px; height: 12px; background: var(--lcd-ink); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.lcd-body.eq { align-items: flex-end; flex-wrap: nowrap; gap: 3px; height: 100%; }
.lcd-body.eq i { flex: 1; background: var(--lcd-ink); min-height: 2px; transition: height 60ms linear; }
.lcd-soft { text-align: center; font-size: 12px; font-weight: 600; border-top: 1px dotted rgba(30, 42, 22, .4); padding-top: 1px; }
@keyframes blink { 50% { opacity: 0; } }

.navi { position: absolute; top: 236px; left: 24px; right: 24px; height: 72px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; }
.phone button { cursor: pointer; border: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.key-navi {
  height: 44px; border-radius: 50% / 60%; color: #12204a; font: 700 12px var(--display); letter-spacing: .06em;
  background: linear-gradient(#e9edf3, #aab3c1); box-shadow: 0 3px 0 #5d6779, 0 5px 8px rgba(0, 0, 0, .35), inset 0 1px 0 #fff;
}
.key-c {
  height: 34px; border-radius: 12px 6px 6px 16px; font: 700 14px var(--body); color: #12204a;
  background: linear-gradient(#dfe3ea, #a3acba); box-shadow: 0 3px 0 #5d6779, 0 4px 6px rgba(0, 0, 0, .3), inset 0 1px 0 #fff;
}
.rocker { display: grid; grid-template-rows: 1fr 1fr; height: 54px; border-radius: 8px 14px 14px 8px; overflow: hidden; box-shadow: 0 3px 0 #5d6779, 0 4px 6px rgba(0, 0, 0, .3); }
.rocker button { background: linear-gradient(#dfe3ea, #b0b8c5); font-size: 9px; color: #12204a; }
.rocker button + button { background: linear-gradient(#b0b8c5, #9aa3b2); border-top: 1px solid #7d8698; }

.pad { position: absolute; top: 324px; left: 30px; right: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; }
.pad button {
  height: 40px; border-radius: 18px 18px 22px 22px / 16px 16px 24px 24px;
  background: linear-gradient(#e2e6ec, var(--rubber) 60%, #a9b0bc);
  box-shadow: 0 3px 0 #59637a, 0 5px 7px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
  display: flex; align-items: center; justify-content: center; gap: 5px; color: #12204a;
  transition: transform 60ms, box-shadow 60ms;
}
.pad b { font: 700 17px var(--body); }
.pad small { font: 500 9px var(--body); color: #3c4a6e; letter-spacing: .02em; }
.phone button:active, .phone button.down { transform: translateY(2px); box-shadow: 0 1px 0 #59637a, 0 2px 3px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .7); }

/* ============ TEZGAH ============ */
.bench { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.word { font: 700 36px/1 var(--display); margin: 0; letter-spacing: -.01em; color: var(--navy); white-space: nowrap; }
.word::after { content: "♪♫"; font-size: .45em; vertical-align: super; margin-left: .12em; color: var(--amber); }
.lede { margin: 6px 0 0; font-size: 15.5px; max-width: 52ch; color: var(--muted); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
h2 { font: 600 17px var(--body); margin: 0; }
h3 { font: 600 15px var(--body); margin: 0; }
.sub { margin: 18px 0 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.note { margin: 2px 0 12px; font-size: 13.5px; color: var(--muted); max-width: 70ch; }
.note code { background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 0 4px; border-radius: 4px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.row.tight { margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--navy-2); background: var(--navy-2); color: #fff; font-weight: 600; font-size: 14px;
}
@media (prefers-color-scheme: dark) { .btn { background: #3554a3; border-color: #3554a3; } }
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); filter: none; }
.btn.sm { padding: 5px 11px; font-size: 13px; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btn.play { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); padding: 9px 18px; font-size: 15px; }
.link { color: var(--focus); text-decoration: underline; cursor: pointer; }

.f { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; min-width: 0; }
.f > span { font-size: 12px; font-weight: 600; color: var(--muted); }
input:not([type]), input[type="number"], textarea, select {
  background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; width: 100%; min-width: 0;
}
textarea { resize: vertical; }
.code { font: 13px/1.6 var(--mono); }
.err { color: var(--err); font-size: 13px; margin: 8px 0 0; }

/* sarki cubugu */
.transport { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; padding-top: 8px; }
.transport .f { margin-top: 8px; }
.tempo-row { display: flex; gap: 10px; align-items: center; }
.tempo-row input[type="number"] { width: 72px; flex: none; font-family: var(--mono); }
input[type="range"] { flex: 1; accent-color: var(--amber); min-width: 0; }
.tbtns { display: flex; gap: 12px; align-items: center; }
.toggle { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; cursor: pointer; }
.toggle input { accent-color: var(--amber); width: 16px; height: 16px; }
@media (max-width: 680px) { .transport { grid-template-columns: 1fr; } }

/* kanallar */
.tracks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tr {
  display: grid; grid-template-columns: 22px minmax(90px, 1fr) 118px 110px auto; gap: 10px; align-items: center;
  padding: 7px 10px; border-radius: 11px; border: 1px solid transparent; cursor: pointer;
}
.tr:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.tr.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, transparent); }
.tr .sw { width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); justify-self: center; }
.tr input.tn { padding: 5px 8px; background: transparent; border-color: transparent; font-weight: 600; }
.tr input.tn:focus { background: var(--paper); border-color: var(--line); }
.tr select { padding: 5px 8px; }
.tr .tv { display: flex; align-items: center; gap: 6px; }
.tr .tv input { accent-color: var(--c); }
.tr .tb { display: flex; gap: 4px; }
.mini { width: 30px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 600 11px var(--mono); color: var(--muted); }
.mini.act { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.mini.del:hover { color: var(--err); border-color: var(--err); }
@media (max-width: 680px) {
  .tr { grid-template-columns: 22px 1fr auto; row-gap: 6px; }
  .tr select { grid-column: 2; }
  .tr .tv { grid-column: 3; grid-row: 2; }
  .tr .tb { grid-column: 2 / 4; justify-content: flex-end; }
}

/* sureler */
.durs { display: flex; gap: 4px; flex-wrap: wrap; }
.durs button { min-width: 38px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: transparent; cursor: pointer; font: 500 12px var(--mono); padding: 0 8px; }
.durs button svg { width: 14px; height: 18px; fill: currentColor; vertical-align: middle; }
.durs button.act { background: var(--ink); color: var(--panel); border-color: var(--ink); }

/* nota kagidi */
.roll { height: 380px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overscroll-behavior: contain; }
.roll-in { display: flex; width: max-content; }
#keys { position: sticky; left: 0; z-index: 2; flex: none; }
#grid { flex: none; cursor: crosshair; touch-action: pan-x pan-y; }

.pill { font: 500 12px var(--mono); padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.pill.ok { color: #24733f; border-color: #8cc79e; background: #e5f4e9; }
@media (prefers-color-scheme: dark) { .pill.ok { color: #8fe0a8; border-color: #2f6a43; background: #12261a; } }

/* yapay zeka */
.prompt { margin-top: 10px; }
.prompt summary { cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 600; }
.prompt textarea { margin-top: 8px; }

/* disa aktar */
.exports { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ex { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; background: var(--paper); min-width: 0; }
.ex p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.ex .row { margin-top: 0; }
.tag { font: 500 10.5px var(--mono); padding: 2px 7px; border-radius: 99px; background: var(--amber); color: var(--amber-ink); vertical-align: 2px; margin-left: 4px; }
.out { display: block; width: 100%; max-height: 92px; overflow: auto; padding: 8px 10px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); word-break: break-all; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }

/* iceri al */
.drop { border: 1.5px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; font-size: 14px; color: var(--muted); transition: background .15s, border-color .15s; }
.drop p { margin: 0; }
.drop.over { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }

/* kutuphane */
.lib { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.lib li { display: flex; align-items: center; gap: 10px; padding: 6px 4px 6px 10px; border-radius: 10px; }
.lib li:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.lib .ln { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib .lm { font: 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.lib .empty { color: var(--muted); font-size: 13.5px; padding-left: 0; }
.lib .empty:hover { background: none; }

.foot { font-size: 13px; color: var(--muted); padding: 6px 2px; }
.foot a { color: inherit; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--lcd); color: var(--lcd-ink); font: 600 14px var(--display); padding: 9px 16px; border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .2); transition: opacity .2s, transform .2s; z-index: 10;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}



/* ============ AKIS ============ */

.sorts { display: inline-flex; gap: 4px; }
.sorts button { border: 1px solid var(--line); background: transparent; cursor: pointer; border-radius: 99px; padding: 5px 13px; font: 600 13px var(--body); color: var(--muted); }
.sorts button[aria-pressed="true"] { background: var(--ink); color: var(--panel); border-color: var(--ink); }

.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--lcd-ink) 30%, var(--line)); box-shadow: 0 10px 24px rgba(12, 22, 52, .12); }
.tile.fresh { animation: fresh 1.6s ease-out; }
@keyframes fresh { from { box-shadow: 0 0 0 4px color-mix(in srgb, var(--lcd) 80%, transparent); } }
.tile-lcd { position: relative; padding: 10px 10px 0; cursor: pointer; }
.tile-lcd .thumb { height: 92px; }
.tile-lcd .pp { position: absolute; right: 18px; bottom: -18px; }
.tile-body { display: block; padding: 12px 14px 12px; text-decoration: none; color: inherit; }
.tile-body h3 { font: 600 16px var(--body); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 44px; }
.tile-body:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.stats { display: flex; gap: 12px; margin: 8px 0 0; font: 500 12px var(--mono); color: var(--muted); flex-wrap: wrap; }
.stats span { display: inline-flex; align-items: center; gap: 4px; }
.stats svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.stats .on { color: #d33a4f; } .stats .on svg { fill: currentColor; }
.pp {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--amber); color: var(--amber-ink); box-shadow: 0 2px 0 color-mix(in srgb, var(--amber) 55%, #000), 0 4px 10px rgba(0, 0, 0, .2);
}
.pp svg { width: 16px; height: 16px; fill: currentColor; }
.pp.on { background: var(--lcd); color: var(--lcd-ink); box-shadow: 0 2px 0 color-mix(in srgb, var(--lcd) 55%, #000), 0 4px 10px rgba(0, 0, 0, .2); }
.thumb { width: 100%; height: 54px; border-radius: 8px; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pt h3 { font: 600 17px var(--body); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.by { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.by b { color: var(--ink); font-weight: 600; }
.act { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 7px 13px; cursor: pointer; font: 600 13.5px var(--body); color: var(--ink); }
.act:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.act.like[aria-pressed="true"] { color: #d33a4f; border-color: color-mix(in srgb, #d33a4f 50%, var(--line)); background: color-mix(in srgb, #d33a4f 9%, transparent); }
.act.like[aria-pressed="true"] svg { fill: currentColor; }
.act.quiet { color: var(--muted); }

/* detay */
.back { align-self: flex-start; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; padding: 4px 0; }
.back:hover { color: var(--ink); }
.d-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.d-lcd { padding: 10px; border-radius: 14px; background: linear-gradient(#cfd5de, #8e97a6); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.d-lcd .thumb { height: 170px; }
.d-info h1 { font: 700 30px/1.1 var(--body); letter-spacing: -.01em; margin: 0; overflow-wrap: anywhere; }
.d-info .by { font-size: 14px; margin-top: 8px; }
.d-tracks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.d-tracks li { font: 600 12.5px var(--body); padding: 3px 9px 3px 7px; border-radius: 99px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.d-tracks li::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.d-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.d-acts .btn.play svg { width: 14px; height: 14px; }
.count { font: 500 14px var(--mono); color: var(--muted); }
.detail .cform { margin: 12px 0 14px; }
.cmts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cmt { font-size: 14.5px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cmt:last-child { border-bottom: 0; padding-bottom: 0; }
.cmt .ch { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.cmt .ch b { color: var(--ink); font-size: 14px; }
.cmt .ch button { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.cmt p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cform { display: flex; gap: 8px; align-items: flex-end; }
@media (max-width: 760px) {
  .d-hero { grid-template-columns: 1fr; padding: 14px; gap: 16px; }
  .d-lcd .thumb { height: 120px; }
  .d-info h1 { font-size: 26px; }
}
.detail pre.out { max-height: 260px; }

.empty-feed { text-align: center; padding: 36px 20px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty-feed b { display: block; font: 600 22px var(--display); color: var(--ink); margin-bottom: 6px; }

/* pencereler */
.dlg { border: 1px solid var(--line); border-radius: 16px; padding: 22px; width: min(400px, calc(100vw - 32px)); background: var(--panel); color: var(--ink); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.dlg::backdrop { background: rgba(10, 16, 30, .55); backdrop-filter: blur(2px); }
.dlg h2 { font-size: 20px; }
.dlg p { margin: 6px 0 12px; color: var(--muted); font-size: 14px; }
.dlg input { font-size: 16px; }
.ring .seg { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; margin: 10px 0 4px; }
.ring .seg button { flex: 1; border: 0; background: transparent; color: var(--muted); font: 600 13px var(--body); padding: 6px 8px; border-radius: 99px; cursor: pointer; }
.ring .seg button[aria-selected="true"] { background: var(--ink); color: var(--panel); }
.ring .steps { margin: 12px 0 16px; padding-left: 20px; font-size: 14px; line-height: 1.5; }
.ring .steps li { margin: 6px 0; }
.dlg-lcd { font: 700 16px var(--display); letter-spacing: .08em; background: var(--lcd); color: var(--lcd-ink); padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .3); }



/* ============ UST CUBUK ============ */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.brand-mark { text-decoration: none; flex: none; }
.views { display: flex; gap: 2px; padding: 4px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); margin-left: auto; }
.views button {
  border: 0; background: transparent; cursor: pointer; padding: 8px 15px; border-radius: 10px; white-space: nowrap;
  font: 600 14px var(--body); color: var(--muted); transition: background .15s, color .15s;
}
.views button:hover { color: var(--ink); }
.views button[aria-selected="true"] { background: var(--lcd); color: var(--lcd-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.who {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 8px; border-radius: 99px; cursor: pointer; flex: none;
  border: 1px solid var(--line); background: var(--panel); font: 600 13.5px var(--body); max-width: 180px;
}
.who span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-dot { width: 18px; height: 18px; border-radius: 5px; background: var(--lcd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); flex: none; }
@media (max-width: 760px) {
  .topbar-in { flex-wrap: wrap; padding: 10px 16px; gap: 10px 12px; }
  .word { font-size: 30px; }
  .who { margin-left: auto; }
  .views { order: 3; width: 100%; margin: 0; }
  .views button { flex: 1; padding: 8px 6px; font-size: 13.5px; }
}

/* ============ BOLUMLER ============ */
.view { display: flex; flex-direction: column; gap: 16px; }
.view[hidden] { display: none; }
.view-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding: 2px 2px 4px; }
.view-head h1 { font: 700 30px/1.05 var(--display); margin: 0; letter-spacing: .01em; }
.btn.pub { background: var(--lcd); border-color: color-mix(in srgb, var(--lcd-ink) 35%, transparent); color: var(--lcd-ink); }

.makers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.maker {
  display: flex; gap: 14px; align-items: center; text-align: left; cursor: pointer; padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); transition: border-color .15s, transform .15s;
}
.maker:hover { border-color: var(--navy-2); transform: translateY(-1px); }
.maker-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; flex: none; background: var(--lcd); color: var(--lcd-ink); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.maker b { display: block; font: 600 16px var(--body); }
.maker small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 560px) { .makers { grid-template-columns: 1fr; } }

/* yapay zeka adimlari: gercek bir sira */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: step; }
.step { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px 70px; counter-increment: step; }
.step::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  font: 700 18px var(--body); background: var(--lcd); color: var(--lcd-ink); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .25);
}
.step h2 { margin: 6px 0 10px; }
.step > textarea { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips button { border: 1px dashed var(--line); background: transparent; border-radius: 99px; padding: 5px 12px; cursor: pointer; font-size: 13px; color: var(--muted); }
.chips button:hover { border-style: solid; color: var(--ink); }
.result { margin-top: 14px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; background: color-mix(in srgb, var(--lcd) 22%, var(--panel)); border: 1px solid color-mix(in srgb, var(--lcd) 60%, var(--line)); }
.result[hidden] { display: none; }
@media (max-width: 620px) {
  .step { padding: 16px 16px 18px; }
  .step::before { position: static; margin-bottom: 4px; }
  .result { grid-template-columns: 46px 1fr; }
  .result .row { grid-column: 1 / -1; }
}

/* kapanir kartlar */
.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: "▸"; color: var(--muted); transition: transform .15s; display: inline-block; }
.fold[open] > summary::before { transform: rotate(90deg); }
.fold[open] > summary { margin-bottom: 10px; }
.fold:not([open]) { padding-bottom: 18px; }

/* telefon sadece Kendin yap'ta; diger bolumler tam genislik */
body:not([data-view="studio"]) .stage { display: none; }
body:not([data-view="studio"]) .page { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 920px) {
  .stage { gap: 0; }
  .phone { transform: scale(.78); transform-origin: top center; margin-bottom: calc(560px * -.22); }
  .stage-hint { display: none; }
}

.filebtn { cursor: pointer; }
.empty-feed { grid-column: 1 / -1; }

/* ============ YAYINLA CUBUGU (Kendin yap, altta sabit) ============ */
.dock {
  position: sticky; bottom: 16px; z-index: 15; margin-top: 4px;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: linear-gradient(100deg, #14224a, #2a4383 45%, #1b2e63);
  box-shadow: 0 18px 40px rgba(12, 22, 52, .38), 0 2px 0 rgba(255, 255, 255, .08) inset, 0 -1px 0 rgba(0, 0, 0, .3) inset;
}
.dock-lcd {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px;
  background: radial-gradient(ellipse at 40% 20%, #bcd5a0, var(--lcd) 70%); color: var(--lcd-ink);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .2);
}
.dock-bars { display: flex; align-items: flex-end; gap: 2px; height: 16px; flex: none; }
.dock-bars i { width: 3px; background: var(--lcd-ink); border-radius: 1px; }
.dock-bars i:nth-child(1) { height: 5px; } .dock-bars i:nth-child(2) { height: 9px; } .dock-bars i:nth-child(3) { height: 12px; } .dock-bars i:nth-child(4) { height: 16px; }
body.playing-studio .dock-bars i { animation: eq .5s ease-in-out infinite alternate; }
body.playing-studio .dock-bars i:nth-child(2) { animation-delay: -.2s; } body.playing-studio .dock-bars i:nth-child(3) { animation-delay: -.35s; } body.playing-studio .dock-bars i:nth-child(4) { animation-delay: -.1s; }
@keyframes eq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.dock-bars i { transform-origin: bottom; }
.dock-txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.dock-txt b { font: 700 15px var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-txt small { font: 500 11.5px var(--mono); opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-pub {
  flex: none; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  padding: 0 22px; height: 52px; border-radius: 14px; font: 700 17px var(--body); letter-spacing: .01em;
  background: linear-gradient(#ffc048, var(--amber)); color: var(--amber-ink);
  box-shadow: 0 3px 0 #9c5f06, 0 6px 14px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .08s, box-shadow .08s, filter .15s;
}
.dock-pub svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.dock-pub:hover { filter: brightness(1.06); }
.dock-pub:hover svg { transform: translateX(3px); }
.dock-pub:active { transform: translateY(2px); box-shadow: 0 1px 0 #9c5f06, 0 3px 8px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
@media (max-width: 560px) {
  .dock { bottom: 10px; gap: 8px; padding: 8px; border-radius: 16px; }
  .dock-pub { padding: 0 16px; height: 46px; font-size: 16px; }
  .dock-bars { display: none; }
}

/* MIDI'yi metin kutusuna birak */
.dropwrap { position: relative; }
.dropwrap textarea { width: 100%; display: block; }
.drophint {
  position: absolute; inset: 0; display: none; place-items: center; pointer-events: none; border-radius: 9px;
  border: 2.5px dashed var(--lcd-ink); background: color-mix(in srgb, var(--lcd) 78%, transparent);
  font: 700 18px var(--display); color: var(--lcd-ink); text-align: center; padding: 10px;
}
body.dropping .drophint { display: grid; }
.dropwrap.over .drophint { background: var(--lcd); border-style: solid; }
