/* ==========================================================================
   Altın Saat
   Canlı gökyüzünün üstünde yüzen cam yüzeyler. İnce, büyük rakamlar;
   italik serif vurgular; mono etiketler. Sıcak altın, gecenin mavisi.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 200 700; font-display: swap; 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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 200 700; font-display: swap; 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: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/geist-mono.woff2") format('woff2'); }

:root {
  color-scheme: dark;
  --bg: #06070a;
  --text: #f6f3ee;
  --text-2: rgba(246, 243, 238, 0.68);
  --text-3: rgba(246, 243, 238, 0.44);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-2: rgba(255, 255, 255, 0.16);
  --glass: rgba(13, 14, 20, 0.5);
  --glass-2: rgba(13, 14, 20, 0.72);
  --gold: #f6c177;
  --gold-2: #ffdcaa;
  --ember: #ff8f6b;
  --rose: #ff8aa0;
  --blue: #8fb3ff;
  --good: #a7e3b4;
  --meh: #f3d38a;
  --bad: #ff9d8c;
  --score-color: var(--gold);

  --sans: "Inter", -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(16px, 4vw, 40px);
  --safe-top: max(env(safe-area-inset-top, 0px), var(--safe-area-inset-top, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--safe-area-inset-bottom, 0px));
  --bar-h: 56px;
  --tabs-h: 72px;
  --r-xl: 32px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: transparent; color: var(--text);
  font-family: var(--sans); font-size: 15.5px; line-height: 1.5; letter-spacing: -0.006em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; -webkit-tap-highlight-color: transparent;
}
[hidden] { display: none !important; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--gold); color: #1a1208; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.ico { width: 22px; height: 22px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.ico--lg { width: 28px; height: 28px; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
em.g, .gold { color: var(--gold); }

/* ---------- Gökyüzü ve perde ---------- */

.sky {
  position: fixed; inset: 0; z-index: -2;
  width: 100vw; height: 100vh; height: 100lvh;
  background: radial-gradient(120% 70% at 70% 52%, #d9884f 0%, #6b3a52 30%, #1b1c3a 62%, #06070a 100%);
}
.sky.sky--fallback { background: radial-gradient(120% 70% at 70% 52%, #d9884f 0%, #6b3a52 30%, #1b1c3a 62%, #06070a 100%); }
.veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.35) 0%, rgba(6, 7, 10, 0) 16%, rgba(6, 7, 10, 0) 44%, rgba(6, 7, 10, 0.55) 78%, rgba(6, 7, 10, 0.85) 100%);
  transition: background-color 0.6s var(--ease);
}
.veil::after {
  content: ""; position: absolute; inset: 0; background: rgba(6, 7, 10, 0.88);
  opacity: var(--veil, 0); transition: opacity 0.5s var(--ease);
}

/* ---------- Açılış ---------- */

