:root {
  --ink: #D5DFE4;
  --muted: #85919A;
  --line: rgb(255 255 255 / .2);
  --focus: #7DD3FC;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Sometype Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --glass: rgb(14 16 18 / .62);
  --glass-line: rgb(255 255 255 / .09);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top: max(16px, env(safe-area-inset-top));
  --side: max(clamp(20px, 4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right)); /* yatay iPhone: çentiğe girmesin */
  --bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
  --slow: 1;
  --kb: 1.08;
  color-scheme: dark;
}
/* Hareketi azalt: animasyonlar kapanmaz, yalnızca yavaşlar ve yumuşar */
@media (prefers-reduced-motion: reduce) { :root { --slow: 2; --kb: 1.04; } }

* { box-sizing: border-box; }
/* Sayfa yakınlaştırması kapalı (kullanıcı isteği): tutam ve çift dokunuş sayfayı büyütmez, kaydırma çalışır.
   iPhone Safari viewport'taki user-scalable=no'yu yok sayar; touch-action ve app.js'teki gesturestart bunun için. */
html { touch-action: pan-x pan-y; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  background: #000;
}

a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 8px; }

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 650;
  font-stretch: 88%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lead { margin: 12px 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.125rem); text-wrap: pretty; }

/* Cam yüzey: üst çubuk, plak, dil düğmesi, durdur düğmesi */
.bar, .disc, .lang, .pause {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--glass-line);
  color: var(--ink);
}

/* ---------- Üst çubuk (Lama Lama tarzı): simge · yer adı · menü ---------- */
.bar {
  position: fixed;
  z-index: 10;
  top: var(--top);
  left: 50%;
  width: min(438px, 100% - 264px);
  transform: translateX(-50%);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgb(0 0 0 / .22);
}
/* Dar ekranda çubuk soldan başlar, sağda plak + dil düğmesine yer kalır */
@media (max-width: 720px) { .bar { left: 16px; right: 132px; width: auto; transform: none; } }
/* Ülkeler (masaüstü): ekran bölünürken çubuk da sağdaki videonun ortasına kayar.
   Plak ve EN düğmesine değmesin diye gerekirse biraz daralır ya da birkaç piksel sola durur. */
@media (min-width: 761px) {
  .bar { transition: left calc(.9s * var(--slow)) var(--ease), width calc(.9s * var(--slow)) var(--ease); }
  .is-countries .bar {
    --bw: clamp(220px, 66.667% - 200px, 438px);
    width: var(--bw);
    left: min(66.667%, 100% - 148px - var(--bw) / 2); /* 2/3'lük video alanının ortası */
  }
}
.bar-row { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; height: 48px; }
@media (max-width: 480px) { .bar-row { grid-template-columns: 44px 1fr 44px; } .mark, .menu-btn { width: 44px; } }
.mark, .menu-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mark svg * { vector-effect: non-scaling-stroke; }
.mer { transform-box: fill-box; transform-origin: center; animation: mer calc(4s * var(--slow)) ease-in-out infinite alternate; }
.mer2 { animation-delay: calc(-2s * var(--slow)); }
@keyframes mer { from { transform: scaleX(1); } to { transform: scaleX(-1); } }

.msg {
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .14em;
}
@media (max-width: 720px) { .msg { letter-spacing: .08em; } }
@media (max-width: 480px) { .msg { font-size: .6875rem; letter-spacing: .02em; } }

.menu-btn i { grid-area: 1 / 1; width: 18px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .45s var(--ease); }
.menu-btn i:nth-child(1) { transform: translateY(-5px); }
.menu-btn i:nth-child(3) { transform: translateY(5px); }
.bar.open .menu-btn i { transform: none; } /* üç çizgi tek çizgiye (eksi) döner */

