/* php2shellchecker.net — acik tema (tek tema), Globya kurumsal renkleri, RTL icin mantiksal ozellikler */
/* Inter (SIL OFL 1.1, rsms.me/inter) — kendi sunucumuzdan, degisken kalinlik 100-900 */
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-cyrillic-ext.woff2) format("woff2"); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-greek.woff2) format("woff2"); unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF; }
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-vietnamese.woff2) format("woff2"); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "InterVariable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #fbfbfc; --surface: #ffffff; --panel: #eef4fb; --panel-2: #f5f8fc;
  --text: #13233a; --ink: #0b1b30; --muted: #56657a; --line: #e2e8f0; --line-2: #d5dee9;
  --brand: #0094d9;                 /* Globya mavisi (logo) */
  --accent: #00669e;                /* metin/dugme icin koyu ton (AA kontrast) */
  --accent-hover: #005584;
  --accent-soft: #e3f1fa;
  --orange: #f48120;                /* Globya turuncusu: yalniz kucuk vurgu */
  --ok: #157347; --ok-soft: #eaf6ef; --bad: #b42318; --bad-soft: #fdf1ef; --warn: #9a5b05; --warn-soft: #fdf6e8; --neutral: #56657a; --neutral-soft: #f1f4f8;
  --radius: 14px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 35, 60, .05), 0 4px 16px rgba(15, 35, 60, .05);
  --font: "InterVariable", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans Devanagari", "Noto Sans Arabic", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 var(--font); font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