.intro { display: none; }
.is-intro .intro {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 26px;
  background: var(--bg); pointer-events: none;
  animation: introOut 0.9s var(--ease-io) 1.85s forwards;
}
.intro__stage { position: relative; width: min(64vw, 320px); height: 90px; overflow: hidden; }
.intro__line {
  position: absolute; left: 0; right: 0; bottom: 20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2) 30%, #fff 50%, var(--gold-2) 70%, transparent);
  transform: scaleX(0); animation: introLine 1.1s var(--ease) 0.1s forwards;
}
.intro__sun {
  position: absolute; left: 50%; bottom: -46px; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff3d9, var(--gold) 55%, var(--ember));
  box-shadow: 0 0 60px 12px rgba(246, 193, 119, 0.45);
  animation: introSun 1.2s var(--ease) 0.55s forwards;
}
.intro__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: var(--bg); }
.intro__word {
  font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--text);
  opacity: 0; transform: translateY(8px); animation: introWord 0.9s var(--ease) 0.9s forwards;
}
@keyframes introLine { to { transform: scaleX(1); } }
@keyframes introSun { to { transform: translateY(-58px); } }
@keyframes introWord { to { opacity: 1; transform: none; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.is-intro .bar, .is-intro .hero__top, .is-intro .hero__body > *, .is-intro .pager, .is-intro .tabs {
  opacity: 0; transform: translateY(14px);
  animation: rise 1s var(--ease) forwards;
}
.is-intro .bar { animation-delay: 2.2s; }
.is-intro .hero__top { animation-delay: 2.3s; }
.is-intro .hero__body > :nth-child(1) { animation-delay: 2.35s; }
.is-intro .hero__body > :nth-child(2) { animation-delay: 2.42s; }
.is-intro .hero__body > :nth-child(3) { animation-delay: 2.5s; }
.is-intro .hero__body > :nth-child(4) { animation-delay: 2.58s; }
.is-intro .hero__body > :nth-child(5) { animation-delay: 2.66s; }
.is-intro .pager { animation-delay: 2.75s; }
.is-intro .tabs { animation-delay: 2.8s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Cam ---------- */

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)), var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(1.5); backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid var(--stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 30px 60px -35px rgba(0, 0, 0, 0.7);
}

/* ---------- Düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--stroke-2);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s, border-color 0.3s;
}
.btn:hover { background: rgba(255, 255, 255, 0.12); }
.btn:active { transform: scale(0.97); }
.btn .ico { width: 18px; height: 18px; }
.btn--gold {
  background: linear-gradient(180deg, #ffd79a, #f2b25c); border-color: transparent; color: #2a1a06;
  box-shadow: 0 10px 30px -10px rgba(246, 179, 92, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--gold:hover { background: linear-gradient(180deg, #ffe2b4, #f6bd6c); }
.btn--wide { width: 100%; }
.btn--ghost { background: transparent; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

.round {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: rgba(10, 11, 16, 0.35); border: 1px solid var(--stroke-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.round:active { transform: scale(0.94); }
.round .ico { width: 19px; height: 19px; }

.link { color: var(--gold); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link .ico { width: 16px; height: 16px; }

/* ---------- Üst çubuk ---------- */

.bar {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  height: calc(var(--bar-h) + var(--safe-top)); padding: var(--safe-top) var(--pad) 0;
  transition: background-color 0.4s, backdrop-filter 0.4s;
}
.bar.is-solid { background: rgba(6, 7, 10, 0.6); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.bar__right { display: flex; gap: 8px; }
.place {
  display: flex; align-items: center; gap: 7px; min-width: 0; max-width: 70%;
  height: 42px; padding: 0 14px 0 11px; border-radius: 999px;
  background: rgba(10, 11, 16, 0.35); border: 1px solid var(--stroke-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.place .ico { width: 18px; height: 18px; color: var(--gold); }
.place .ico--sm { color: var(--text-2); width: 15px; height: 15px; }
.place__name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.place__region { color: var(--text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Ekranlar ---------- */

.screen { min-height: 100vh; min-height: 100svh; }
.screen.is-entering { animation: screenIn 0.45s var(--ease); }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } }
.screen--full { position: fixed; inset: 0; min-height: 0; overflow: hidden; }

/* ---------- Bugün: açılış ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--bar-h) + var(--safe-top) + 10px) var(--pad) calc(var(--tabs-h) + var(--safe-bottom) + 18px);
  touch-action: pan-y;
}
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero__body { margin-top: auto; max-width: 720px; will-change: transform, opacity; }
.hero__body.is-swipe-l { animation: swipeL 0.55s var(--ease); }
.hero__body.is-swipe-r { animation: swipeR 0.55s var(--ease); }
@keyframes swipeL { from { opacity: 0; transform: translateX(34px); } }
@keyframes swipeR { from { opacity: 0; transform: translateX(-34px); } }

.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px;
  background: rgba(10, 11, 16, 0.38); border: 1px solid var(--stroke-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.seg__btn { position: relative; z-index: 1; padding: 7px 15px; text-align: center; white-space: nowrap; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: color 0.35s; }
.seg__btn[aria-selected="true"] { color: #16110a; }
.seg__pill { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--text); transition: transform 0.55s var(--ease); }
.seg[data-active="1"] .seg__pill { transform: translateX(100%); }
.seg--small .seg__btn { padding: 6px 13px; font-size: 13px; }

.pill-live {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  padding: 7px 13px 7px 11px; border-radius: 999px;
  background: rgba(10, 11, 16, 0.32); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 500; color: var(--text);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }

.score { display: flex; align-items: flex-start; gap: 6px; }
.score__num {
  font-weight: 200; font-size: clamp(118px, 33vw, 230px); line-height: 0.82; letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums; margin-left: -0.04em;
  background: linear-gradient(180deg, #ffffff 20%, var(--score-color) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.25));
}
.score__of { margin-top: 0.9em; font-size: clamp(18px, 3.4vw, 26px); font-weight: 300; color: var(--text-2); letter-spacing: -0.02em; }

.verdict {
  margin-top: 6px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 9vw, 72px); line-height: 1; letter-spacing: -0.015em;
  text-wrap: balance;
}
.verdict em { color: var(--score-color); }
.why { max-width: 42ch; margin-top: 12px; color: var(--text-2); font-size: 16px; line-height: 1.45; text-wrap: pretty; }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; max-width: 520px; }
.chip-time {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 12px; border-radius: 18px;
  background: rgba(10, 11, 16, 0.34); border: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
}
.chip-time__k { font-size: 11.5px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.chip-time__v { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip-time--sun .chip-time__v { color: var(--gold); font-weight: 400; }

.pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; }
.pager__dots { display: flex; gap: 6px; }
.pager__dot {
  position: relative; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
}
.pager__dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); transition: all 0.4s var(--ease); }
.pager__dot.is-on::before { width: 22px; border-radius: 999px; background: var(--text); }
.pager__dot[data-best]::after { content: ""; position: absolute; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.pager__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text-2); }
.pager__arrow:disabled { opacity: 0.25; }
@media (hover: none) { .pager__arrow { display: none; } }

/* ---------- Kart destesi ---------- */

.deck {
  position: relative;
  display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr);
  max-width: 1180px; margin: 0 auto;
  padding: 0 var(--pad) calc(var(--tabs-h) + var(--safe-bottom) + 40px);
}
@media (min-width: 900px) {
  .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .card--wide { grid-column: 1 / -1; }
}
.card { padding: 22px 20px 22px; border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 700px) { .card { padding: 28px 28px 28px; } }
.card__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card__title { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.card__title em { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.18em; color: var(--gold); letter-spacing: -0.01em; }
.card__lede { color: var(--text-2); font-size: 14.5px; margin-top: 4px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Etkenler */
.factors { display: grid; gap: 16px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.factor { display: grid; gap: 7px; }
.factor__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.factor__name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.factor__name::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.factor[data-mood="good"] .factor__name::before { background: var(--good); box-shadow: 0 0 8px rgba(167, 227, 180, 0.6); }
.factor[data-mood="meh"] .factor__name::before { background: var(--meh); }
.factor[data-mood="bad"] .factor__name::before { background: var(--bad); }
.factor__val { font-size: 17px; font-weight: 400; font-variant-numeric: tabular-nums; }
.factor__bar { position: relative; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.factor__ideal { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: rgba(246, 193, 119, 0.35); }
.factor__dot { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--text); box-shadow: 0 0 0 3px rgba(10, 11, 16, 0.8); transition: left 1.2s var(--ease); }
.factor__note { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* Notlar */
.notes { display: grid; gap: 12px; }
.note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; }
.note .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.note--moment { padding: 14px; border-radius: var(--r-md); background: linear-gradient(135deg, rgba(246, 193, 119, 0.16), rgba(255, 138, 160, 0.06)); border: 1px solid rgba(246, 193, 119, 0.3); }
.note--moment strong { display: block; font-weight: 600; margin-bottom: 2px; }

/* Asistan */
.assist__tabs { margin-bottom: 16px; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 8px; }
.setting { padding: 13px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.setting__k { font-size: 12px; color: var(--text-2); }
.setting__v { font-size: 22px; font-weight: 300; letter-spacing: -0.02em; margin: 2px 0 3px; font-variant-numeric: tabular-nums; }
.setting__n { font-size: 12.5px; color: var(--text-3); line-height: 1.35; }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.bullets li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* Zaman çizelgesi */
.arc svg { width: 100%; height: auto; overflow: visible; }
.arc .t-tick { font-family: var(--mono); font-size: 10.5px; fill: var(--text-3); }
.arc .t-lab { font-family: var(--sans); font-size: 12px; font-weight: 500; fill: var(--text); }
.arc .t-now { font-family: var(--mono); font-size: 10.5px; fill: var(--gold); letter-spacing: 0.1em; }
.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0 28px; margin-top: 16px; }
.hours li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--stroke); font-size: 14px; }
.hours li span { display: flex; align-items: center; gap: 9px; color: var(--text-2); }
.hours li span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--c, var(--text-3)); }
.hours li strong { font-weight: 400; font-variant-numeric: tabular-nums; }
.hours li.is-mode span { color: var(--text); }

/* Pusula */
.compass { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 20px; align-items: center; }
.compass__dial svg { width: 100%; height: auto; }
.compass__deg { font-size: 56px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.compass__dir { font-size: 17px; font-weight: 600; margin-top: 4px; }
.compass__text { font-size: 14px; color: var(--text-2); margin-top: 8px; }
.compass__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 560px) {
  .compass { grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
  .compass__deg { font-size: 44px; }
  .compass__actions { grid-column: 1 / -1; }
}

/* Hafta */
.week { display: grid; }
.wday {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; align-items: center; gap: 14px;
  padding: 12px 10px; margin: 0 -10px; border-radius: 14px; text-align: left; width: calc(100% + 20px);
  transition: background-color 0.3s;
}
.wday + .wday { border-top: 1px solid var(--stroke); }
.wday:hover { background: rgba(255, 255, 255, 0.04); }
.wday.is-on { background: rgba(246, 193, 119, 0.1); }
.wday__d { font-weight: 600; font-size: 15px; }
.wday__t { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.wday__bar { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.wday__fill { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, #8e8a84, var(--gold) 55%, var(--ember) 80%, var(--rose)); background-size: var(--full, 100%) 100%; transition: width 1.2s var(--ease); }
.wday__s { justify-self: end; font-size: 20px; font-weight: 300; font-variant-numeric: tabular-nums; }
.wday__best { color: var(--gold); margin-left: 5px; font-size: 12px; }

/* Noktalar (yatay kaydırma) */
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .rail { margin: 0 -28px; padding: 2px 28px 6px; } }
.spot {
  flex: 0 0 min(78%, 280px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--stroke);
}
.spot[data-fit="ideal"] { border-color: rgba(167, 227, 180, 0.35); }
.spot__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.spot__name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.spot__district { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.badge { flex: none; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255, 255, 255, 0.08); color: var(--text-2); }
.badge--good { background: rgba(167, 227, 180, 0.16); color: var(--good); }
.badge--meh { background: rgba(243, 211, 138, 0.16); color: var(--meh); }
.badge--gold { background: rgba(246, 193, 119, 0.16); color: var(--gold); }
.spot__note { font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.spot__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--text-3); }

/* Ay kartı */
.moon { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.moon__disc svg { width: 96px; height: 96px; filter: drop-shadow(0 0 22px rgba(255, 244, 220, 0.25)); }
.moon__phase { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.moon__meta { font-size: 13.5px; color: var(--text-2); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 8px; margin-top: 16px; }
.kv > div { padding: 11px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.kv dt { font-size: 11.5px; color: var(--text-2); }
.kv dd { font-size: 17px; font-weight: 400; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Topluluk şeridi */
.shots { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { position: relative; flex: 0 0 132px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot span { position: absolute; left: 8px; right: 8px; bottom: 7px; font-size: 11.5px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }

/* Eylemler */
.actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.action {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); font-size: 13px; font-weight: 600; text-align: center;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.action:active { transform: scale(0.97); }
.action .ico { color: var(--gold); }

.footnote { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 8px 0 0; font-size: 12px; color: var(--text-3); text-align: center; }
.footnote a { color: var(--text-2); border-bottom: 1px solid var(--stroke-2); }

/* ---------- Sayfa ekranları (Keşfet, Arşiv) ---------- */

.page { max-width: 1180px; margin: 0 auto; padding: calc(var(--bar-h) + var(--safe-top) + 18px) var(--pad) calc(var(--tabs-h) + var(--safe-bottom) + 40px); display: grid; gap: 14px; }
@media (min-width: 900px) { .page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
.page__head { grid-column: 1 / -1; padding: 8px 2px 10px; }
.page__title { font-size: clamp(40px, 9vw, 72px); font-weight: 200; letter-spacing: -0.045em; line-height: 0.95; }
.page__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); letter-spacing: -0.02em; }
.page__lede { color: var(--text-2); max-width: 52ch; margin-top: 12px; font-size: 15.5px; }

/* İstanbulhenge */
.henge { display: grid; gap: 10px; }
.hevent { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.hevent__date { display: grid; place-items: center; text-align: center; padding: 8px 0; border-radius: 14px; background: rgba(246, 193, 119, 0.12); }
.hevent__day { font-size: 24px; font-weight: 300; line-height: 1; color: var(--gold); }
.hevent__mon { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); margin-top: 3px; }
.hevent__title { font-size: 15.5px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.hevent__meta { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.hevent.is-soon { border-color: rgba(246, 193, 119, 0.45); background: linear-gradient(135deg, rgba(246, 193, 119, 0.14), rgba(255, 255, 255, 0.03)); }
.henge__hero { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px; background: #0b0c12; }
.henge__hero svg { width: 100%; height: 100%; }

/* Arşiv */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__h { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--text-3); text-align: center; padding-bottom: 4px; }
.cal__d { position: relative; aspect-ratio: 1; border-radius: 10px; background: rgba(255, 255, 255, 0.035); overflow: hidden; font-size: 11px; color: var(--text-3); padding: 4px 5px; text-align: left; }
.cal__d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cal__d.has { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8); }
.cal__d.is-today { outline: 1px solid var(--gold); }
.cal__d span { position: relative; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.stat__v { font-size: 30px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; }
.stat__k { font-size: 12px; color: var(--text-2); margin-top: 6px; }
.entries { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.entry { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.05); text-align: left; }
.entry img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.entry:hover img { transform: scale(1.04); }
.entry__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); font-size: 12px; }
.entry__meta b { display: block; font-size: 13px; }
.empty { display: grid; place-items: center; gap: 12px; padding: 34px 10px; text-align: center; color: var(--text-2); }
.empty .ico { width: 34px; height: 34px; color: var(--gold); }

.stars { display: flex; gap: 6px; }
.stars button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--text-3); }
.stars button.is-on { color: var(--gold); background: rgba(246, 193, 119, 0.14); }
.stars .ico { width: 22px; height: 22px; }
.stars button.is-on .ico { fill: currentColor; }

/* ---------- Alt sekmeler ---------- */

.tabs {
  position: fixed; left: 50%; bottom: calc(var(--safe-bottom) + 12px); z-index: 70;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  width: min(440px, calc(100% - 24px)); height: 64px; padding: 0 6px; border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)), rgba(12, 13, 19, 0.62);
  -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid var(--stroke-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.is-intro .tabs { transform: translateX(-50%) translateY(14px); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; color: var(--text-3); transition: color 0.3s; }
.tab .ico { width: 23px; height: 23px; transition: transform 0.4s var(--ease); }
.tab__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em; }
.tab.is-active { color: var(--text); }
.tab.is-active .ico { color: var(--gold); }
.tab:active .ico { transform: scale(0.9); }
.tab--cam { justify-self: center; width: 52px; height: 52px; border-radius: 50%; color: #2a1a06; background: linear-gradient(180deg, #ffd79a, #f2b25c); box-shadow: 0 10px 26px -8px rgba(246, 179, 92, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.tab--cam .ico { width: 24px; height: 24px; color: #2a1a06 !important; }
.tab--cam.is-active { box-shadow: 0 0 0 3px rgba(246, 193, 119, 0.35), 0 10px 26px -8px rgba(246, 179, 92, 0.7); }

/* ---------- Harita ---------- */

.map { position: absolute; inset: 0; background: #0b0d12; }
.map .leaflet-container { background: #0b0d12; font-family: var(--sans); }
.map__top { position: absolute; left: 0; right: 0; top: calc(var(--bar-h) + var(--safe-top) + 6px); z-index: 500; padding: 0 var(--pad); pointer-events: none; }
.map__days { display: flex; gap: 6px; overflow-x: auto; pointer-events: auto; scrollbar-width: none; }
.map__days::-webkit-scrollbar { display: none; }
.map__day { flex: none; display: flex; flex-direction: column; align-items: center; padding: 7px 12px; border-radius: 14px; background: rgba(10, 11, 16, 0.6); border: 1px solid var(--stroke-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 12.5px; font-weight: 600; }
.map__day small { font-size: 11px; font-weight: 400; color: var(--text-2); font-variant-numeric: tabular-nums; }
.map__day.is-on { background: var(--text); color: #16110a; }
.map__day.is-on small { color: rgba(22, 17, 10, 0.65); }
.map__legend { position: absolute; right: var(--pad); top: calc(var(--bar-h) + var(--safe-top) + 64px); z-index: 500; display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 11, 16, 0.6); border: 1px solid var(--stroke); font-size: 11px; color: var(--text-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.map__legend i { width: 70px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #5b5f6a, #c9a86a, #f6c177, #ff8f6b, #ff5f8a); }
.map__card { position: absolute; left: 12px; right: 12px; bottom: calc(var(--tabs-h) + var(--safe-bottom) + 22px); z-index: 500; padding: 16px 18px; border-radius: var(--r-lg); max-width: 520px; margin: 0 auto; }
.map__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.map__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); font-size: 1.15em; }
.map__sub { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.map__actions .btn { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.map .heat-pane { mix-blend-mode: screen; filter: saturate(1.3); pointer-events: none; }
.leaflet-control-attribution { background: rgba(10, 11, 16, 0.6) !important; color: var(--text-3) !important; font-size: 9px !important; }
.leaflet-control-attribution a { color: var(--text-2) !important; }
.leaflet-control-zoom { display: none; }
.pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(246, 193, 119, 0.35), 0 4px 14px rgba(0, 0, 0, 0.5); }
.pin--me { background: var(--gold); }
.pin--best { background: var(--ember); box-shadow: 0 0 0 6px rgba(255, 143, 107, 0.35), 0 0 30px rgba(255, 143, 107, 0.7); animation: pulse 2s infinite; }
.pin--spot { width: 10px; height: 10px; border-width: 1.5px; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.pin--spot.is-ideal { background: var(--good); box-shadow: 0 0 0 4px rgba(167, 227, 180, 0.3); }
.leaflet-tooltip.tip { background: rgba(10, 11, 16, 0.85); color: var(--text); border: 1px solid var(--stroke-2); border-radius: 10px; font: 600 12px var(--sans); padding: 5px 9px; box-shadow: none; }
.leaflet-tooltip.tip::before { display: none; }

/* ---------- Kamera ---------- */

.cam__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.cam__overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cam__top { position: absolute; left: 0; right: 0; top: calc(var(--bar-h) + var(--safe-top) + 8px); padding: 0 var(--pad); z-index: 5; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.cam__status { font-size: 16px; font-weight: 600; margin-top: 4px; }
.cam__intro { position: absolute; left: 12px; right: 12px; top: 50%; transform: translateY(-50%); max-width: 460px; margin: 0 auto; padding: 26px 22px; border-radius: var(--r-xl); text-align: center; z-index: 6; }
.cam__badge { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; margin-bottom: 16px; background: linear-gradient(180deg, #ffd79a, #f2b25c); color: #2a1a06; }
.cam__badge .ico { width: 30px; height: 30px; }
.cam__title { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.cam__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); font-size: 1.15em; }
.cam__text { color: var(--text-2); font-size: 15px; margin: 10px 0 20px; }
.cam__note { font-size: 13px; color: var(--text-3); margin-top: 12px; }
.cam__bottom { position: absolute; left: 0; right: 0; bottom: calc(var(--tabs-h) + var(--safe-bottom) + 26px); z-index: 5; display: flex; align-items: center; justify-content: center; gap: 12px; }
.round--glass { background: rgba(10, 11, 16, 0.55); }

/* ---------- Pencereler ---------- */

.dlg {
  width: min(560px, 100%); max-width: 100%; max-height: min(90vh, 820px);
  margin: auto auto 0; padding: 0; border: 1px solid var(--stroke-2); border-bottom: 0; border-radius: 30px 30px 0 0;
  background: linear-gradient(180deg, rgba(28, 29, 38, 0.96), rgba(14, 15, 21, 0.98)); color: var(--text); overflow: hidden;
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, 0.7);
}
.dlg::backdrop { background: rgba(4, 5, 8, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dlg[open] { animation: dlgUp 0.6s var(--ease); }
@keyframes dlgUp { from { transform: translateY(60px); opacity: 0; } }
@media (min-width: 700px) { .dlg { margin: auto; border-bottom: 1px solid var(--stroke-2); border-radius: 30px; } }
.dlg__inner { display: flex; flex-direction: column; gap: 14px; max-height: inherit; overflow-y: auto; overscroll-behavior: contain; padding: 22px 20px calc(var(--safe-bottom) + 24px); }
.dlg__inner::before { content: ""; align-self: center; width: 38px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.2); margin: -8px 0 2px; }
@media (min-width: 700px) { .dlg__inner::before { display: none; } }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dlg__title { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.dlg__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); font-size: 1.15em; }
.dlg__sub { margin-top: 6px; }
.dlg__text { color: var(--text-2); font-size: 14.5px; }

.search { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.search:focus-within { border-color: var(--gold); }
.search .ico { width: 18px; height: 18px; color: var(--text-2); }
.search input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 16px; }
.search input::placeholder { color: var(--text-3); }

.list li + li { border-top: 1px solid var(--stroke); }
.list button { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 4px; text-align: left; }
.list button:hover .list__name { color: var(--gold); }
.list__name { font-size: 16px; font-weight: 600; transition: color 0.2s; }
.list__sub { font-size: 13px; color: var(--text-2); }
.list__empty { padding: 14px 4px; color: var(--text-2); font-size: 15px; }

.field { display: grid; gap: 7px; }
.field > span { font-size: 13px; color: var(--text-2); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06); color: var(--text); font: inherit; font-size: 16px; outline: 0;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field select option { background: #15161d; }

.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-top: 1px solid var(--stroke); }
.row__t { font-size: 15.5px; font-weight: 600; }
.row__s { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.toggle { position: relative; flex: none; width: 52px; height: 32px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); transition: background-color 0.35s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.45s var(--ease); }
.toggle[aria-checked="true"] { background: linear-gradient(180deg, #ffd79a, #f2b25c); }
.toggle[aria-checked="true"]::after { transform: translateX(20px); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--stroke-2); font-size: 13.5px; font-weight: 600; color: var(--text-2); transition: all 0.3s; }
.opt.is-on { background: var(--text); color: #16110a; border-color: var(--text); }
.range { width: 100%; accent-color: var(--gold); }

.share__img { display: grid; place-items: center; border-radius: 20px; overflow: hidden; background: #000; }
.share__img img { max-height: 54vh; width: auto; border-radius: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.preview-img { width: 100%; max-height: 42vh; object-fit: cover; border-radius: 18px; }

/* ---------- Bildirim balonu ---------- */

.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabs-h) + var(--safe-bottom) + 26px); z-index: 400;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px;
  background: rgba(246, 243, 238, 0.96); color: #15110b; font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.35s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Veri yok ---------- */
.no-data .deck, .no-data .pager { display: none; }

/* ---------- Bilgisayar ---------- */

@media (min-width: 1000px) {
  .hero { padding-left: calc(var(--pad) + 16px); padding-right: calc(var(--pad) + 16px); }
  .hero__body { display: grid; grid-template-columns: auto 1fr; column-gap: 40px; max-width: none; align-items: end; }
  .hero__body .pill-live, .hero__body .score, .hero__body .verdict, .hero__body .why { grid-column: 1; }
  .hero__body .pill-live { justify-self: start; }
  .hero__body .chips { grid-column: 2; grid-row: 2 / 5; align-self: end; justify-self: end; width: min(520px, 100%); margin: 0; }
  .pager { justify-content: flex-start; }
  .tabs { bottom: 20px; }
}

/* ---------- Az hareket ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; }
}
