/* wux.cx — haberlerle İngilizce */
:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0eee8;
  --text: #1c1b18;
  --text-2: #57534e;
  --muted: #78716c;
  --line: #e4e1d9;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --hl: #fde68a;
  --sel: #fef3c7;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);
  --radius: 14px;
  --read: "Charter", "Bitstream Charter", "Iowan Old Style", "Georgia", "Cambria", serif;
  --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141412; --surface: #1c1c1a; --surface-2: #252522; --text: #ecebe6; --text-2: #c4c1b8;
    --muted: #96928a; --line: #34332f; --brand: #2dd4bf; --brand-ink: #0b1f1d; --hl: #854d0e;
    --sel: #3b3216; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141412; --surface: #1c1c1a; --surface-2: #252522; --text: #ecebe6; --text-2: #c4c1b8;
  --muted: #96928a; --line: #34332f; --brand: #2dd4bf; --brand-ink: #0b1f1d; --hl: #854d0e;
  --sel: #3b3216; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35); color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--ui); overflow-x: hidden; }
a { color: var(--brand); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }

/* üst bar */
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; letter-spacing: -.01em; }
.logo-mark { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--surface-2); }
.theme-btn { border: 0; background: none; color: var(--text-2); padding: 8px; border-radius: 8px; cursor: pointer; display: grid; }
.theme-btn:hover { background: var(--surface-2); }

/* rozetler / kartlar */
.src-badge { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 2px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); text-decoration: none; border: 1px solid var(--line); }

