:root {
  --bg: #0d1117; --card: #161b22; --line: #2a313c; --text: #e6edf3; --muted: #8b949e;
  --accent: #4f8cff; --accent-2: #7c5cff; --danger: #f85149; --ok: #3fb950;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
main { max-width: 560px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 26px; margin: 8px 0 4px; letter-spacing: -0.02em; }
h1 span { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: 18px; margin: 0 0 12px; }
p.sub { color: var(--muted); margin: 0 0 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 12px 0 6px; }
input, select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #0d1117; color: var(--text); font-size: 16px; }
input:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
.code { text-transform: uppercase; letter-spacing: 0.2em; font-family: ui-monospace, Menlo, monospace; }
button { appearance: none; border: 0; border-radius: 10px; padding: 12px 16px; font-size: 16px; font-weight: 600; cursor: pointer; }
.btn { background: var(--accent); color: #fff; width: 100%; margin-top: 16px; }
.btn:disabled { opacity: .6; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid #5a2a2a; }
.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.seg { display: flex; background: #0d1117; border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; }
.seg button { flex: 1; background: transparent; color: var(--muted); padding: 9px; font-size: 15px; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 0 0 1px var(--line); }
.pl { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.pl:first-child { border-top: 0; }
.pl .meta { flex: 1; min-width: 0; }
.pl .name { font-weight: 600; overflow-wrap: anywhere; }
.pl button { flex: none; }
#odKod, #silKod { white-space: nowrap; }
.pl .url { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #1f2a44; color: #9cc0ff; text-transform: uppercase; }
.pl button { padding: 8px 12px; font-size: 14px; }
.msg { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 15px; }
.msg.err { background: #2d1416; color: #ffb3ae; border: 1px solid #5a2a2a; }
.msg.ok { background: #12261a; color: #9be9a8; border: 1px solid #23502f; }
.empty { color: var(--muted); text-align: center; padding: 16px 0; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.top .dev { font-family: ui-monospace, Menlo, monospace; color: var(--muted); }
.sekmeler { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.sekmeler button { flex: 1; background: transparent; color: var(--muted); border-radius: 0; padding: 12px 4px; min-height: 44px; border-bottom: 3px solid transparent; }
.sekmeler button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kucuk { padding: 8px 12px; font-size: 14px; min-height: 44px; }
.anahtar { font: 700 28px/1.3 ui-monospace, Menlo, monospace; letter-spacing: 0.12em; text-align: center; padding: 14px; margin: 12px 0; border: 1px dashed var(--accent); border-radius: 10px; user-select: all; }
.durum { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.alt { text-align: center; margin-top: 24px; font-size: 14px; } a { color: #8ab4ff; }
.bag { display: block; text-align: center; text-decoration: none; background: var(--accent); color: #fff; border-radius: 10px; padding: 12px 16px; font-weight: 600; margin-top: 16px; }
.metin h2 { margin-top: 24px; } .metin li { margin-bottom: 6px; } .taslak { background: #33270f; color: #f2c26b; border-radius: 10px; padding: 12px 14px; }
p { overflow-wrap: anywhere; }
.hidden { display: none !important; }