[lang="ja"] body, [lang="zh-Hans"] body, [lang="ko"] body { line-height: 1.8; }
[dir="rtl"] body { line-height: 1.85; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
code, pre { font-family: var(--mono); font-size: .88em; }
code { background: var(--neutral-soft); color: var(--ink); padding: .12em .4em; border-radius: 5px; overflow-wrap: anywhere; }
pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { background: none; padding: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: 1.45rem; font-weight: 750; }
h3 { font-size: 1.08rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* duyuru seridi */
.notice { background: var(--accent); color: #fff; font-size: .86rem; }
.notice-in { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; flex-wrap: wrap; text-align: center; }
.notice a { color: #fff; font-weight: 600; }
.notice .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(244, 129, 32, .3); }

/* ust bar */
.top { background: rgba(255, 255, 255, .92); border-block-end: 1px solid var(--line); position: sticky; top: 0; z-index: 15; backdrop-filter: saturate(1.4) blur(8px); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { display: block; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-name b { color: var(--accent); font-weight: 800; }
.brand-by { font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-block-start: 3px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin-inline-start: auto; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.nav a:hover { background: var(--panel-2); color: var(--ink); }
.nav a[aria-current] { color: var(--accent); background: var(--accent-soft); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: .92rem; color: var(--text); background: var(--surface); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--accent); }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(15, 35, 60, .14); display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 2px; width: max-content; max-width: calc(100vw - 32px); }
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .93rem; }
.lang li a:hover { background: var(--panel-2); }
.lang li a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
@media (max-width: 720px) { .lang ul { grid-template-columns: repeat(2, minmax(130px, 1fr)); } .nav { order: 3; width: 100%; margin-inline-start: 0; padding-block-end: 8px; } .brand-by { display: none; } }

.langbar { background: #fff7ef; border-block-end: 1px solid #f6dcc3; font-size: .92rem; }
.langbar-in { display: flex; align-items: center; gap: 12px; min-height: 46px; flex-wrap: wrap; }
.langbar a { font-weight: 600; }
.langbar .btn-ghost { margin-inline-start: auto; padding: 2px 10px; }

main { padding-block: 28px 56px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%); border: 1px solid #dbe7f3; border-radius: 24px; padding: clamp(24px, 4vw, 48px); margin-block-end: 8px; }
.hero-head { max-width: 820px; margin-block-end: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-block-end: 14px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.hero h1 { margin-block-end: .35em; }
.hero h1 .hl { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok-soft); border: 4px solid var(--ok-soft); box-shadow: inset 0 0 0 2px var(--ok); }

/* rakamlar */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block-end: 1px solid var(--line); margin-block: 8px 40px; }
.stat { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.stat span strong { display: block; color: var(--ink); font-weight: 650; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-inline-start: 0; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.tool { margin: 0; }
.tool-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: 1fr; } }
.tool h2 { font-size: 1.12rem; display: flex; align-items: center; gap: 10px; }
.tool h2 .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: .85rem; font-weight: 800; }
.paste { border-inline-start: 1px solid var(--line); padding-inline-start: 36px; }
@media (max-width: 860px) { .paste { border-inline-start: 0; padding-inline-start: 0; border-block-start: 1px solid var(--line); padding-block-start: 24px; } }

.lbl { display: block; font-weight: 600; font-size: .92rem; margin-block-end: 6px; color: var(--ink); }
.in { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; }
.in::placeholder { color: #93a1b3; }
.in:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.in { font-family: var(--mono); font-size: .9rem; resize: vertical; background: var(--panel-2); }
#url { direction: ltr; text-align: start; font-size: 1.05rem; }
[dir="rtl"] #url { text-align: right; }
.hint { color: var(--muted); font-size: .85rem; margin: 6px 0 16px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cap { margin-block-end: 16px; }
.cap-row { display: flex; align-items: center; gap: 10px; margin-block-end: 8px; flex-wrap: wrap; }
.cap-row img { border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #f6f7f9; }
.in-cap { max-width: 200px; text-transform: uppercase; letter-spacing: .3em; font-family: var(--mono); direction: ltr; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; margin-block-end: 18px; }
.chk input { margin-block-start: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; color: #fff; background: var(--accent); border: 0; border-radius: var(--radius-sm); padding: 13px 26px; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(0, 60, 100, .2); }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-ghost { font: inherit; font-size: .9rem; color: var(--accent); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 8px 14px; cursor: pointer; }
.btn-ghost:hover { border-color: var(--accent); }
.alert { background: var(--bad-soft); color: var(--bad); border: 1px solid #f6d3cd; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }

.ver-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ver-out li { background: var(--surface); border: 1px solid var(--line); border-inline-start-width: 4px; border-radius: var(--radius-sm); padding: 9px 12px; font-size: .92rem; }
.ver-out li.ok { border-inline-start-color: var(--ok); } .ver-out li.bad { border-inline-start-color: var(--bad); }
.ver-out li.warn { border-inline-start-color: var(--warn); } .ver-out li.neutral { border-inline-start-color: var(--neutral); }

/* sonuc */
#result:not(:empty) { margin-block: 24px 8px; }
.result { border-inline-start: 6px solid var(--neutral); }
.res-ok { border-inline-start-color: var(--ok); background: linear-gradient(90deg, var(--ok-soft), var(--surface) 40%); }
.res-bad { border-inline-start-color: var(--bad); background: linear-gradient(90deg, var(--bad-soft), var(--surface) 40%); }
.res-warn { border-inline-start-color: var(--warn); background: linear-gradient(90deg, var(--warn-soft), var(--surface) 40%); }
[dir="rtl"] .res-ok { background: linear-gradient(270deg, var(--ok-soft), var(--surface) 40%); }
[dir="rtl"] .res-bad { background: linear-gradient(270deg, var(--bad-soft), var(--surface) 40%); }
[dir="rtl"] .res-warn { background: linear-gradient(270deg, var(--warn-soft), var(--surface) 40%); }
.res-target { margin-block-end: 6px; }
.res-title { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--neutral); flex: none; }
.res-ok .dot { background: var(--ok); } .res-bad .dot { background: var(--bad); } .res-warn .dot { background: var(--warn); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0; padding: 0; }
.facts div { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.facts dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 2px 0 0; font-weight: 650; color: var(--ink); }
.note { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; }
.steps { padding-inline-start: 1.3em; }
.steps li { margin-block-end: .45em; }
.sub { border-block-start: 1px solid var(--line); padding-block: 12px; }
.sub summary { cursor: pointer; font-weight: 650; font-size: .95rem; color: var(--ink); }
.hops { padding-inline-start: 1.3em; font-size: .9rem; }
.hdrs, .json, .msg { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; font-size: .85rem; direction: ltr; text-align: left; }
.msg { font-family: var(--font); font-size: .92rem; }

/* bolumler */
.sec { margin-block: 56px; }
.sec-k { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-block-end: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); }
.tbl th, .tbl td { text-align: start; padding: 13px 18px; border-block-end: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-block-end: 0; }
.tbl thead th { font-size: .78rem; color: var(--muted); font-weight: 650; background: var(--panel-2); text-transform: uppercase; letter-spacing: .04em; }
.tbl tbody th { color: var(--ink); }
.tbl .row-eol th, .tbl .row-eol td { color: var(--bad); background: #fffafa; }
.tbl .num { text-align: end; font-variant-numeric: tabular-nums; }
.tbl .nowrap { white-space: nowrap; } .tbl .wrap { overflow-wrap: anywhere; }
.code-block { position: relative; background: #0f1c2e; color: #dbe6f3; border-radius: var(--radius); padding: 18px 20px; margin: 14px 0; direction: ltr; text-align: left; }
.code-block code { color: inherit; background: none; }
.copy { position: absolute; top: 10px; right: 10px; font: inherit; font-size: .78rem; color: #c9d6e6; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; padding: 3px 9px; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, .16); }
.copy.done { color: #8ee0a8; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block-end: 10px; }
.qa summary { cursor: pointer; padding: 14px 18px; font-weight: 650; color: var(--ink); }
.qa[open] summary { border-block-end: 1px solid var(--line); }
.qa > div { padding: 14px 18px 4px; }
.more { font-weight: 650; text-decoration: none; }
.more::after { content: " →"; }
[dir="rtl"] .more::after { content: " ←"; }

/* belge sayfalari */
.doc { max-width: 800px; }
.doc > h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.doc h2 { margin-block-start: 1.7em; }
.toc { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin-block: 18px 28px; }
.toc ol { margin: 0; padding-inline-start: 1.3em; }
.step .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: .9rem; margin-inline-end: 6px; }
.platforms { margin-block: 14px; }
.refs li { margin-block-end: .35em; }

.cta { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-inline-start: 6px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; margin-block: 56px 0; }
.cta-logo { flex: none; }
.cta-txt { flex: 1 1 380px; }
.cta h2 { font-size: 1.2rem; margin-block-end: .3em; }
.cta p { margin: 0; color: var(--muted); }
.cta-act { display: flex; gap: 16px; align-items: center; }

/* alt bilgi */
.foot { border-block-start: 1px solid var(--line); background: var(--surface); padding-block: 36px 20px; }
.foot-in { display: flex; gap: 32px; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; }
.foot-brand img { display: block; margin-block-end: 10px; }
.foot-brand p { margin: 0 0 4px; font-size: .92rem; }
.foot-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; }
.foot-nav a:hover { color: var(--accent); }
.foot-legal { border-block-start: 1px solid var(--line); margin-block-start: 24px; padding-block-start: 16px; }

/* yonetim */
.admin .login { max-width: 400px; margin: 48px auto; }
.admin .login .in { margin-block-end: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block-end: 16px; }
.kpi span { display: block; color: var(--muted); font-size: .85rem; }
.kpi b { font-size: 1.9rem; color: var(--ink); }
.admin .grid2 .card h2 { font-size: 1rem; }
.admin .tbl-wrap { box-shadow: none; }
.filter { display: flex; gap: 8px; margin-block-end: 12px; align-items: center; }
.filter .in { max-width: 320px; }
.inline { display: inline; }
.pager { display: flex; gap: 16px; }
@media (max-width: 640px) { .kpis { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: no-preference) { .btn, .nav a, .lang summary { transition: background .15s, border-color .15s, color .15s; } }
@media print { .notice, .top, .foot, .tool, .cta, .copy, .langbar { display: none; } body { background: #fff; } .hero { border: 0; background: none; padding: 0; } }

/* ---- PHP dokunuslari ---- */
.php-tag { display: inline-block; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: #fff; background: #4f5b93; border-radius: 6px; padding: 2px 7px; line-height: 1.5; }
.eyebrow.has-tag::before { display: none; }
.sec-k::before { content: "// "; color: var(--orange); }
.code-block.term { padding-top: 46px; }
.code-block.term::before { content: ""; position: absolute; top: 15px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840; }
.code-block.term .term-t { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .76rem; color: #8ea3bd; pointer-events: none; }
.php-love { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .82rem; color: var(--muted); margin: 0; }
.php-love .k { color: #4f5b93; font-weight: 600; } .php-love .c { color: #7c8aa0; }
.php-love svg { flex: none; color: #8892bf; }
.fatal { background: #fff; border: 1px solid #f1c8c2; border-inline-start: 6px solid var(--bad); border-radius: var(--radius); padding: 20px 22px; font-family: var(--mono); font-size: .92rem; color: var(--ink); direction: ltr; text-align: left; overflow-wrap: anywhere; margin-block: 8px 24px; }
.fatal b { color: var(--bad); }

/* yonetim: ziyaretler */
.kpis-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .kpis-5 { grid-template-columns: repeat(2, 1fr); } }
.tbl .bar { width: 38%; }
.tbl progress { width: 100%; height: 10px; appearance: none; border: 0; border-radius: 5px; background: var(--neutral-soft); overflow: hidden; vertical-align: middle; }
.tbl progress::-webkit-progress-bar { background: var(--neutral-soft); border-radius: 5px; }
.tbl progress::-webkit-progress-value { background: var(--brand); border-radius: 5px; }
.tbl progress::-moz-progress-bar { background: var(--brand); border-radius: 5px; }
.filter .btn-ghost { text-decoration: none; }
.filter .btn-ghost[aria-current] { background: var(--accent-soft); border-color: var(--accent); }
.admin .grid2 { margin-block-start: 16px; gap: 16px; }
.admin .card + .grid2, .admin .kpis + .card { margin-block-start: 16px; }

/* yonetim: analitik */
.kpis-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .kpis-4 { grid-template-columns: repeat(2, 1fr); } }
.kpi { position: relative; }
.kpi.link { text-decoration: none; color: inherit; }
.kpi.link:hover { border-color: var(--accent); }
.kpi .d { position: absolute; top: 16px; inset-inline-end: 16px; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--muted); }
.kpi .d.up { color: var(--ok); } .kpi .d.down { color: var(--bad); }
.live-kpis { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 16px; margin-block-end: 16px; }
.live-kpis .big b { font-size: 3rem; color: var(--ok); }
@media (max-width: 900px) { .live-kpis { grid-template-columns: repeat(2, 1fr); } }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); vertical-align: middle; margin-inline-end: 4px; }
@media (prefers-reduced-motion: no-preference) { .pulse-dot { animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(21, 115, 71, .08); } } }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 16px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; } }
.admin main > .card, .admin #live > .card { margin-block-end: 16px; }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { font-size: 11px; fill: var(--muted); font-family: var(--font); }
.chart .bar { fill: var(--brand); opacity: .85; }
.chart .bar:hover { opacity: 1; }
.chart .ln { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; }
.legend { font-size: .8rem; font-weight: 500; color: var(--muted); }
.lg-bar, .lg-ln { display: inline-block; width: 12px; height: 10px; margin-inline: 8px 4px; vertical-align: middle; border-radius: 2px; background: var(--brand); }
.lg-ln { height: 3px; background: var(--orange); }
.heat { border-collapse: separate; border-spacing: 3px; font-size: .72rem; color: var(--muted); }
.heat th { font-weight: 600; text-align: center; }
.heat td { width: 26px; height: 20px; border-radius: 4px; background: var(--neutral-soft); }
.heat td.h1 { background: #d6ecf8; } .heat td.h2 { background: #9fd3ef; } .heat td.h3 { background: #55b2e3; } .heat td.h4 { background: #0094d9; } .heat td.h5 { background: #00669e; }
.st { display: inline-block; font-size: .78rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--neutral-soft); color: var(--muted); }
.st-patched { background: var(--ok-soft); color: var(--ok); } .st-affected, .st-eol { background: var(--bad-soft); color: var(--bad); } .st-vendor { background: var(--warn-soft); color: var(--warn); }
.is-bot td { color: var(--muted); }
.tag-404 { font-size: .7rem; font-weight: 700; color: var(--bad); background: var(--bad-soft); border-radius: 4px; padding: 0 5px; }
.admin .kpis { gap: 16px; }

/* yonetim: tam genislik duzeni (22 Eki geri bildirimi) */
.admin .wrap { max-width: none; padding-inline: clamp(16px, 2.2vw, 40px); }
.admin main { padding-block: 24px 48px; }
.admin h1 { font-size: 1.7rem; margin-block-end: 16px; }
.admin .grid2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 560px), 1fr)); gap: 18px; }
.admin .grid3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 18px; }
.admin .kpis-4, .admin .kpis-5, .admin .live-kpis { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.admin .card { padding: 20px 22px; }
.admin .card h2 { font-size: 1rem; margin-block-end: 12px; }
.admin .tbl-wrap { border: 0; box-shadow: none; border-radius: 0; }
.admin .tbl { table-layout: auto; }
.admin .tbl th, .admin .tbl td { padding: 8px 10px; }
.admin .tbl td:first-child, .admin .tbl th:first-child { min-width: 14ch; }
.admin .tbl td.wrap { overflow-wrap: break-word; word-break: normal; }
.admin .tbl td.num, .admin .tbl th.num { white-space: nowrap; width: 1%; }
.admin .tbl td.bar { width: 28%; min-width: 90px; }
.admin .tbl thead th { white-space: nowrap; }
.admin .kpi b { font-size: 2rem; }
.admin .chart { max-height: 260px; }
.admin .heat td { width: auto; min-width: 22px; height: 22px; }
.admin .heat { width: 100%; }

/* hero: metin + fil */
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: center; margin-block-end: 28px; }
.hero-top .hero-head { margin-block-end: 0; }
.hero-art img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 24px rgba(79, 91, 147, .16)); }
[dir="rtl"] .hero-art img { transform: scaleX(-1); }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 220px; margin-inline: auto; } }
@media (prefers-reduced-motion: no-preference) { .hero-art img { animation: float 6s ease-in-out infinite; } @keyframes float { 50% { transform: translateY(-6px); } } [dir="rtl"] .hero-art img { animation: none; } }