/* ana sayfa (yalnız .home altında; haber sayfasını etkilemez) */
.home-intro { padding: 36px 16px 8px; }
.home-intro h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); letter-spacing: -.02em; margin-bottom: .35em; }
.lead { font-size: 1.05rem; color: var(--text-2); max-width: 62ch; margin: 0 0 18px; }
.places { display: flex; flex-wrap: wrap; gap: 8px; }
.places a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 600; }
.places a:hover { border-color: var(--brand); color: var(--brand); }
.home .wrap { max-width: 960px; }
.feat { max-width: 720px; margin: 28px 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 20px; box-shadow: var(--shadow); }
.feat-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .84rem; color: var(--muted); }
.feat-meta b { color: var(--text-2); }
.feat-new { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.feat-title { font-size: clamp(1.25rem, 3.4vw, 1.55rem); margin: 10px 0 14px; line-height: 1.3; }
.feat-title a { color: var(--text); text-decoration: none; }
.feat-title a:hover { color: var(--brand); }
.feat-try { position: relative; border-left: 4px solid var(--lv); background: color-mix(in srgb, var(--lv) 6%, var(--bg)); border-radius: 0 10px 10px 0; padding: 12px 14px 10px 16px; }
.feat-lv { position: absolute; top: -10px; right: 12px; background: var(--lv); color: #fff; font-weight: 800; font-size: .75rem; padding: 2px 8px; border-radius: 6px; }
.feat-sent { font-family: var(--read); font-size: 1.22rem; line-height: 1.7; margin: 0; }
.feat-hint { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.feat-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 14px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; text-decoration: none; }
.feat-cta:hover { filter: brightness(1.08); }
.stream { padding-bottom: 40px; }
.day { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 26px 0 8px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rows { grid-template-columns: 1fr 1fr; } }
.row-link { display: flex; gap: 12px; align-items: flex-start; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); height: 100%; }
.row-link:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.row-img { width: 72px; height: 72px; flex: none; border-radius: 9px; object-fit: cover; background: var(--surface-2); }
.row-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.row-meta { font-size: .76rem; color: var(--muted); }
.row-meta b { color: var(--text-2); font-weight: 600; }
.row-title { font-weight: 700; line-height: 1.32; font-size: .97rem; }
.row-en { font-family: var(--read); font-style: italic; color: var(--text-2); font-size: .9rem; line-height: 1.35; }
.more { margin: 18px 0 0; font-weight: 600; }
.empty { padding: 24px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* düz sayfalar */
.page { padding: 32px 16px 48px; }
.page.center { text-align: center; }
.month { font-size: 1.05rem; color: var(--muted); margin-top: 28px; }
.lv-pill { display: inline-block; min-width: 2.6em; text-align: center; font-weight: 800; color: #fff; background: var(--lv); border-radius: 6px; padding: 1px 8px; text-decoration: none; }
.lvl-sec { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lv); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; scroll-margin-top: 16px; }
.lvl-sec h2 { font-size: 1.2rem; }

/* haber sayfası */
.art-head { padding-top: 28px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.art-title { font-size: clamp(1.6rem, 4.2vw, 2.25rem); letter-spacing: -.015em; margin: 12px 0 6px; }
.art-sub { font-family: var(--read); font-style: italic; font-size: 1.15rem; color: var(--text-2); margin: 0 0 12px; }
.src-line { font-size: .9rem; color: var(--text-2); display: flex; gap: 6px; align-items: baseline; margin: 0 0 16px; }
.src-line svg { flex: none; position: relative; top: 2px; color: var(--muted); }
.src-line a { font-weight: 600; }
.art-img { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; }
.art-img img { width: 100%; aspect-ratio: 21/9; max-height: 300px; object-fit: cover; }

.tabs-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: 1 0 auto; min-width: 64px; display: flex; flex-direction: column; align-items: center; gap: 0; border: 1px solid transparent; background: none; color: var(--text-2); padding: 6px 10px; border-radius: 10px; cursor: pointer; font: inherit; }
.tabs [role="tab"]:hover { background: var(--surface); }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: inset 0 -3px 0 var(--lv); color: var(--text); }
.tab-code { font-weight: 800; color: var(--lv); font-size: 1.02rem; }
.tab-name { font-size: .7rem; white-space: nowrap; }

.panels { padding-bottom: 40px; }
.js .panel:not(.on) { display: none; }
.panel { padding-top: 20px; }
.panel + .panel { border-top: 1px dashed var(--line); }
.js .panel + .panel { border-top: 0; }
.lv-card { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--lv); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 22px; }
.lv-head { display: flex; gap: 12px; align-items: center; }
.lv-head a { color: var(--text); text-decoration: none; }
.lv-en { color: var(--muted); margin-left: 4px; }
.lv-en::before { content: "- "; }
.lv-code { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--lv); color: #fff; font-weight: 800; font-size: 1.05rem; flex: none; }
.lv-desc { font-size: .85rem; color: var(--text-2); }
.can-do, .structs, .stats { margin: 10px 0 0; font-size: .9rem; color: var(--text-2); }
.stats { color: var(--muted); font-size: .82rem; }
.chip { display: inline-flex; flex-direction: column; line-height: 1.2; margin: 4px 6px 0 0; padding: 4px 9px; border-radius: 8px; background: color-mix(in srgb, var(--lv) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--lv) 25%, transparent); font-size: .85rem; color: var(--text); vertical-align: top; }
.chip small { color: var(--muted); font-size: .72rem; }

.lv-title { font-family: var(--read); font-size: clamp(1.35rem, 3.4vw, 1.75rem); font-weight: 700; }
.text { font-family: var(--read); font-size: 1.2rem; line-height: 1.8; }
.text p { margin: 0 0 1.1em; }
.text-tr { font-family: var(--ui); font-size: 1.08rem; line-height: 1.75; }
.s { border-radius: 4px; transition: background .15s; }
.w { cursor: pointer; border-radius: 3px; }
.w:hover { background: color-mix(in srgb, var(--lv) 16%, transparent); }
.s.cur { background: var(--sel); }
.w.cur { background: color-mix(in srgb, var(--lv) 35%, transparent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lv) 35%, transparent); }

