/* Üretilen dosya. Kaynak CSS değişirse tema-css-derle.sh ile yeniden oluşturun. */
/* Shared accessibility and responsive layout corrections. */
:root{--ay-safe-bottom:env(safe-area-inset-bottom,0px)}
html{scroll-padding-top:84px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;overflow-wrap:break-word;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
img,video{max-width:100%}img{height:auto}
*,*::before,*::after{box-sizing:border-box}
.ay-skip-link{position:fixed;left:12px;top:-100px;z-index:200000;background:#fff;color:#102340;padding:12px 18px;border-radius:8px}
.ay-skip-link:focus{top:8px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #087fa6;outline-offset:3px}
html body .ay-site-header{z-index:100000}
html body .ay-mobile-panel{max-height:calc(100dvh - 140px - var(--ay-safe-bottom));overscroll-behavior:contain}
html body #ay-apk-guide{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto}
html body .haber-page .haber-side-img img,html body .haber-page .haber-image-wrap img{height:100%;object-fit:cover}
html body .haber-page .haber-feature img{object-fit:cover}
.ah-home .ah-card,.ah-home .ah-card-body,.haber-card,.haber-side-item>div{min-width:0}
.ah-home .ah-card-actions button{min-width:44px}
@media(max-width:768px){
 input,select,textarea{font-size:16px}
 html body .haber-portal-head{padding:16px 12px;gap:12px;flex-wrap:wrap}
 html body .haber-brand{min-width:0}html body .haber-brand strong{font-size:26px}
 html body .haber-section-title{gap:12px;flex-wrap:wrap}
 html body .haber-section-title h1{font-size:clamp(22px,6vw,30px);overflow-wrap:anywhere}
 html body .haber-feature{min-width:0}html body .haber-feature h2{overflow-wrap:anywhere}
 html body .ay-mobile-bottom a{min-height:44px}
 html body .ay-header-inner{gap:8px}
 html body .ay-logo{min-width:0;max-width:calc(100% - 60px)}
 html body .ay-logo>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html body .ay-menu-button{flex-shrink:0;min-width:44px}
 html body .ay-site-header .ay-header-actions{flex-shrink:0}
 html body .ah-home .ah-slide-copy{max-width:calc(100% - 40px)}
 html body .ah-home .ah-search{min-width:0;max-width:100%}
 html body .ah-home .ah-search input{min-width:0;width:100%}
 html body .ah-home .ah-meta,html body .ah-home .ah-news-source{color:#43556c}
 html body .haber-page .haber-meta,html body .haber-page time{color:#485463}
}
@media(max-width:380px){
 html body .haber-page .haber-grid,html body .ah-home .ah-news-grid{grid-template-columns:minmax(0,1fr)}
 html body .ay-footer-copy{max-width:100%}
 html body .ay-footer-bottom{gap:12px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

.haber-actions button{font-family:inherit;cursor:pointer}
@media(max-width:768px){
 html body .haber-actions{flex-wrap:wrap}
 html body .haber-actions .haber-action{min-height:44px;min-width:44px;justify-content:center}
 html body .haber-nav a{display:inline-flex;align-items:center;min-height:44px}
 html body .haber-pagination a{display:inline-flex;align-items:center;min-height:44px}
}
:root {
  --q-space: clamp(14px, 2.1vw, 28px);
  --q-radius: 16px;
  --q-ink: #eaf4ff;
  --q-muted: #b9cbe4;
  --q-link: #a3ebff;
  --q-dark: #0b1529;
  --q-panel: #11213a;
  --q-border: #405875;
  --q-safe: max(14px, env(safe-area-inset-right));
}
html:has(body.q-theme), html:has(link[data-ay-quantum]) { background: #0b1529; }
body.q-theme, html:has(link[data-ay-quantum]) body {
  min-height: 100dvh;
  isolation: isolate;
  background: transparent !important;
}
body.q-theme::before, html:has(link[data-ay-quantum]) body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #0b1529 url("../svg/ayimf-uzay.svg?v=4") center / cover no-repeat;
}
body.q-theme::after, html:has(link[data-ay-quantum]) body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: -1;
  inset: -8%;
  background: url("../svg/ayimf-yildizlar.svg?v=4") center / cover no-repeat;
  opacity: .5;
  animation: q-orbit 32s ease-in-out infinite alternate;
}
@keyframes q-orbit {
  from { transform: translate3d(-2%, -2%, 0) scale(1); opacity: .3; }
  to { transform: translate3d(2%, 2%, 0) scale(1.08); opacity: .7; }
}
html[data-ah-motion="reduced"] body::after,
body.q-calm::after, body.q-background-hidden::after, body.q-background-hidden::before {
  animation: none !important;
}
body.q-background-hidden::after, body.q-background-hidden::before { background: #101c31 !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  body::after { animation: none !important; }
}
body.q-calm *, body.q-calm *::before, body.q-calm *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
:where(.q-theme a,.q-theme button,.q-theme input,.q-theme select,.q-theme textarea):focus-visible {
  outline: 3px solid #518ffc;
  outline-offset: 3px;
}
.q-theme :where(main,article,section,aside,form) { min-inline-size: 0; }
.q-theme :where(img,video,iframe) { max-inline-size: 100%; }
.q-theme :where(h1,h2,h3) { text-wrap: balance; overflow-wrap: break-word; }
.q-theme [hidden].q-tool-toggle, .q-theme [hidden].q-progress, .q-theme [hidden].q-reading-line { display: none; }
body.q-theme > :is(.container,.wrap,.box,.auth):not(.q-install) {
  background-color: #f4f7fc;
  border-radius: var(--q-radius);
}
body.q-theme > :is(main.container,main.wrap,main.auth,div.container,div.box) {
  max-inline-size: min(100% - 24px, var(--q-content-width, 1280px));
}
.q-theme .ay-site-header {
  background: linear-gradient(108deg,#0c162e,#15254b 66%,#104052);
  border-bottom: 1px solid var(--q-border);
}
.q-theme .ay-footer { border-top-color: var(--q-border); }
.ay-install-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #78cfe878;
  border-radius: 11px;
  color: #dff7ff !important;
  background: #173550;
  font: 700 13px/1.25 system-ui,sans-serif;
  text-decoration: none !important;
}
.ay-install-link:hover { background: #245172; }
.ay-footer .ay-install-link { margin-top: 12px; }
@media(max-width:420px) {
  .ay-header-actions .ay-install-link { padding-inline: 8px; font-size: 12px; }
}
body.q-theme .ah-home {
  --ah-ink: #eaf4ff;
  --ah-muted: #b9cbe4;
  --ah-brand: #a3ebff;
  --ah-line: #405875;
  color: var(--ah-ink);
}
.q-theme .ah-home :is(.ah-card,.ah-shortcut,.ah-explore,.ah-editors-pick,.ah-bottom,.ah-slide-thumb,.ah-resume) {
  --ah-ink: #15233d;
  --ah-muted: #52647e;
  --ah-brand: #1d538d;
  --ah-line: #d5e0ef;
  color: var(--ah-ink);
}
.q-theme .ah-home :is(.ah-explore,.ah-card,.ah-shortcut) { border-radius: var(--q-radius); }
.q-theme .ah-home :is(.ah-topline-brand strong,.ah-section-head > div > p) { color: var(--ah-muted); }
.q-theme .ah-home .ah-section-head > div > h1,
.q-theme .ah-home .ah-section-head > div > h2 { color: var(--ah-ink); }
.q-theme .ah-home .ah-section-head > a { color: var(--ah-brand); }
.q-theme .ah-slide-thumb.is-active { box-shadow: inset 0 0 0 2px #447bc2; }
.q-theme .an-page > :is(.an-toolbar,.ap-brandbar,.np-section-head,.rs-intro,.nc-category-nav) {
  color: var(--q-ink);
  border-radius: var(--q-radius);
  background: var(--q-panel);
  padding-inline: var(--q-space);
  --n6-ink: var(--q-ink);
  --n6-muted: var(--q-muted);
  --n6-red: #ffafb8;
  --n6-line: var(--q-border);
  --n6-soft: #172a48;
}
.q-theme :where(.sidebar) { scrollbar-width: thin; }
.q-theme .q-simple {
  margin: clamp(24px,8vh,80px) auto;
  width: min(640px,calc(100% - 28px));
  box-sizing: border-box;
  padding: var(--q-space);
  border: 1px solid var(--q-border);
  border-radius: var(--q-radius);
  background: var(--q-panel);
  color: var(--q-ink);
}
.q-simple a { color: var(--q-link); }
.q-tool-toggle,.q-discovery,.q-dialog,.q-status {
  box-sizing: border-box;
  color-scheme: dark;
  font: 15px/1.5 system-ui,sans-serif;
  color: var(--q-ink);
  border: 1px solid var(--q-border);
  background: var(--q-panel);
}
.q-tool-toggle {
  position: fixed;
  inset-inline-end: var(--q-safe);
  inset-block-end: calc(var(--ay-bottom-space, 0px) + 16px);
  z-index: 8500;
  border-radius: 14px;
  padding: 9px 13px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 30px #0006;
  cursor: pointer;
}
.q-tool-toggle svg,.q-discovery svg { flex: none; inline-size: 21px; block-size: 21px; }
.q-theme .q-header-tool { position: static; }
.q-discovery {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: var(--q-space);
  padding: 14px var(--q-space);
  margin: 16px 0;
  border-radius: var(--q-radius);
  background: linear-gradient(105deg,#10243b,#1e2950);
}
.q-discovery svg { inline-size: 32px; block-size: 32px; color: #8fe7fb; }
.q-discovery small { color: var(--q-muted); display: block; }
.q-discovery strong { display: block; font-size: clamp(16px,3vw,20px); }
.q-discovery p { margin: 0; color: var(--q-muted); }
.q-discovery-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.q-dialog {
  width: min(590px,calc(100vw - 24px));
  max-height: min(760px,calc(100dvh - 24px));
  padding: var(--q-space);
  border-radius: var(--q-radius);
  overscroll-behavior: contain;
}
.q-dialog::backdrop { background: #030918ba; }
.q-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.q-dialog-header h2 { margin: 0; color: var(--q-ink); }
.q-dialog fieldset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.q-dialog legend { margin-bottom: 7px; color: var(--q-muted); font-weight: 700; }
.q-tool-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.q-button,.q-dialog button,.q-dialog a.q-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 12px;
  box-sizing: border-box;
  border: 1px solid #6281a6;
  border-radius: 9px;
  background: #1b3556;
  color: #f1f8ff !important;
  font: 650 13px/1.3 system-ui,sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.q-dialog button[aria-pressed="true"],.q-button:hover,.q-dialog button:hover { background: #28557a; }
.q-dialog button:disabled { opacity: .7; cursor: default; }
.q-dialog input {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #6281a6;
  border-radius: 9px;
  background: var(--q-dark);
  color: var(--q-ink);
  font: inherit;
}
.q-dialog label { display: block; margin-bottom: 6px; color: var(--q-ink); }
.q-dialog a { color: var(--q-link) !important; }
.q-dialog h3 { color: var(--q-ink); }
.q-dialog form { display: flex; gap: 8px; }
.q-dialog .q-results { padding-inline-start: 22px; }
.q-results li { padding-block: 5px; overflow-wrap: anywhere; }
.q-results button { margin-inline-start: 8px; }
.q-status {
  position: fixed;
  z-index: 8480;
  inset-inline-start: 14px;
  bottom: calc(var(--ay-bottom-space, 0px) + 16px);
  max-width: min(300px,calc(100vw - 145px));
  border-radius: 10px;
  margin: 0;
  padding: 9px 12px;
}
.q-skip {
  position: fixed;
  z-index: 12000;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  padding: 9px 13px;
  border-radius: 9px;
  color: #0b1529 !important;
  background: #eaf4ff;
}
.q-skip:focus { transform: none; }
.q-progress { position: fixed; z-index: 12000; top: 0; inset-inline: 0; height: 3px; transform: scaleX(0); transform-origin: left; background: #79ddff; pointer-events: none; }
.q-theme.q-no-progress :is(.an-reading-progress,.ah-scroll-progress) { visibility: hidden; }
.q-reading-line { position: fixed; z-index: 8300; inset-inline: 0; top: 40%; height: 2px; background: #61d9ff; box-shadow: 0 0 6px #173759; pointer-events: none; }
.q-reader :is(main, [role="main"],.q-reading-root) :is(p,blockquote,li) { font-size: 1.125em; line-height: 1.75; }
.q-reader :is(main, [role="main"],.q-reading-root) :is(article,.np-reader,.an-article-body) :is(p,blockquote) { max-inline-size: 72ch; }
.q-compact :is(main, [role="main"],.q-reading-root) :is(.ah-grid,.an-grid,.haber-grid,.cards,.card-grid,.grid,.content-grid) { gap: 9px !important; }
.q-compact :is(main, [role="main"],.q-reading-root) :is(.ah-card-body,.an-card-body,.card-body,.content-card-body) { padding-block: 9px !important; }
.q-contrast .q-dialog,.q-contrast .q-discovery,.q-contrast .q-tool-toggle { --q-panel: #050b17; --q-ink: #fff; --q-muted: #fff; --q-border: #9ed9ed; }
.q-contrast :is(main,[role="main"],.q-reading-root) :is(a,button,input,textarea,select):focus-visible { outline: 4px solid #ffb531 !important; }
.q-contrast :is(main,[role="main"],.q-reading-root) a:not(.q-button) { text-decoration: underline; }
@media(max-width:610px) {
  .q-discovery { grid-template-columns: auto minmax(0,1fr); gap: 10px; }
  .q-discovery-actions { grid-column: 2; }
  .q-tool-toggle { padding-inline: 10px; }
  .q-home-discovery p { font-size: 13px; }
}
@media print {
  body.q-theme { background: #fff !important; }
  body.q-theme::before,body.q-theme::after,.q-tool-toggle,.q-discovery,.q-dialog,.q-status,.q-progress,.q-reading-line,.q-skip { display: none !important; }
}
.q-install-page { margin: 0; color: var(--q-ink); font: 16px/1.65 system-ui,sans-serif; }
.q-install { width: min(1200px,calc(100% - 28px)); margin: clamp(18px,4vw,56px) auto clamp(32px,5vw,70px); }
.q-install-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(170px,300px);
  align-items: center;
  gap: var(--q-space);
  padding: clamp(22px,5vw,62px);
  border: 1px solid var(--q-border);
  border-radius: 24px;
  background: linear-gradient(113deg,#0e2139,#1b2a52 75%,#253056);
}
.q-install-hero h1 { margin: 0 0 12px; font-size: clamp(32px,6vw,62px); line-height: 1.05; letter-spacing: -.04em; color: var(--q-ink); }
.q-install-hero p { max-width: 54ch; margin: 0 0 9px; color: var(--q-muted); }
.q-install-hero p:empty { display: none; }
.q-install-art { width: 100%; }
.q-install-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--q-space); margin-top: var(--q-space); }
.q-install-grid section { padding: var(--q-space); border: 1px solid var(--q-border); border-radius: var(--q-radius); background: #101d34; }
.q-install-grid h2 { margin: 0 0 10px; color: var(--q-ink); font-size: 23px; }
.q-install-grid ol { padding-inline-start: 22px; }
.q-install-grid li + li { margin-top: 6px; }
.q-install-grid p,.q-install-grid li { color: var(--q-muted); }
.q-install-grid strong { color: var(--q-ink); }
.q-install-grid details { border-top: 1px solid var(--q-border); padding-top: 12px; }
.q-install-grid summary { cursor: pointer; color: var(--q-link); }
.q-install-primary { margin: 12px 0; min-height: 48px; background: #a3ebff; color: #0b1529 !important; }
.q-install-primary:hover { background: #d2f5ff; }
.q-install-primary[hidden] { display: none; }
@media(max-width:760px) {
  .q-install-hero { grid-template-columns: minmax(0,1fr); }
  .q-install-art { width: min(220px,65%); margin: auto; }
  .q-install-grid { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:370px) {
  .q-header-tool span { display: none; }
}
.q-reading-width :is(main,.q-reading-root) :is(article,.np-reader,.an-article-body) :is(p,blockquote) { max-inline-size: 60ch; }
.q-link-emphasis :is(main,.q-reading-root) :is(article,.np-reader,.an-article-body) :is(p,li) a { background: #d1f0ff; color: #143b63 !important; border-radius: 3px; text-decoration: underline; }
.q-theme :is(h2[id],h3[id]) { scroll-margin-top: 90px; }
.q-theme .q-simple :is(h1,h2,p,li) { color: var(--q-ink); }

.q-theme .ah-home .ah-motion {
  background: #172a48;
  color: var(--q-ink);
  border-color: var(--q-border);
}
.q-theme .ay-mobile-panel .ay-install-link { justify-content: flex-start; }
@media (min-width: 981px) and (max-width: 1120px) {
  .q-theme .ay-header-inner, .q-theme .ay-header-actions { gap: 6px; }
  .q-theme .ay-logo { font-size: 16px; gap: 6px; }
  .q-theme .ay-install-link { padding-inline: 8px; font-size: 12px; }
  .q-header-tool span { display: none; }
}
@media(max-width:600px) {
  .q-theme .ay-header-actions > .ay-install-link { display: none; }
  .q-theme .ay-logo { min-width: 0; flex-shrink: 1; }
  .q-theme .ay-logo > span:last-child { overflow: hidden; text-overflow: ellipsis; }
  .q-theme .ay-header-actions { flex: none; }
}

/* V5: accessible motion, focus, and mobile layout safeguards */
@media (prefers-reduced-motion: reduce) {
  .q-theme *, .q-theme *::before, .q-theme *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.q-theme :focus-visible { outline: 3px solid #67d8ff; outline-offset: 3px; }
.q-theme img, .q-theme video, .q-theme svg { max-width: 100%; }
.q-theme { overflow-wrap: anywhere; }
@media (max-width: 600px) { .q-dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); } }
/* AYIMF public site palette and shared surfaces. */
:root {
  --space-bg: #080b19;
  --space-panel: #111a30;
  --space-panel-raised: #192441;
  --space-ink: #f0f5ff;
  --space-muted: #bac9e1;
  --space-line: #364969;
  --space-cyan: #8eebfb;
  --space-violet: #c4b5ff;
  --space-radius: 20px;
  --space-shadow: 0 16px 42px #03050e65;
  --q-ink: var(--space-ink);
  --q-muted: var(--space-muted);
  --q-link: var(--space-cyan);
  --q-dark: var(--space-bg);
  --q-panel: var(--space-panel);
  --q-border: var(--space-line);
}
html:has(link[data-ay-quantum]) { background: var(--space-bg); }
html:has(link[data-ay-quantum]) body::before {
  background:
    radial-gradient(ellipse at 88% 10%, #29205b 0%, transparent 53%),
    radial-gradient(ellipse at 2% 68%, #102d47 0%, transparent 49%),
    var(--space-bg);
}
html:has(link[data-ay-quantum]) body::after {
  background-size: min(1300px, 160vw) auto;
  animation-duration: 50s;
}
html body .ay-site-header {
  background: linear-gradient(110deg, #0a0e20 20%, #171b38 72%, #122b3e);
  border-color: var(--space-line);
}
html body .ay-logo-mark,
html body .ay-footer-mark {
  background: linear-gradient(145deg, #b2f7ff, #a69aff 84%);
  color: #10152b;
}
html body .ay-site-nav a.active,
html body .ay-mobile-panel a.active,
html body .ay-mobile-bottom a.active {
  background: #223553;
  color: var(--space-cyan) !important;
}
html body .ay-footer, html body .ay-mobile-bottom { background: #0c1225; border-color: var(--space-line); }
html body .ay-header-actions .ay-install-link { white-space: nowrap; }
html:has(link[data-ay-quantum]) :where(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #4e9cf7;
  outline-offset: 3px;
}
@media (min-width: 981px) and (max-width: 1140px) {
  html body .ay-header-inner { gap: 9px; }
  html body .ay-header-actions { gap: 5px; }
  html body .ay-header-actions :is(.ay-install-link, .ay-account-link, .q-tool-toggle) { padding-inline: 8px; }
}
@media (max-width: 380px) {
  html body .ay-header-inner { width: calc(100% - 22px); }
  html body .q-header-tool { min-width: 42px; padding-inline: 9px; }
  html body .q-header-tool span { display: none; }
  html body .ay-logo { max-width: min(42vw, 150px); }
  html body .ay-logo-mark { flex: 0 0 34px; width: 34px; height: 34px; }
}

.space-intro {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 208px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(25px, 5vw, 68px);
  border: 1px solid var(--space-line);
  border-radius: clamp(18px, 3vw, 32px);
  color: var(--space-ink);
  background:
    url("../svg/ayimf-yildizlar.svg?v=4") right center / min(880px, 130vw) auto no-repeat,
    radial-gradient(ellipse at 80% 91%, #363078, transparent 45%),
    linear-gradient(115deg, #121d34 30%, #191b3b 70%, #101e35);
  box-shadow: var(--space-shadow);
}
.space-intro::before, .space-intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.space-intro::before {
  width: clamp(195px, 34vw, 450px);
  aspect-ratio: 1;
  right: 5%;
  top: 8%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(145deg, #d5ceff08 0 9px, transparent 13px 24px),
    radial-gradient(ellipse at 28% 19%, #a9e0fa 0%, #788fd2 17%, #494682 38%, #171d3b 64%, #101627 78%);
  box-shadow: inset 5px 2px 25px #cedbff82, 0 0 64px -12px #8498f588;
}
.space-intro::after {
  width: clamp(260px, 45vw, 650px);
  aspect-ratio: 3.2;
  top: 54%;
  right: -3%;
  border: 1px solid #c4d9ff6c;
  border-bottom-color: #bbb3ffb8;
  border-radius: 50%;
  transform: rotate(-20deg);
  box-shadow: 0 9px 0 -7px #a9bbff80, 0 17px 0 -14px #8eebfb80;
}
.space-intro > div { min-width: 0; max-width: 62ch; position: relative; }
.space-intro h1 {
  max-width: 17ch;
  margin: .12em 0 .25em;
  color: var(--space-ink);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 790;
  letter-spacing: -.06em;
  line-height: 1.02;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.space-intro p { max-width: 47ch; margin: 0; color: var(--space-muted); font-size: clamp(.91rem, 1.8vw, 1.12rem); }
.space-intro .space-kicker { color: var(--space-cyan); font-size: .76rem; font-weight: 760; letter-spacing: .14em; }
.space-intro-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.space-intro-links a, .space-home .ah-home .space-intro-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #7f9bc9;
  border-radius: 11px;
  color: var(--space-ink);
  background: #131e36e8;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 760;
}
.space-home .ah-home .space-intro-links a:first-child { color: #111a29; background: var(--space-cyan); border-color: var(--space-cyan); }
.space-intro-links a:first-child span::before { content: "→"; }
.space-intro-links a:hover { box-shadow: 0 0 20px #88ddff3d; }
.q-background-hidden .space-intro { background: var(--space-panel); }
.q-background-hidden .space-intro::before, .q-background-hidden .space-intro::after { display: none; }

body.space-home .ah-home {
  --ah-ink: var(--space-ink);
  --ah-muted: var(--space-muted);
  --ah-brand: var(--space-cyan);
  --ah-line: var(--space-line);
  --ah-news-source-color: var(--space-muted);
  margin-block-start: clamp(14px, 2.4vw, 34px);
  width: min(1280px, calc(100% - clamp(24px, 5vw, 80px)));
}
.space-home .ah-home .space-intro { margin-bottom: 25px; }
.space-home .ah-search-mode .space-intro { min-height: 0; padding-block: 19px; }
.space-home .ah-home .ah-motion {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-color: #7693b6;
  background: #0a1228e8;
  color: var(--space-ink);
  font-size: .78rem;
}
.space-home .ah-home .ah-section { margin-block-start: clamp(24px, 3.5vw, 49px); }
.space-home .ah-home .ah-section-head { gap: 10px 16px; }
.space-home .ah-home .ah-section-head :is(h1,h2) { color: var(--space-ink); font-size: clamp(1.45rem, 3vw, 2.45rem); }
.space-home .ah-home .ah-section-head p { color: var(--space-muted); }
.space-home .ah-home .ah-section-head > a { color: var(--space-cyan); }
.space-home .ah-home :is(.ah-card,.ah-shortcut,.ah-explore,.ah-editors-pick,.ah-bottom,.ah-slide-thumb,.ah-resume) {
  --ah-ink: var(--space-ink);
  --ah-muted: var(--space-muted);
  --ah-brand: var(--space-cyan);
  --ah-line: var(--space-line);
  color: var(--space-ink);
  background: linear-gradient(152deg, var(--space-panel-raised), var(--space-panel) 72%);
  border: 1px solid var(--space-line);
  border-radius: var(--space-radius);
}
.space-home .ah-home .ah-explore { padding: clamp(14px, 3vw, 35px); }
.space-home .ah-home .ah-slider { background: radial-gradient(ellipse at 80% 18%, #34285d, #16253d 54%, #0c1428); border-radius: var(--space-radius); border-color: var(--space-line); box-shadow: var(--space-shadow); }
.space-home .ah-home .ah-slide-shade { background: linear-gradient(0deg, #080e20 2%, #0a1024d9 30%, #0a10243d 83%); }
.space-home .ah-home .ah-slide-copy :is(h2,h3) { color: var(--space-ink); }
.space-home .ah-home .ah-slide-link { background: var(--space-cyan); color: #10172b; }
.space-home .ah-home .ah-slide-label { background: #233b53; color: var(--space-cyan); }
.space-home .ah-home .ah-card-more { color: var(--space-cyan); }
.space-home .ah-home .ah-slide-thumb.is-active { border-color: var(--space-cyan); box-shadow: inset 0 0 0 1px #a4f3ff68; }
.space-home .ah-home .ah-slide-thumb:not(:has(img:not([hidden]))) { grid-template-columns: auto minmax(0, 1fr); }
.space-home .ah-home .ah-slide-thumb:not(:has(img:not([hidden]))) .ah-thumb-text { grid-column: 2; }
.space-home .ah-home .ah-card,
.space-home .ah-home .ah-news-grid .ah-card:first-child { box-shadow: var(--space-shadow); }
.space-home .ah-home .ah-grid { gap: clamp(12px, 2vw, 22px); }
.space-home .ah-home :is(.ah-card .ah-media,.ah-slide-thumb img) { background: radial-gradient(ellipse at 73% 25%, #404a8b, #1d3454 48%, #111a30); }
.space-home .ah-home .ah-placeholder { color: var(--space-violet); }
.space-home .ah-home :is(.ah-card h3,.ah-card h3 a,.ah-thumb-text,.ah-shortcut b,.ah-bottom h2,.ah-editors-pick h2) { color: var(--space-ink); }
.space-home .ah-home :is(.ah-card-body > p,.ah-stats,.ah-note,.ah-result,.ah-empty,.ah-shortcut small,.ah-editors-pick p,.ah-bottom p) { color: var(--space-muted); }
html body.space-home .ah-home :is(.ah-meta,.ah-news-source,.ah-meta time) { color: var(--space-muted); }
.space-home .ah-home :is(.ah-meta-category,.ah-kicker,.ah-news-read,.ah-news-cta,.ah-thumb-index) { color: var(--space-cyan); }
.space-home .ah-home :is(.ah-card-actions button,.ah-search input,.ah-search select,.ah-filter,.ah-view-switch,.ah-pages a,.ah-empty,.ah-note,.ah-toolbar button,.ah-resume button) {
  background: #101a31;
  color: var(--space-ink);
  border-color: var(--space-line);
}
.space-home .ah-home :is(.ah-search label,.ah-sort label) { color: var(--space-muted); }
.space-home .ah-home .ah-search input::placeholder { color: #91a5c5; }
.space-home .ah-home :is(.ah-search button,.ah-filter[aria-current],.ah-toolbar button[aria-pressed="true"],.ah-card-actions button[aria-pressed="true"]) {
  color: #11172a;
  background: var(--space-cyan);
  border-color: var(--space-cyan);
}
@media (max-width: 760px) {
  .space-intro::before { right: -12%; opacity: .45; }
  .space-intro::after { right: -20%; opacity: .45; }
  .space-home .ah-home .space-intro { padding-bottom: 70px; }
  .space-home .ah-home.ah-search-mode .space-intro { padding-bottom: 65px; }
}
@media (max-width: 540px) {
  .space-home .ah-home .ah-news-grid { grid-template-columns: minmax(0, 1fr); }
  .space-home .ah-home .ah-news-grid .ah-card:not(:first-child) h3 { font-size: 1rem; }
  .space-home .ah-home .ah-news-grid .ah-card:not(:first-child) .ah-card-actions button span { display: inline; }
  .space-home .ah-home .ah-news-grid .ah-card:first-child { grid-column: auto; }
  .space-home .ah-home .ah-news-grid .ah-card .ah-media { aspect-ratio: 16 / 9; }
}

:where(.ah-card,[data-space-news] article,.np-page .np-card).space-arrived {
  animation: space-card-arrive 440ms cubic-bezier(.2,.7,.2,1);
}
@keyframes space-card-arrive {
  from { opacity: .63; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .space-home .ah-home .ah-card:hover,
  [data-space-news] article:hover,
  .np-page .np-card:hover {
    transform: translateY(-4px);
    border-color: #77b2d0;
  }
  [data-space-news] article:hover img { transform: scale(1.045); }
}
:where(.space-home,.space-news,.np-page) img[hidden] { display: none !important; }
html[data-ah-motion="reduced"] .space-arrived,
html[data-an-motion="reduced"] .space-arrived,
body.q-calm .space-arrived { animation: none !important; }
html[data-an-motion="reduced"] .space-arrived:hover,
body.q-calm .space-arrived:hover { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .space-arrived { animation: none !important; }
}

@media screen {
  /* Secondary pages keep readable light content and share dark navigation and space framing. */
  body.q-theme > :is(main.container,main.wrap,div.container,div.wrap,.box,.auth),
  body.q-theme :is(.aq-page,.qdetail,.trend-page) {
    box-shadow: var(--space-shadow);
    border-radius: var(--space-radius);
  }
  html:has(link[data-ay-quantum]) :is(.aq-page,.qdetail,.trend-page) { padding-inline: clamp(10px, 2.5vw, 28px); }
  body.q-theme > :is(.wrap,.box,.auth) { max-width: min(100% - 24px, var(--q-content-width, 1280px)); }
  html:has(link[data-ay-quantum]) body > .q-simple {
    width: min(620px, calc(100% - 28px));
    margin-inline: auto;
    background-color: var(--space-panel);
    border: 1px solid var(--space-line);
    box-shadow: var(--space-shadow);
  }
}
@media screen {
  html:has(link[data-ay-quantum]) .aq-page {
    --ink: var(--space-ink);
    --muted: var(--space-muted);
    --line: var(--space-line);
    --blue: var(--space-cyan);
    --cyan: var(--space-cyan);
    --violet: var(--space-violet);
    --pink: var(--space-violet);
    --shadow: var(--space-shadow);
  }
  .aq-page :is(.aq-hero,.aq-featurebox) {
    background: url("../svg/ayimf-yildizlar.svg?v=4") center / cover,
      linear-gradient(125deg, #132844, #22234c 65%, #2b235a);
    border: 1px solid var(--space-line);
  }
  .aq-page :is(.aq-section,.aq-sidecard,.aq-card,.aq-head,.aq-sidehead),
  .aq-page :is(.aq-card,.aq-pop a,.aq-links a):hover {
    background: var(--space-panel);
    color: var(--space-ink);
  }
  .aq-page :is(.aq-card:hover,.aq-head,.aq-sidehead,.aq-pop a:hover) { background: var(--space-panel-raised); }
  .aq-page :is(.aq-card p,.aq-numbers,.aq-note) { color: var(--space-muted); }
  .aq-page :is(.aq-count,.aq-note) { background: var(--space-panel-raised); border-color: var(--space-line); }
  .aq-page .aq-card-foot { border-color: var(--space-line); }

  html:has(link[data-ay-quantum]) .qdetail :is(.qdhero,.qdsection,.qdside,.qdactions) {
    background: var(--space-panel);
    color: var(--space-ink);
    border-color: var(--space-line);
  }
  html:has(link[data-ay-quantum]) .qdetail {
    --line: var(--space-line);
    --green: var(--space-cyan);
    --muted: var(--space-muted);
  }
  .qdetail :is(.qdtop h1,.qdcomment strong,.qdrel b) { color: var(--space-ink); }
  .qdetail :is(.qdlead,.qdmeaning p,.qdcomment p,.qdrel span,.qdst) { color: var(--space-muted); }
  .qdetail .qdquote {
    background: url("../svg/ayimf-yildizlar.svg?v=4") center / cover,
      radial-gradient(ellipse at 80% 20%, #343878, #122744 70%);
  }
  .qdetail :is(.qdaction,.qdtop .badge) { background: var(--space-panel-raised); color: var(--space-cyan); border-color: var(--space-line); }
  .qdetail .qdform { background: var(--space-panel-raised); color: var(--space-ink); }
  .qdetail .qdform textarea { background: var(--space-panel); color: var(--space-ink); border-color: var(--space-line); }
}
/* Reserve reader controls before the deferred scripts enable them. */
.np-detail .an-toolbar .n6-theme-buttons[hidden],
.np-detail .an-toolbar .an-pill[hidden],
.np-detail .np-reader-actions button[hidden] {
  display: inline-flex !important;
  visibility: hidden;
}
.np-detail .np-reader-actions { min-height: 48px; }
.np-detail .np-reader-image-stage { aspect-ratio: 16 / 9; min-height: 0; }

html:not([data-n6-theme="light"]) .np-page {
  --np-paper: var(--space-panel);
  --np-bg: var(--space-bg);
  --np-ink: var(--space-ink);
  --np-muted: var(--space-muted);
  --np-line: var(--space-line);
  --np-accent: var(--space-cyan);
  --np-soft: var(--space-panel-raised);
  --np-navy: #223453;
  --n6-paper: var(--space-panel);
  --n6-ink: var(--space-ink);
  --n6-muted: var(--space-muted);
  --n6-line: var(--space-line);
  --n6-soft: var(--space-panel-raised);
  --n6-red: var(--space-cyan);
  --n6-red-soft: #1c334c;
}
.np-page .np-card { border-radius: var(--space-radius); }
.np-page .np-image-fallback { background: radial-gradient(ellipse at 72% 25%, #40508e, #172744 60%, #101a30); }
@media print {
  html:has(link[data-ay-quantum]), html:has(link[data-ay-quantum]) body { background: #fff !important; }
  html:has(link[data-ay-quantum]) body::before, html:has(link[data-ay-quantum]) body::after,
  .space-intro::before, .space-intro::after { display: none; }
  .space-intro, body.space-home .ah-home, .space-news .haber-page, html .np-page.np-detail {
    --space-ink: #000; --space-muted: #283346; --space-cyan: #174d66;
    --space-panel: #fff; --space-panel-raised: #fff; --space-line: #ccd2db;
    background: #fff; color: #000; box-shadow: none;
  }
}
.haber-page {
  width: min(1280px, calc(100% - clamp(24px, 5vw, 80px)));
  margin: clamp(14px, 2.4vw, 34px) auto clamp(30px, 5vw, 70px);
  color: var(--space-ink);
  font: 1rem/1.55 system-ui, sans-serif;
}
.haber-page a { color: inherit; text-decoration: none; }
.haber-page a:hover { color: var(--space-cyan); }
.haber-page .space-intro h1 { font-size: clamp(2rem, 5vw, 4.45rem); }
.haber-sources {
  margin-block: 16px 22px;
  border: 1px solid var(--space-line);
  border-radius: 14px;
  background: var(--space-panel);
}
.haber-sources summary { cursor: pointer; padding: 13px 17px; font-weight: 740; }
.haber-sources summary span { color: var(--space-cyan); margin-inline-start: 6px; }
.haber-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.haber-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 16px; }
.haber-nav a, .haber-pagination a, .haber-topics a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--space-line);
  border-radius: 10px;
  background: var(--space-panel);
  font-size: .86rem;
}
.haber-nav a[aria-current="page"], .haber-topics a[aria-current="page"] { background: var(--space-cyan); color: #111a29; font-weight: 750; }
.haber-lead { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 15px; margin-block: 22px 30px; }
.haber-lead-single { grid-template-columns: minmax(0, 1fr); }
.haber-page :is(.haber-feature,.haber-side-item,.haber-card,.haber-empty) {
  overflow: hidden;
  background: linear-gradient(155deg, var(--space-panel-raised), var(--space-panel) 72%);
  border: 1px solid var(--space-line);
  border-radius: var(--space-radius);
  box-shadow: var(--space-shadow);
  transition: transform .24s ease, border-color .24s ease;
}
.haber-page .haber-feature {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(355px, 37vw, 520px);
  background: radial-gradient(ellipse at 78% 17%, #4d467e, #203450 44%, #111a30);
}
.haber-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  z-index: -2;
}
.haber-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #080e20 4%, #080e20da 41%, #10162938 91%);
}
.haber-feature-content { padding: clamp(19px, 4vw, 40px); }
.haber-feature h2 { font-size: clamp(1.5rem, 3.7vw, 3rem); line-height: 1.1; letter-spacing: -.035em; margin: 10px 0; }
.haber-feature-content p { color: var(--space-muted); max-width: 52ch; margin: 0 0 10px; }
.haber-side { display: grid; align-content: start; gap: 12px; }
.haber-page .haber-side-item { display: grid; grid-template-columns: minmax(100px, 35%) minmax(0, 1fr); min-height: 115px; border-radius: 15px; }
.haber-side-item h2 { margin: 7px 0 0; font-size: clamp(.97rem, 1.65vw, 1.18rem); line-height: 1.27; }
.haber-page :is(.haber-image-wrap,.haber-side-img) {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(ellipse at 75% 22%, #4a5289, #1f3655 47%, #121c33);
}
.haber-page :is(.haber-image-wrap,.haber-side-img)::before {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(1.15rem, 3vw, 2.2rem);
  color: var(--space-violet);
}
.haber-page .haber-image-wrap { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--space-line); }
.haber-page :is(.haber-image-wrap,.haber-side-img) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.haber-section-title { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 16px; }
.haber-section-title h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2.35rem); letter-spacing: -.035em; }
.haber-section-title span { color: var(--space-muted); font-size: .86rem; }
.haber-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px, 2vw, 22px); }
.haber-card { display: flex; flex-direction: column; }
.haber-body { display: flex; flex-direction: column; flex: 1; padding: clamp(13px, 2vw, 20px); }
.haber-side-item .haber-body { padding: 13px; }
.haber-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 11px; font-size: .76rem; }
html body .haber-page .haber-meta, html body .haber-page time { color: var(--space-muted); }
.haber-meta > span { color: var(--space-cyan); font-weight: 750; }
.haber-title { margin: 10px 0 5px; font-size: clamp(1.03rem, 2vw, 1.38rem); line-height: 1.25; }
.haber-page :is(h1,h2,h3) { overflow-wrap: anywhere; }
.haber-desc { margin: 0 0 8px; color: var(--space-muted); font-size: .88rem; }
.haber-page .haber-link { align-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--space-cyan); font-weight: 750; font-size: .86rem; min-height: 44px; }
.haber-page .haber-link:hover { text-decoration: underline; }
.haber-card .haber-link { margin-top: auto; }
.haber-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 9px; border-top: 1px solid var(--space-line); }
.haber-page .haber-actions[hidden] { display: none; }
.haber-page .haber-actions .haber-action {
  min-height: 44px;
  padding: 6px 9px;
  border: 1px solid var(--space-line);
  border-radius: 8px;
  background: #101a30;
  color: var(--space-ink);
  font-size: .76rem;
}
.haber-page .haber-action[aria-pressed="true"] { background: var(--space-cyan); color: #111a29; }
.haber-page .haber-action[data-action="dislike"][aria-pressed="true"] { background: var(--space-violet); }
.haber-empty { padding: clamp(22px, 6vw, 64px); margin-top: 22px; }
.haber-empty h2 { margin-top: 0; }
.haber-empty p, .haber-pagination span { color: var(--space-muted); }
.haber-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 25px; }
@media (max-width: 1000px) { .haber-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 790px) {
  .haber-lead { grid-template-columns: minmax(0,1fr); }
  .haber-page .haber-side-item { grid-template-columns: minmax(92px, 28%) minmax(0, 1fr); min-height: 95px; }
}
@media (max-width: 560px) {
  .haber-list { grid-template-columns: minmax(0,1fr); }
  html body .haber-page { width: calc(100% - 24px); padding: 0; }
}