/* Panel: çubuk aşağı doğru uzar, çizgiler soldan çizilir, maddeler aşağıdan kayar */
.panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.bar.open .panel { grid-template-rows: 1fr; transition-duration: calc(.6s * var(--slow)); }
.panel-in { min-height: 0; overflow: hidden; }
.panel ul { margin: 0; padding: 2px 8px 10px; list-style: none; }
.panel li { position: relative; }
.panel li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgb(255 255 255 / .12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.panel a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-height: 52px;
  padding: 14px 10px 0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: background .2s;
}
.panel a:hover { background: rgb(255 255 255 / .07); }
.panel a span { display: block; transform: translateY(130%); transition: transform .3s ease; }
.panel .no { font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.panel .nm { font-size: 1.125rem; font-weight: 550; line-height: 1.2; }
.bar.open .panel li::before { transform: scaleX(1); transition: transform calc(.7s * var(--slow)) var(--ease) calc((.12s + var(--i) * .06s) * var(--slow)); }
.bar.open .panel a span { transform: none; transition: transform calc(.7s * var(--slow)) var(--ease) calc((.16s + var(--i) * .06s) * var(--slow)); }

/* Müzik düğmesi: çizgi plak (dış halka, ince iç halka, parlak yay, orta nokta).
   Çalarken döner, kapalıyken olduğu yerde durur. */
.disc {
  position: fixed;
  z-index: 10;
  top: var(--top);
  right: 74px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity .4s, visibility .4s, transform .15s;
}
.disc:hover { transform: scale(1.05); }
.disc:active { transform: scale(.95); }
body:not(.is-home):not(.is-countries):not(.is-country) .disc { opacity: 0; visibility: hidden; } /* müzik video olan sayfalarda */
.disc svg { width: 34px; height: 34px; fill: none; stroke-linecap: round; }
.rec { transform-box: view-box; transform-origin: 50% 50%; animation: spin calc(2.4s * var(--slow)) linear infinite paused; }
.ro { stroke: rgb(255 255 255 / .78); stroke-width: 1.7; }
.ri { stroke: rgb(255 255 255 / .38); stroke-width: 1; }
.rh { stroke: rgb(255 255 255 / .92); stroke-width: 1.5; }
.rc { fill: rgb(255 255 255 / .78); }
.disc.on .rec { animation-play-state: running; }
.disc:not(.on) { opacity: .75; }
@keyframes spin { to { transform: rotate(1turn); } }

/* Dil düğmesi: sağ üst köşede, çubukla aynı hizada */
.lang {
  position: fixed;
  z-index: 10;
  top: var(--top);
  right: 16px;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 14px;
  font: 500 .75rem/1 var(--mono);
  letter-spacing: .1em;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.lang:hover { background: rgb(40 44 48 / .7); }
.lang:active, .pause:active { transform: scale(.95); }

/* ---------- Açılış videoları: üst üste iki video, sırayla yumuşak geçiş ---------- */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  visibility: hidden;
  transition: left calc(.9s * var(--slow)) var(--ease), bottom calc(.9s * var(--slow)) var(--ease);
}
.is-home .stage, .is-countries .stage, .is-country .stage { visibility: visible; }
.v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; background: center / cover no-repeat; } /* fotoğraflar (Yemek) arka plan görseli olarak da verilir: app.js prime() */
.v.on { z-index: 2; opacity: 1; transition: opacity calc(2s * var(--slow)) ease; }
.stage.quick .v.on { transition-duration: calc(.7s * var(--slow)); } /* Ülkeler'de seçilen ülkeye hızlı geçiş */
.v.out { z-index: 1; opacity: 1; }
.v.on, .v.out { animation: kb 9s linear both; } /* yavaş yakınlaşma; .on → .out geçişinde kesilmez */
.stage.paused .v { animation-play-state: paused; }
@keyframes kb { from { transform: scale(var(--kb)); } to { transform: scale(1); } }
.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(rgb(0 0 0 / .42), rgb(0 0 0 / .06) 26%, rgb(0 0 0 / .08) 55%, rgb(0 0 0 / .62));
}

/* Ülkeler: listenin siyahı sağa doğru şeffaflaşarak videoya karışır; video şeffaflaşmanın başladığı yerden başlar.
   Telefonda aynı geçiş alttan yukarı (video üstte, liste altta). Ana sayfada görünmez. */
.stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 0;
  width: 37%;
  background: linear-gradient(to right, #000, rgb(0 0 0 / .96) 10%, rgb(0 0 0 / .89) 20%, rgb(0 0 0 / .79) 30%, rgb(0 0 0 / .66) 40%,
    rgb(0 0 0 / .52) 50%, rgb(0 0 0 / .37) 60%, rgb(0 0 0 / .24) 70%, rgb(0 0 0 / .12) 80%, rgb(0 0 0 / .04) 90%, rgb(0 0 0 / 0)); /* yumuşak (ease) geçiş, bantlaşma olmasın */
  opacity: 0;
  pointer-events: none;
  transition: opacity calc(.9s * var(--slow)) var(--ease);
}
.is-countries .stage::before { opacity: 1; }
@media (max-width: 760px) {
  .stage::before {
    top: auto;
    right: 0;
    width: auto;
    height: 30%;
    background: linear-gradient(to top, #000, rgb(0 0 0 / .82) 25%, rgb(0 0 0 / .5) 50%, rgb(0 0 0 / .2) 75%, rgb(0 0 0 / 0));
  }
}

main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; }
body:not(.is-home):not(.is-country) main { padding-top: calc(var(--top) + 64px); }

.hero { flex: 1; min-height: 100svh; }
.place { position: fixed; left: var(--side); right: calc(var(--side) + 60px); bottom: var(--bottom); margin: 0; }
.ln { display: block; overflow: hidden; }
.ln > span { display: block; }
.pn { padding-bottom: .08em; color: #fff; font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.pw { margin-top: 4px; color: rgb(255 255 255 / .78); font: 500 .8125rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.pause {
  position: fixed;
  right: var(--side);
  bottom: var(--bottom);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.pause:hover { background: rgb(40 44 48 / .7); }
.pause svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- Ülkeler: ekran ikiye bölünür; solda liste, sağda video (telefonda video üstte, liste altta) ---------- */
.is-countries { --list: max(33.333%, 300px); } /* ekranın 1/3'ü liste, 2/3'ü video */
.is-countries .stage { left: calc(var(--list) - 6%); left: round(down, calc(var(--list) - 6%), 1px); } /* tam piksele yuvarla: kesirli kenarda ince açık çizgi çıkmasın */ /* video, listenin sağ ucundan biraz önce başlar; üstündeki siyah yavaşça şeffaflaşır */
.is-countries .place { left: calc(var(--list) + var(--side)); }
.is-countries .pn { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.countries {
  position: fixed;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--list);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--top) + 88px) clamp(20px, 4vw, 56px) 48px;
}
/* Geri: liste kapanır, video tam ekrana açılır (ana sayfaya geçmeden hemen önce) */
.countries { transition: opacity calc(.4s * var(--slow)) ease, transform calc(.45s * var(--slow)) var(--ease); }
.split-out .countries { opacity: 0; transform: translateX(-48px); }
.split-out .place, .split-out .pause { opacity: 0; transition: opacity calc(.3s * var(--slow)) ease; }
.split-out .stage { left: 0 !important; bottom: 0 !important; }
.split-out .stage::before { opacity: 0; }
@media (max-width: 760px) { .split-out .countries { transform: translateY(48px); } }
.c-title { display: flex; align-items: baseline; gap: 12px; font-size: clamp(2rem, 3.6vw, 3.25rem); animation: c-in calc(.8s * var(--slow)) var(--ease) calc(.15s * var(--slow)) both; }
.c-title:focus { outline: none; }
.c-back { margin-bottom: 6px; animation: c-in calc(.8s * var(--slow)) var(--ease) calc(.1s * var(--slow)) both; }
@media (min-width: 761px) { /* çubuk videoya kaydığı için sol üst boş: geri düğmesi çubukla aynı hizada */
  .c-back { position: absolute; top: calc(var(--top) + 3px); left: calc(clamp(20px, 4vw, 56px) - 6px); margin: 0; }
}
.c-count { font: 500 .75rem/1 var(--mono); letter-spacing: .1em; color: var(--muted); }
.clist { margin: 28px 0 0; padding: 0; list-style: none; }
.clist li { position: relative; overflow: hidden; }
.clist li::before { /* ayırıcı çizgi soldan sağa çizilir */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgb(255 255 255 / .12);
  transform-origin: left;
  animation: c-line calc(.9s * var(--slow)) var(--ease) calc((.3s + var(--i) * .04s) * var(--slow)) both;
}
.clist a {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px 14px;
  text-decoration: none;
  transition: opacity .35s;
  animation: c-in calc(.8s * var(--slow)) var(--ease) calc((.3s + var(--i) * .04s) * var(--slow)) both;
}
.clist .flag { align-self: center; width: 28px; height: 21px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgb(255 255 255 / .14); }
.clist .cn { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; transition: transform .5s var(--ease); }
.clist.has-cur a:not(.cur) { opacity: .38; }
.clist a.cur .cn { transform: translateX(10px); }
.clist a:focus-visible { outline-offset: -3px; } /* li taşmayı kestiği için halka içeride */
@keyframes c-in { from { transform: translateY(110%); } }
@keyframes c-line { from { transform: scaleX(0); } }
@media (max-width: 760px) {
  .is-countries .stage { left: 0; bottom: 55svh; }
  .countries { top: 45svh; width: 100%; padding: 18px var(--side) 40px; }
  .c-title { font-size: 1.75rem; }
  .clist { margin-top: 12px; }
  .clist a { padding: 13px 2px 11px; }
  .clist .cn { font-size: 1.375rem; }
  .is-countries .place { left: var(--side); bottom: calc(55svh + 14px); }
  .is-countries .pn { font-size: 1.5rem; }
  .is-countries .pw { font-size: .6875rem; }
  .is-countries .pause { bottom: calc(55svh + 12px); width: 44px; height: 44px; }
}