.tip { margin: 8px 0 26px; padding: 14px 16px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.tip-h { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.tip-en { font-family: var(--read); font-size: 1.12rem; margin: 6px 0 2px; }
.tip-tr { margin: 0; color: var(--text-2); }
.tip-note { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }

.gl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.gl-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.gl-head h3 { font-size: 1.05rem; margin: 0; }
.gl-tools { display: flex; gap: 8px; align-items: center; flex: 1 1 260px; justify-content: flex-end; flex-wrap: wrap; }
.dict-sw, .tp-dict { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--bg); flex: none; }
.dict-sw button, .tp-dict button { font: inherit; font-size: .8rem; border: 0; background: none; color: var(--muted); padding: 4px 11px; border-radius: 999px; cursor: pointer; }
.dict-sw button[aria-pressed="true"], .tp-dict button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.12); font-weight: 600; }
.tp-dict { position: absolute; right: 52px; top: -4px; }
.g-en { display: none; font-family: var(--read); }
:root[data-dict="en"] .g-en { display: inline; }
:root[data-dict="en"] .gl-item dd:has(.g-en) .g-tr { display: none; }
.tp-word .tr.is-en { font-family: var(--read); font-weight: 500; font-size: 1.05rem; color: var(--text); flex-basis: 100%; }
.tp-reveal { font: inherit; font-size: .85rem; margin-top: 6px; border: 1px dashed var(--line); background: none; color: var(--brand); border-radius: 8px; padding: 3px 10px; cursor: pointer; }
.w:focus-visible { outline: 2px solid var(--lv); outline-offset: 1px; }
.gl-q { font: inherit; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); min-width: 0; flex: 1 1 180px; max-width: 260px; }
.gl-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 18px; max-height: 420px; overflow-y: auto; }
.gl-item { padding: 6px 0; border-bottom: 1px solid var(--line); }
.gl-item dt { font-weight: 700; font-family: var(--read); }
.gl-item dd { margin: 0; font-size: .9rem; color: var(--text-2); }
.gl-item.is-phrase dt { color: var(--lv); }
.gl-item.hit { background: var(--sel); }
.ipa { font-family: var(--ui); font-weight: 400; color: var(--muted); font-size: .8rem; }
.pos { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 16px; }
.pg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; display: flex; flex-direction: column; }
.pg small { color: var(--muted); font-weight: 400; }
.pg.next { text-align: right; grid-column: 2; }
.related ul { padding-left: 1.1em; }

/* alttaki çeviri paneli */
.tp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.12); max-height: 55vh; overflow-y: auto; padding: 14px 0 calc(14px + env(safe-area-inset-bottom)); }
.tp-in { position: relative; }
.tp-x { position: absolute; right: 12px; top: -4px; border: 0; background: var(--surface-2); color: var(--text-2); width: 32px; height: 32px; border-radius: 50%; font-size: 1.25rem; cursor: pointer; line-height: 1; }
.tp-word { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-right: 44px; margin-top: 30px; }
.tp-word .hw { font-family: var(--read); font-size: 1.35rem; font-weight: 700; }
.tp-word .tr { font-size: 1.15rem; font-weight: 600; color: var(--brand); }
.tp-note { font-size: .88rem; color: var(--muted); margin: 2px 0 0; }
.tp-phr { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: .95rem; }
.tp-phr b { font-family: var(--read); }
.tp-sent { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.tp-sent .en { font-family: var(--read); margin: 0; color: var(--text-2); }
.tp-sent .trs { margin: 4px 0 0; font-weight: 500; }
.tp-acts { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tp-acts button, .tp-acts a { font: inherit; font-size: .85rem; border: 1px solid var(--line); background: var(--bg); color: var(--text-2); border-radius: 999px; padding: 4px 12px; cursor: pointer; text-decoration: none; }
.tp-hint { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; background: var(--text); color: var(--bg); font-size: .85rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; transition: opacity .3s; }
.tp-hint.gone { opacity: 0; pointer-events: none; }
body.tp-open .panels { padding-bottom: 46vh; }

.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 24px 0 32px; font-size: .9rem; color: var(--text-2); }
.foot p { margin: 0 0 8px; max-width: 80ch; }
.foot-sites a { color: var(--text-2); }

@media (max-width: 720px) {
  .text { font-size: 1.12rem; }
  .tabs { gap: 2px; }
  .tabs [role="tab"] { flex: 1 1 0; min-width: 0; padding: 8px 2px; }
  .tab-name { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pg.next { grid-column: 1; }
  .gl-list { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* arşiv: arama + sayfalama */
.ara { margin: 0 0 8px; }
.ara input { width: 100%; font: inherit; font-size: 1rem; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); }
.ara input:focus { outline: 2px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 1px; }
.ara-sum { font-size: .85rem; margin: 8px 0; }
.ara-sum:empty { display: none; }
.pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0 8px; }
.pages a, .pages span { min-width: 2.4em; text-align: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.pages a:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.pages [aria-current] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink, #fff); }
