/* rabbit.sinav — paylaşılan temel stiller (tasarım: kağıt/mürekkep, Archivo + JetBrains Mono) */
/* fontlar sitenin kendi içinde: Google'a istek yok (hız + KVKK) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/archivo-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: 'Archivo';
  font-style: normal;
  font-weight: 300 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/archivo-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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-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;
}
/* pomodoro sahnesindeki el yazısı sayaç (rabbit-scene.js) */
@font-face {
  font-family: 'Gochi Hand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gochi-hand-latin.woff2) format('woff2');
}
html, body { margin: 0; padding: 0; background: #f1f1ef; }
* { box-sizing: border-box; }
body { font-family: Archivo, 'Helvetica Neue', Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #0c0c0c; text-decoration: none; }
a:hover { color: #56564e; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
::selection { background: #0c0c0c; color: #f1f1ef; }

/* 3D telefon mockup — tam ekran görünür, hafif 3D, görüntü net */
.mock-stage { perspective: 1600px; display: flex; justify-content: center; width: 100%; }
.mock-phone {
  position: relative; width: min(280px, 82%);
  background: #0c0c0c; border-radius: 44px; padding: 10px;
  box-shadow: 0 42px 84px rgba(12,12,12,0.30), 0 10px 26px rgba(12,12,12,0.18);
  transform: rotateY(-7deg) rotateX(1.5deg);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.mock-phone:hover { transform: rotateY(0deg) rotateX(0deg); }
.mock-screen { width: 100%; display: block; border-radius: 34px; }
.mock-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; background: #0c0c0c; border-radius: 14px; z-index: 2;
}
@media (max-width: 720px) {
  .mock-phone { transform: none; width: min(300px, 88%); }
}

/* üst menü: sığmazsa yatay kaydırılır; dar ekranda logonun altına tam satır iner */
.topnav { scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.topnav::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .topnav { flex: 1 1 100% !important; order: 3; }
}
/* kaydırılabilir menüde kenar solgunluğu: devamı olduğunu gösterir (site.js sınıfları koyar) */
.topnav.sag-var { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.topnav.sol-var { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px); mask-image: linear-gradient(90deg, transparent, #000 36px); }
.topnav.sol-var.sag-var { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }

/* sayfa sayacı: 360 px telefonda gün/saat/dakika/saniye tek satırda kalsın */
@media (max-width: 380px) {
  .cd-satir { gap: 14px !important; }
  .cd-gun { font-size: 80px !important; }
}

/* ortak üzerine gelme durumları */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.h-op:hover { opacity: 0.55; }
.h-bd:hover { border-color: #0c0c0c !important; }
.h-bd-l:hover { border-color: #f1f1ef !important; }
.h-bg:hover { background: #e8e8e3 !important; }
.h-fg:hover { color: #0c0c0c !important; }
.h-fg-l:hover { color: #f1f1ef !important; }
.h-dk:hover { background: #2e2e29 !important; }

/* anasayfa: özellik telefonu ekranları (sadece seçili olan görünür) */
.fe:not([hidden]) { display: contents; }
.ft-btn { cursor: pointer; }

/* anasayfa: yorumlar kayan şerit */
@keyframes rb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { animation: rb-marquee 70s linear infinite; }
.marquee-wrap:hover .marquee, .marquee-wrap:focus-within .marquee { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
  .marquee-wrap { overflow-x: auto !important; }
}

/* blog yazısı gövdesi (markdown'dan üretilen) */
.yazi a:not([style]) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a3a39b; }
.yazi a:not([style]):hover { text-decoration-color: #0c0c0c; color: #0c0c0c; }
.yazi strong { font-weight: 600; color: #0c0c0c; }
.yazi .tablo { overflow-x: auto; margin: 8px 0 32px; }
.yazi table { border-collapse: collapse; width: 100%; font: 400 15.5px/1.5 Archivo, sans-serif; }
.yazi th { text-align: left; font: 500 10.5px/1.4 'JetBrains Mono', monospace; letter-spacing: 0.12em; text-transform: uppercase; color: #64645d; padding: 10px 14px 10px 0; border-bottom: 1px solid #0c0c0c; }
.yazi td { padding: 12px 14px 12px 0; border-bottom: 1px solid #dcdcd7; color: #2b2b26; vertical-align: top; }