/* ---------- Ülke sayfası: üstte sabit video (içerik kayarak üstüne gelir), aşağıda bölümler ---------- */
.cp-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: max(440px, 74svh);
  padding: calc(var(--top) + 80px) var(--side) 56px;
}
.cp-back { position: absolute; top: calc(var(--top) + 3px); left: calc(var(--side) - 6px); margin: 0; }
/* Dar ekranda üst çubuk soldan başladığı için geri düğmesinin üstünü kapatıyordu: düğme çubuğun altına iner */
@media (max-width: 720px) { .cp-back { top: calc(var(--top) + 58px); } }
.cp-title {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  color: #fff;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 650;
  line-height: .95;
  letter-spacing: -.035em;
  animation: c-in calc(.9s * var(--slow)) var(--ease) calc(.15s * var(--slow)) both;
}
.cp-title:focus { outline: none; }
.cp-flag { width: clamp(36px, 5vw, 56px); height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgb(255 255 255 / .2); }
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; animation: c-in calc(.9s * var(--slow)) var(--ease) calc(.3s * var(--slow)) both; }
.cp-chips span {
  padding: 7px 12px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 500 .6875rem/1 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.is-country .place { position: absolute; left: auto; right: calc(var(--side) + 60px); bottom: 56px; text-align: right; }
.is-country .pn { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
.is-country .pw { font-size: .6875rem; }
.is-country .pause { position: absolute; bottom: 56px; }

.cp-body { position: relative; background: #000; padding: 16px var(--side) 96px; }
.cp-body::before { /* video ile içerik arasında yumuşak geçiş */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 120px;
  background: linear-gradient(to top, #000, rgb(0 0 0 / 0));
  pointer-events: none;
}
.cp-body > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.cp-sec + .cp-sec { margin-top: clamp(64px, 9vw, 112px); }
.cp-sec h2 { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 650; letter-spacing: -.025em; }
.cp-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cp-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.cp-lead { margin: 0; color: var(--ink); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.55; text-wrap: pretty; }
.pcard-tag, .day-no { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Süzgeç ve gün seçimi: hap düğmeler */
.seg { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--glass-line); border-radius: 999px; background: rgb(255 255 255 / .04); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 .875rem var(--font); cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #000; }
.seg button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* Yer kartları */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.pcard button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: #111; color: inherit; text-align: left; cursor: pointer; aspect-ratio: 16 / 10; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard button:hover img, .pcard button:focus-visible img { transform: scale(1.05); }
.pcard button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .78), rgb(0 0 0 / 0) 60%); }
.pcard-txt { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.pcard-txt strong { color: #fff; font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.pcard-txt span:last-child { color: rgb(255 255 255 / .75); font-size: .875rem; }
.pcard[hidden] { display: none; }

/* Yemek kartları */
/* Yemekler: sade kartlar (fotoğraf, ad, iki satır açıklama); tamamı, nerede yenir ve harita yan panelde */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 32px 16px; margin: 0; padding: 0; list-style: none; }
.dcard button { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dcard-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }
.dcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dcard button:hover .dcard-img img, .dcard button:focus-visible .dcard-img img { transform: scale(1.05); }
.dcard button:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 14px; }
.dcard-name { margin-top: 14px; font-size: 1rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.dcard-desc { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: .8125rem; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cp-sub { margin: 36px 0 8px; font-size: 1rem; font-weight: 600; }
.cp-list { margin: 0; padding-left: 1.1em; color: var(--muted); }
.cp-list li + li { margin-top: 8px; }
.cp-list strong { color: var(--ink); font-weight: 600; }

/* Yerler bölgelere ayrılır (Londra, günübirlik, uzak) */
.preg + .preg { margin-top: 40px; }
.preg .cp-sub { margin: 0 0 14px; color: var(--muted); font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* Gün gün plan: her gün açılır kapanır, içinde saat saat zaman çizelgesi */
.plan-stay { max-width: 76ch; margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.plan-stay summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; cursor: pointer; }
.plan-stay p { margin: 4px 0 0; }
.plan { margin: 0; padding: 0; list-style: none; }
.day { border-top: 1px solid rgb(255 255 255 / .1); }
.day summary { display: grid; grid-template-columns: 3.5rem 1fr auto; gap: 16px; align-items: baseline; padding: 22px 0; cursor: pointer; list-style: none; }
.day summary::-webkit-details-marker { display: none; }
.day summary::after { content: "+"; font: 400 1.5rem/1 var(--mono); color: var(--muted); transition: transform .3s var(--ease); }
.day details[open] > summary::after { transform: rotate(45deg); }
.day-no { font-size: 1rem; color: var(--ink); }
.day-h { display: grid; gap: 2px; }
.day-h strong { font-size: 1.2rem; font-weight: 600; }
.day-h > span { color: var(--muted); font-size: .9375rem; }
.day-in { padding: 0 0 32px calc(3.5rem + 16px); }
.day-best { margin: 0 0 18px; color: var(--muted); font-size: .9375rem; }
.day-best span, .day-dl dt { margin-right: 10px; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; border-left: 1px solid rgb(255 255 255 / .14); }
.step { position: relative; display: grid; grid-template-columns: 3.75rem 1fr; gap: 12px; padding: 10px 0 10px 20px; }
.step::before { content: ""; position: absolute; left: -4px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.step--move::before, .step--walk::before { background: #000; box-shadow: inset 0 0 0 1px var(--muted); }
.step time { padding-top: 2px; font: 500 .8125rem/1.6 var(--mono); color: var(--muted); }
.step p { margin: 0; line-height: 1.55; text-wrap: pretty; }
.step--move p, .step--walk p { color: var(--muted); }
.step p.step-tip { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.plink { min-height: 44px; margin-top: 8px; padding: 6px 12px; border: 1px solid rgb(255 255 255 / .22); border-radius: 999px; background: none; color: var(--ink); font: inherit; font-size: .875rem; cursor: pointer; }
.plink::after { content: " →"; color: var(--muted); }
.plink:hover { background: rgb(255 255 255 / .1); }
.day-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 20px 0 0; }
.day-dl div { padding: 16px; border-radius: 14px; background: rgb(255 255 255 / .04); }
.day-dl dd { margin: 6px 0 0; line-height: 1.55; }
.day-note { margin: 14px 0 0; color: var(--muted); font-size: .9375rem; }

/* Pratik bilgiler */
/* Pratik bilgiler: üstte kısa bilgi kutuları, ortada simgeli konu kartları, altta genel bakış; ayrıntı yan panelde */
.qfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.qfacts li { display: flex; }
.qfact { display: grid; align-content: start; gap: 8px; width: 100%; padding: 16px 18px; border: 1px solid rgb(255 255 255 / .1); border-radius: 14px; background: rgb(255 255 255 / .03); color: var(--ink); font: inherit; text-align: left; }
button.qfact { cursor: pointer; transition: background .25s ease, border-color .25s ease; }
button.qfact:hover { border-color: rgb(255 255 255 / .24); background: rgb(255 255 255 / .07); }
.qfact-k, .pbtn-n { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qfact-v { font-size: .9375rem; font-weight: 600; line-height: 1.4; }
button.qfact .qfact-v::after { content: " →"; color: var(--muted); font-weight: 400; }
.pgrid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; margin-top: 28px; }
.pbtn { display: grid; grid-template-columns: 40px 1fr; align-content: start; column-gap: 14px; row-gap: 4px; padding: 20px; border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; background: rgb(255 255 255 / .03); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.pbtn:hover { border-color: rgb(255 255 255 / .24); background: rgb(255 255 255 / .07); }
.pbtn > span:not(.pbtn-i) { grid-column: 2; }
.pbtn-i { grid-row: 1 / span 4; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgb(255 255 255 / .07); }
.pbtn-i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pbtn-h { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.pbtn-p { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--muted); font-size: .8125rem; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pbtn-more { margin-top: 8px; font-size: .8125rem; font-weight: 600; }
.pbtn-more::after { content: " →"; color: var(--muted); }
.qabout { max-width: 72ch; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); }
.qabout h3 { margin: 0 0 10px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qabout p { margin: 0; font-size: .9375rem; line-height: 1.7; text-wrap: pretty; }
.sheet-in--text { padding-top: 76px; }
.sheet-list { margin-top: 18px; color: var(--ink); line-height: 1.65; }
.sheet-list li + li { margin-top: 14px; }
.cp-note { margin: 20px 0 0; color: var(--muted); font-size: .875rem; }

/* Yan panel */
.sheet-bg { position: fixed; inset: 0; z-index: 29; background: rgb(0 0 0 / .55); opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.sheet-bg.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0b0c0e;
  border-left: 1px solid var(--glass-line);
  transform: translateX(100%);
  transition: transform calc(.55s * var(--slow)) var(--ease);
}
.sheet.open { transform: none; }
.sheet-v { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.sheet-x { /* panel kayarken üstte kalır (sticky); eksi alt boşluk sayesinde altındaki görselin üstünde durur, yer kaplamaz */
  position: sticky;
  z-index: 1;
  top: 14px;
  margin: 14px 14px -58px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  cursor: pointer;
}
.sheet-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet-in { padding: 24px 24px 40px; }
.sheet-in .pcard-tag { margin: 0; }
.sheet-in h2 { margin: 6px 0 2px; font-size: 1.75rem; font-weight: 650; letter-spacing: -.02em; }
.sheet-where { margin: 0; color: var(--muted); }
.sheet-dl { margin: 24px 0 0; }
.sheet-dl div + div { margin-top: 18px; }
.sheet-dl dt { font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sheet-dl dd { margin: 6px 0 0; line-height: 1.6; }
.plan-ctl { display: flex; flex-wrap: wrap; gap: 10px; }

/* Kategori sayfası (/kultur/<ülke> gibi): başlıklı bilgi blokları, festival / ay kartları, zaman çizelgesi */
.cp-route { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgb(255 255 255 / .22); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.cp-route:hover { background: rgb(255 255 255 / .08); }
.cp-3d { align-self: flex-start; background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); } /* ülke sayfası başlığında 3D gezinti bağlantısı */
.tl { margin: 24px 0 0; padding: 0; list-style: none; border-left: 1px solid rgb(255 255 255 / .14); }
.tl li { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 14px 0 14px 22px; }
.tl li::before { content: ""; position: absolute; left: -4px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.tl-d { padding-top: 3px; font: 500 .8125rem/1.5 var(--mono); color: var(--ink); }
@media (max-width: 760px) {
  .tl li { grid-template-columns: 1fr; gap: 4px; padding-left: 18px; }
}
.sheet-credit { margin: 20px 0 0; color: var(--muted); font-size: .8125rem; }
.sheet-credit a { color: inherit; }
.sheet-map { display: inline-flex; align-items: center; min-height: 44px; margin-top: 28px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #000; font-weight: 600; text-decoration: none; }
.sheet-map + .sheet-map { margin-left: 8px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line, rgba(255,255,255,.35)); }

@media (max-width: 760px) {
  .cp-hero { min-height: 68svh; padding-bottom: 72px; }
  .is-country .place { right: auto; left: var(--side); bottom: 18px; text-align: left; }
  .is-country .pause { bottom: 14px; width: 44px; height: 44px; }
  .cp-intro { grid-template-columns: 1fr; }
  .day summary { grid-template-columns: 2.25rem 1fr auto; gap: 12px; }
  .day-in { padding-left: 0; }
  .step { grid-template-columns: 3.25rem 1fr; gap: 8px; padding-left: 16px; }
}

/* ---------- Sayfa geçişi: yumuşak geçiş ---------- */
::view-transition-old(root) { animation: vt-out .45s ease both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.98); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Şehir ve kategori sayfası (geçici) ---------- */
.city { width: 100%; max-width: 720px; margin: 0 auto; padding: 8px 20px 48px; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-left: -6px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.back:hover { background: rgb(255 255 255 / .1); }
.back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.city h1 { margin-top: 20px; }
.country { margin: 4px 0 0; font-weight: 600; color: var(--muted); }
.city .lead { max-width: 60ch; margin-top: 16px; }
.best { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: rgb(255 255 255 / .07); border: 1px solid var(--line); }
.soon { margin: 24px 0 0; color: var(--muted); font-size: .9375rem; }

/* Sekmeler: üst bölümün hemen altındaki siyah alanda; seçilen bölüm görünür, sayfa aşağı uzamaz */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 46px; padding: 0 22px; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; background: rgb(255 255 255 / .04); color: var(--ink); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.tabs [role="tab"]:hover { background: rgb(255 255 255 / .1); }
.tabs [role="tab"][aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #000; }
.cp-body .tab-pan { margin-top: 32px; }
.tab-pan > .cp-intro { margin-bottom: 48px; }
@media (max-width: 760px) {
  .tabs { margin-right: calc(var(--side) * -1); padding-right: var(--side); scroll-padding-inline: 0 var(--side); } /* telefonda sekmeler ekran kenarına kadar kayar; seçilen sekme kenara yapışmaz */
  .tabs [role="tab"] { padding: 0 18px; }
  /* Sekmeler üst çubuğun altında sabit kalır: uzun bölümün sonundan başka bölüme geçmek için yukarı kaydırmak gerekmez */
  .tabs { position: sticky; z-index: 5; top: calc(var(--top) + 56px); padding-top: 6px; padding-bottom: 6px; background: #000; }
  .tabs:not(.end)::after { content: ""; position: sticky; right: 0; flex: none; width: 56px; margin-left: -56px; background: linear-gradient(90deg, transparent, #000 85%); pointer-events: none; } /* sağda devamı var (zemin opak kalır) */
  .seg button { min-height: 44px; }
}
.tab-pan .cp-lead { font-size: clamp(1rem, 1.3vw, 1.125rem); } /* sekme içindeki giriş yazısı kutularla aynı ölçekte */
@media (max-width: 760px) { .qfacts li:last-child:nth-child(odd) { grid-column: 1 / -1; } } /* telefonda tek kalan kutu tam genişlik */

/* Yan panel arka planı kapatmaz: geniş ekranda sayfa ve videolar sola kayar, sayfa kaydırılmaya devam eder; telefonda panel tam ekran */
@media (min-width: 761px) { .sheet-bg { display: none; } }
@media (min-width: 1100px) {
  main { transition: margin-right calc(.55s * var(--slow)) var(--ease); }
  .stage { transition: left calc(.9s * var(--slow)) var(--ease), bottom calc(.9s * var(--slow)) var(--ease), right calc(.55s * var(--slow)) var(--ease); }
  body.sheet-open main { margin-right: min(520px, 100%); }
  body.sheet-open .stage { right: min(520px, 100%); }
}

/* Kaynaklar ve lisanslar sayfası */
.credits { width: min(860px, 100%); margin: 0 auto; padding: calc(var(--top) + 96px) var(--side) 96px; }
.credits h1 { margin: 18px 0 8px; font-size: clamp(2rem, 5vw, 3rem); font-weight: 650; letter-spacing: -.03em; }
.credits h1:focus { outline: none; }
.credits-lead, .credits-note { margin: 0; color: var(--muted); line-height: 1.6; }
.credits h2 { margin: 44px 0 12px; font-size: 1.1rem; font-weight: 600; }
.credits-note { margin-bottom: 12px; font-size: .875rem; }
.credits-list { margin: 0; padding: 0; list-style: none; font-size: .875rem; }
.credits-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 10px 0; border-top: 1px solid rgb(255 255 255 / .08); }
.credits-list span { color: var(--muted); }
.credits-list a, .cp-note a { color: inherit; text-underline-offset: 3px; }
/* İçerik sayfalarının en altındaki küçük kaynak bağlantısı (CC lisanslı fotoğrafların atıf sayfasına) */
.page-foot { padding: 8px var(--side) calc(var(--bottom) + 12px); text-align: center; }
.page-foot a { display: inline-block; min-height: 44px; color: var(--muted); font: 500 .6875rem/44px var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.page-foot a:hover { color: var(--ink); }

/* Hazır olmayan ülke: listede küçük etiket, sayfada hazır ülkelere yönlendiren bekleme bölümü */
.c-soon { margin-left: 10px; font: 500 .625rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-soon { max-width: 640px; }
.cp-soon-k { margin: 0; font: 500 .75rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cp-soon h2 { margin: 8px 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 650; letter-spacing: -.02em; }
.cp-soon p { margin: 0; color: var(--muted); }
.cp-soon ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.cp-soon a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid rgb(255 255 255 / .18); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.cp-soon a:hover { background: rgb(255 255 255 / .08); }
.cp-soon img { width: 22px; height: auto; border-radius: 3px; }

/* Kategori sayfaları: kısa giriş, başlık + iki satır özetli kartlar (tamamı yan panelde), sade zaman çizelgesi, numaralı ipuçları */
.cat-intro { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 18px 40px; margin-bottom: 32px; }
.cat-intro .cp-lead { max-width: 68ch; }
.qcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.qcards li { display: flex; }
.qcard { display: grid; align-content: start; gap: 6px; width: 100%; padding: 20px; border: 1px solid rgb(255 255 255 / .1); border-radius: 16px; background: rgb(255 255 255 / .03); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .25s ease, border-color .25s ease; }
.qcard:hover { border-color: rgb(255 255 255 / .24); background: rgb(255 255 255 / .07); }
.qcard-n { min-height: 1em; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qcard-h { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.qcard-w { color: var(--muted); font-size: .8125rem; }
.qcard-p { display: -webkit-box; margin-top: 2px; overflow: hidden; color: var(--muted); font-size: .8125rem; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qcards--months .qcard-p { -webkit-line-clamp: 3; }
.tl { max-width: 820px; }
.tl h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 600; }
.tl p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; text-wrap: pretty; }
.qtips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 36px; margin: 0; padding: 0; list-style: none; counter-reset: tip; }
.qtips li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid rgb(255 255 255 / .08); font-size: .9375rem; line-height: 1.6; counter-increment: tip; }
.qtips li::before { content: counter(tip, decimal-leading-zero); color: var(--muted); font: 500 .75rem/1.9 var(--mono); }
.sheet-body p { margin: 18px 0 0; line-height: 1.7; }
.sheet-body .plink { margin: 14px 8px 0 0; }

/* Yan panel görseli: yerin adı köşede; ay panelinde önerilen yerler küçük fotoğraflı kartlar */
.sheet-fig { position: relative; margin: 0; }
.sheet-fig figcaption { position: absolute; left: 16px; bottom: 14px; max-width: calc(100% - 32px); padding: 5px 11px; border-radius: 999px; background: rgb(0 0 0 / .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.sgal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.sgal button { display: grid; gap: 6px; width: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.sgal img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; background: #111; }
.sgal span { font-size: .875rem; font-weight: 600; line-height: 1.3; }
.sgal button:hover img { opacity: .85; }
/* Yan panel açıkken üst çubuk, müzik plağı ve dil düğmesi de sola kayar (çubuk kalan alanın ortasında) */
@media (min-width: 1100px) {
  .bar { transition: left calc(.9s * var(--slow)) var(--ease), width calc(.9s * var(--slow)) var(--ease), translate calc(.55s * var(--slow)) var(--ease); }
  .disc { transition: opacity .4s, visibility .4s, transform .15s, translate calc(.55s * var(--slow)) var(--ease); }
  .lang { transition: background .2s, transform .15s, translate calc(.55s * var(--slow)) var(--ease); }
  body.sheet-open .bar { translate: calc(min(520px, 100vw) / -2) 0; }
  body.sheet-open .disc, body.sheet-open .lang { translate: calc(min(520px, 100vw) * -1) 0; }
}