/* yonetim: optimum duzen (genis ekranda ortali, bosluksuz) */
.admin .wrap { max-width: 1600px; margin-inline: auto; padding-inline: clamp(16px, 2vw, 32px); }
.admin .kpis-4, .admin .kpis-5, .admin .live-kpis, .admin .kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.admin .live-kpis .big { grid-column: span 1; }
.admin .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin .grid-live { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; margin-block: 16px; align-items: start; }
@media (max-width: 1100px) { .admin .grid2, .admin .grid3, .admin .grid-live { grid-template-columns: 1fr; } }
.admin .card { min-width: 0; }
.admin .tbl td.nowrap { white-space: nowrap; }
.admin .chart { width: 100%; height: auto; max-height: none; }
.admin .chart .ax { font-size: 13px; }
.admin .kpi span { font-size: .82rem; }
.admin .kpi b { font-size: 1.85rem; line-height: 1.15; }

/* ---- istatistik sayfasi ---- */
.hero-stats { margin-block-end: 8px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); vertical-align: middle; }
.c-ok { color: var(--ok) !important; } .c-bad { color: var(--bad) !important; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; margin-block: 20px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }
.sec-card { margin-block: 20px; }
.globe-card { position: relative; }
.globe-wrap { position: relative; max-width: 560px; margin-inline: auto; }
#globe { width: 100%; height: auto; aspect-ratio: 1; display: block; cursor: grab; touch-action: none; }
#globe:active { cursor: grabbing; }
.globe-tip { position: absolute; z-index: 5; min-width: 150px; background: var(--ink); color: #fff; font-size: .82rem; line-height: 1.5; padding: 8px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(11, 27, 48, .25); pointer-events: none; }
.globe-tip strong { display: block; margin-block-end: 2px; }
.legend-row { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 10px 0 0; font-size: .85rem; color: var(--muted); justify-content: center; }
.lg { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; }
.lg-ok { background: #159a5b; } .lg-bad { background: #d63c2f; } .lg-bad.lg-dark { background: #8f1d14; } .lg-warn { background: #d98b1a; } .lg-neutral { background: #94a3b8; }
.donut-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
@media (max-width: 520px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }
#donut { width: 220px; height: 220px; }
#donut .d-big { font: 800 30px var(--font); fill: var(--ink); }
#donut .d-sm { font: 500 12px var(--font); fill: var(--muted); }
.donut-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.donut-list li { display: flex; align-items: center; gap: 4px; font-size: .92rem; border-block-end: 1px dashed var(--line); padding-block-end: 6px; }
.donut-list li span { flex: 1; } .donut-list li b { font-variant-numeric: tabular-nums; color: var(--ink); }
.chart-js { width: 100%; height: auto; display: block; }
.chart-js .grid { stroke: var(--line); }
.chart-js .ax { font: 12px var(--font); fill: var(--muted); }
.branches { display: grid; gap: 14px; }
.branch-top { display: flex; align-items: baseline; gap: 10px; }
.branch-top b { margin-inline-start: auto; font-size: 1.15rem; }
.seg progress { width: 100%; height: 10px; appearance: none; border: 0; border-radius: 5px; background: #f6d9d5; overflow: hidden; display: block; margin-block: 6px 4px; }
.seg progress::-webkit-progress-bar { background: #f6d9d5; border-radius: 5px; }
.seg progress::-webkit-progress-value { background: #159a5b; border-radius: 5px; }
.seg progress::-moz-progress-bar { background: #159a5b; }
.tbl-wrap.flat { box-shadow: none; }
.internet { background: linear-gradient(135deg, #0f2a44, #00669e); color: #fff; border: 0; margin-block: 20px; }
.internet h2 { color: #fff; }
.internet .muted, .internet a { color: #cfe3f2; }
.net-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-block: 8px 12px; }
@media (max-width: 700px) { .net-row { grid-template-columns: 1fr; } }
.net-row b { display: block; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.net-row b.c-bad { color: #ffb4a8 !important; } .net-row b.c-ok { color: #9ff0c4 !important; }
.net-row span { font-size: .88rem; color: #cfe3f2; }
.method { max-width: 900px; }
.st-hidden, .st-unknown { background: var(--neutral-soft); color: var(--muted); }
/* koyu kod blogu icindeki saglayici mesaji: acik panel degil, koyu zeminde acik yazi */
.code-block .msg { background: none; border: 0; padding: 0; padding-top: 22px; color: #e6eef8; font-size: .92rem; line-height: 1.6; }

/* istatistik: yeni bolumler */
.lg-b1 { background: #9cc63b; }
.exp-row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .exp-row { grid-template-columns: 1fr 1fr; } }
.sec-card .net-row b { color: var(--ink); } .sec-card .net-row span { color: var(--muted); } .sec-card .net-row b.c-bad { color: #d63c2f !important; }
.tbl progress.mini { display: block; height: 6px; margin-top: 4px; }
.nw-org { font-weight: 600; }
#behind .ax-strong, #share .ax-strong { font-weight: 700; fill: var(--ink); }
#behind .bar-in { font-size: 12px; font-weight: 700; fill: #fff; }
.stat b, .net-row b, td.num { white-space: nowrap; }
