/* =====================================================================
   Ana sayfa (v8): sinematik kahraman alanı + keşif bölümleri.
   globe.css'in tam ekran harita kurallarını yalnızca .page-home-x için geçersiz kılar;
   3D motorun DOM yapısı ve kimlikleri değişmez.
   ===================================================================== */
.page-home.page-home-x { height: auto; overflow: visible; overflow-x: clip; }
.page-home-x main { height: auto; overflow: visible; }
.hx { --hx-gold: #f0b443; --hx-gold2: #ffd987; --hx-card: linear-gradient(180deg, rgba(14, 24, 52, .92), rgba(6, 11, 26, .95));
  background: radial-gradient(1200px 600px at 50% -10%, rgba(30, 70, 150, .35), transparent 60%), linear-gradient(180deg, #050a18 0%, #060c1d 50%, #040812 100%);
  padding-bottom: 30px; }
.hi { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kahraman alanı ---------- */
.hx-hero { position: relative; height: clamp(540px, calc(100svh - var(--top-h) - 104px), 940px); overflow: hidden; border-bottom: 1px solid rgba(240, 180, 67, .25); }
.page-home-x .hx-hero .atlas { position: absolute; inset: 0; height: auto; z-index: 1; }
.hx-bg { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hx-sil { position: absolute; bottom: 0; width: min(36vw, 560px); height: auto; fill: rgba(3, 6, 14, .82); }
.hx-sil .w { fill: none; stroke: rgba(240, 180, 67, .18); stroke-width: 2; }
.hx-sil-l { left: 0; filter: drop-shadow(0 -6px 20px rgba(255, 150, 60, .18)); }
.hx-sil-r { right: 0; filter: drop-shadow(0 -6px 20px rgba(80, 150, 255, .14)); }
.hx-bg::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 52%, rgba(3, 6, 15, .55) 100%), linear-gradient(90deg, rgba(3, 6, 15, .78) 0%, rgba(3, 6, 15, .2) 28%, transparent 40%); }

.hx-intro { position: absolute; z-index: 8; left: clamp(18px, 3vw, 54px); top: 50%; transform: translateY(-58%); width: min(30vw - 30px, 400px); pointer-events: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.hx-intro h1 { margin: 0 0 14px; font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.02; color: #fff; }
.hx-intro h1 span { display: block; font-style: italic; color: transparent; background: linear-gradient(180deg, #ffe7a8, #e3a02a); -webkit-background-clip: text; background-clip: text; font-size: .82em; }
.hx-intro p { margin: 0 0 22px; color: #e9edf5; font-size: clamp(.98rem, 1.2vw, 1.12rem); line-height: 1.6; }
.hx-cta { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1.02rem var(--font); color: #241500; background: linear-gradient(180deg, #ffe08a, #f0b443 55%, #c9861d); box-shadow: 0 0 24px rgba(240, 180, 67, .45), inset 0 1px 0 rgba(255, 248, 220, .8); text-decoration: none; }
.hx-cta:hover { filter: brightness(1.06); }
.hx-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hx-cta .hi { width: 20px; height: 20px; }
.hx-cta-sm { padding: 11px 20px; font-size: .98rem; }

/* Kontroller globun solunda, katmanlar sağda (masaüstü) */
.page-home-x .map-controls { z-index: 20; left: clamp(330px, 30vw, 440px); }
.page-home-x .info-panel { bottom: 18px; z-index: 32; }
.page-home-x .period-card { left: auto; right: 18px; bottom: 18px; z-index: 31; }
.page-home-x .cz-credits { bottom: 8px; right: 12px; z-index: 9; }
.page-home-x .cz-badge { left: auto; right: 12px; bottom: 30px; justify-content: flex-end; }
.page-home-x .level-indicator { top: 12px; }
.hx-wheel-hint { position: absolute; z-index: 40; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 9px 16px; border-radius: 999px; background: rgba(4, 8, 20, .92); border: 1px solid var(--hx-gold); color: #fff; font-size: .9rem; pointer-events: none; white-space: nowrap; }

/* Katmanlar paneli: anahtarlı satırlar */
.page-home-x .hx-layers { left: auto; right: 18px; top: 18px; width: 292px; max-height: calc(100% - 36px); transform: translateX(14px);
  border: 1.5px solid rgba(240, 180, 67, .7); border-radius: 20px; background: linear-gradient(180deg, rgba(10, 18, 42, .96), rgba(5, 9, 24, .97)); box-shadow: 0 0 26px rgba(240, 180, 67, .2), 0 18px 40px rgba(0, 0, 0, .55); }
.page-home-x .hx-layers.open { transform: translateX(0); }
.hx-layers .lp-head h2 { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.15rem; color: var(--hx-gold2); }
.hx-layers .lp-head h2 svg { width: 22px; height: 22px; fill: none; stroke: var(--hx-gold); stroke-width: 1.8; }
.lp-all { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 6px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sw-row { position: relative; display: grid !important; grid-template-columns: 28px 1fr 46px; align-items: center; gap: 8px; min-height: 42px !important; padding: 2px 2px; border-bottom: 1px solid rgba(255, 255, 255, .06); cursor: pointer; }
.sw-ic { font-size: 1.1rem; text-align: center; }
.sw-t { font-weight: 600; font-size: .95rem; color: #f1f4fa; }
.sw-row input.sw { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw-ui { justify-self: end; position: relative; width: 42px; height: 24px; border-radius: 999px; background: #2a3349; border: 1px solid rgba(255, 255, 255, .15); transition: background .2s; }
.sw-ui::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #cfd6e4; transition: transform .2s, background .2s; }
.sw-row input.sw:checked ~ .sw-ui { background: linear-gradient(180deg, #ffd56e, #e3a02a); border-color: #ffd987; }
.sw-row input.sw:checked ~ .sw-ui::after { transform: translateX(18px); background: #fff; }
.sw-row input.sw:focus-visible ~ .sw-ui { outline: 2px solid #fff; outline-offset: 2px; }
.lp-more { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 8px; }
.lp-more summary { cursor: pointer; font-weight: 600; color: var(--hx-gold2); padding: 6px 0; }
.lp-more > label, .lp-more > select, .lp-more > .range-row, .lp-more > small { display: flex; margin: 6px 0; }
.lp-more select { width: 100%; }
.mk-volcano, .mk-leader { font-size: 1rem; }
.leader-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.leader-list li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: start; }
.ld-av { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #13203d center 20%/cover no-repeat; border: 2px solid rgba(240, 180, 67, .6); }
.ld-av .img-credit { font-size: .55rem; right: -2px; bottom: -2px; }
.leader-list small { display: block; color: var(--gold2); }
.leader-list p { margin: 4px 0 0; font-size: .88rem; color: #d6dcea; }

/* ---------- Bant ve kart ortakları ---------- */
.hx-band { width: min(1320px, 100% - 32px); margin: 22px auto 0; }
.hx-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); color: #fff; }
.hx-h .hi { color: var(--hx-gold); width: 26px; height: 26px; }
.hx-card { position: relative; padding: 20px; border-radius: 20px; background: var(--hx-card); border: 1.5px solid rgba(240, 180, 67, .45); box-shadow: 0 0 22px rgba(240, 180, 67, .08), 0 16px 40px rgba(0, 0, 0, .4); min-width: 0; }
.hx-card .hx-h { padding-bottom: 12px; border-bottom: 1px solid rgba(240, 180, 67, .2); }
.hx-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.hx-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--hx-gold2); font-weight: 700; text-decoration: none; }
.hx-more .hi { width: 18px; height: 18px; }
.hx-more:hover { color: #fff; }
.hx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(240, 180, 67, .4); background: rgba(255, 255, 255, .04); color: #e9edf5; font: 600 .86rem var(--font); cursor: pointer; }
.hx-chip b { color: var(--hx-gold2); }
.hx-chip.active { background: linear-gradient(180deg, #ffd56e, #e3a02a); color: #241500; border-color: transparent; }
.hx-chip.active b { color: #241500; }
.hx-stretch { position: static; color: inherit; text-decoration: none; }
.hx-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.img-credit { z-index: 3; }

/* ---------- Kıtalar ---------- */
.hx-continents { margin-top: 16px; }
.hx-cont-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.hx-cont { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border-radius: 16px; cursor: pointer;
  border: 1.5px solid rgba(110, 160, 255, .35); background: linear-gradient(180deg, rgba(22, 40, 84, .9), rgba(8, 15, 34, .95)); color: #fff; font: 700 .95rem var(--font); }
.hx-cont svg { width: 40px; height: 40px; fill: rgba(255, 255, 255, .9); stroke: none; }
.hx-cont[data-continent=""] svg { fill: none; stroke: #fff; stroke-width: 1.6; }
.hx-cont:hover { border-color: var(--hx-gold); }
.hx-cont.active { border-color: #ffd987; background: linear-gradient(180deg, #ffd56e, #e3a02a); color: #241500; box-shadow: 0 0 22px rgba(240, 180, 67, .45); }
.hx-cont.active svg { fill: #241500; }
.hx-cont.active[data-continent=""] svg { fill: none; stroke: #241500; }
.hx-cont:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hx-cont-info { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(10, 18, 40, .8); border: 1px solid rgba(240, 180, 67, .3); color: #e9edf5; }
.hx-cont-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------- Zaman Makinesi (haritanın altında) ---------- */
.page-home-x .hx-timebar { position: relative; left: auto; right: auto; bottom: auto; width: min(1320px, 100% - 32px); margin: 16px auto 0; z-index: 1; }
.hx-timebar .tm-track { overflow-x: auto; scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.hx-timebar .tm-stop { scroll-snap-align: center; }

/* ---------- Kategoriler ---------- */
.hx-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.hx-cat { position: relative; min-height: 220px; border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(240, 180, 67, .55); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); background: #0b1430; }
.hx-cat-img, .hx-day-img, .hx-rc-img, .hx-civ-img, .hx-rand-img { position: absolute; inset: 0; background: linear-gradient(135deg, #1b2c55, #0a1228) center/cover no-repeat; }
.hx-cat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 20, .05) 30%, rgba(4, 8, 20, .92) 85%); }
.hx-cat-fb { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(240, 180, 67, .35); }
.hx-cat-fb .hi { width: 56px; height: 56px; }
.has-img > .hx-cat-fb { display: none; }
.hx-cat-link { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; color: #fff; text-decoration: none; }
.hx-cat-link strong { font-family: var(--display); font-size: 1.3rem; text-shadow: 0 2px 8px #000; }
.hx-cat-link span { color: #e3e7ef; font-size: .9rem; padding-right: 34px; }
.hx-cat-link i { position: absolute; right: 14px; bottom: 16px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--hx-gold); display: grid; place-items: center; color: var(--hx-gold2); }
.hx-cat-link i .hi { width: 16px; height: 16px; }
.hx-cat:hover { border-color: #ffd987; }
.hx-cat:hover .hx-cat-img { transform: scale(1.04); }
.hx-cat-img { transition: transform .4s ease; }
.hx-cat .img-credit { top: 8px; right: 8px; bottom: auto; }

/* ---------- İstatistik · Günün Tarihi · Rastgele ---------- */
.hx-trio { display: grid; grid-template-columns: 1.05fr 1.25fr .9fr; gap: 14px; align-items: stretch; }
.hx-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hx-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 14px; text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.hx-stat .hi { width: 28px; height: 28px; margin-bottom: 4px; }
.hx-stat strong { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.1; }
.hx-stat span { font-size: .84rem; color: rgba(255, 255, 255, .85); }
.hx-stat:hover { filter: brightness(1.15); }
.s-blue { background: linear-gradient(180deg, #1e4f9e, #0f2a5a); } .s-blue .hi { color: #8fc2ff; }
.s-red { background: linear-gradient(180deg, #8e2323, #4a0f10); } .s-red .hi { color: #ff9a8a; }
.s-gold { background: linear-gradient(180deg, #6b5420, #33270d); } .s-gold .hi { color: #ffd987; }
.s-purple { background: linear-gradient(180deg, #4d2e8c, #241446); } .s-purple .hi { color: #cbb3ff; }
.s-teal { background: linear-gradient(180deg, #1c6b6b, #0c3434); } .s-teal .hi { color: #8ff0e4; }
.s-orange { background: linear-gradient(180deg, #8a4b16, #43230a); } .s-orange .hi { color: #ffc28a; }
.hx-day-body { display: grid; grid-template-columns: minmax(130px, 42%) 1fr; gap: 14px; align-items: start; }
.hx-day-img { position: relative; inset: auto; aspect-ratio: 4 / 3; border-radius: 14px; border: 1px solid rgba(240, 180, 67, .4); overflow: hidden; }
.hx-day-when { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hx-day-date { margin: 2px 0 0; font-weight: 700; color: #fff; font-size: 1.05rem; }
.hx-day h3 { margin: 2px 0 6px; font-family: var(--display); font-size: 1.3rem; color: var(--hx-gold2); }
.hx-day-text { margin: 0; color: #d6dcea; font-size: .92rem; line-height: 1.55; }
.hx-rand p { color: #d6dcea; margin: 0 0 12px; }
.hx-rand-types { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hx-rand-out { margin-top: 14px; }
.hx-rand-card { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(240, 180, 67, .3); }
.hx-rand-img { position: relative; inset: auto; width: 84px; height: 84px; border-radius: 12px; border: 1px solid rgba(240, 180, 67, .4); }
.hx-rand-card em { font-style: normal; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hx-gold2); }
.hx-rand-card h3 { margin: 2px 0; font-size: 1.08rem; color: #fff; }
.hx-rand-card small { color: var(--muted); }
.hx-rand-card p { margin: 6px 0 0; font-size: .88rem; }
.hx-rand-act { display: flex; flex-wrap: wrap; gap: 14px; }
.hx-rand-act .hx-more { margin-top: 6px; }
.hx-skel { height: 96px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }

/* ---------- Keşif listeleri ---------- */
.hx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hx-rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hx-rank li { position: relative; display: grid; grid-template-columns: 30px 52px 1fr; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.hx-rank li:hover { border-color: rgba(240, 180, 67, .5); }
.hx-rank-n { font-family: var(--display); font-size: 1.3rem; color: var(--hx-gold); text-align: center; }
.hx-rank-img { position: relative; width: 52px; height: 52px; border-radius: 12px; background: #13203d center/cover no-repeat; border: 1px solid rgba(240, 180, 67, .35); }
.hx-rank a strong, .hx-ld a strong, .hx-civ a strong { display: block; color: #fff; }
.hx-rank a small, .hx-ld a small, .hx-civ a small { color: var(--muted); font-size: .84rem; }
.hx-miles { list-style: none; margin: 0; padding: 0 0 0 10px; display: grid; gap: 6px; border-left: 2px solid rgba(240, 180, 67, .45); }
.hx-miles button { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; width: 100%; padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.hx-miles button::before { content: ''; position: absolute; left: -18px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #1a1205; border: 2.5px solid var(--hx-gold); }
.hx-miles button:hover { border-color: rgba(240, 180, 67, .45); background: rgba(240, 180, 67, .06); }
.hx-miles b { color: var(--hx-gold2); font-size: 1.02rem; }
.hx-miles strong { display: block; color: #fff; font-size: .95rem; }
.hx-miles small { color: #c9d1e0; font-size: .84rem; }
.hx-recent { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hx-rc { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 16px; background: var(--hx-card); border: 1px solid rgba(240, 180, 67, .3); min-width: 0; }
.hx-rc:hover { border-color: var(--hx-gold); }
.hx-rc-img { position: relative; inset: auto; width: 70px; height: 70px; border-radius: 12px; }
.hx-rc-t { min-width: 0; }
.hx-rc-t em { display: block; font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hx-gold2); }
.hx-rc-t strong { display: block; color: #fff; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hx-rc-t small { color: var(--muted); font-size: .82rem; }
.hx-leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hx-ld { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 14px; }
.hx-ld:hover { background: rgba(240, 180, 67, .07); }
.hx-ld-img { position: relative; width: 76px; height: 76px; border-radius: 50%; background: #13203d center 18%/cover no-repeat; border: 2px solid rgba(240, 180, 67, .65); display: grid; place-items: center; }
.hx-ld-img b { font-family: var(--display); font-size: 1.6rem; color: var(--hx-gold2); }
.hx-ld-img.has-img b { display: none; }
.hx-ld .img-credit, .hx-rank-img .img-credit, .hx-rc-img .img-credit, .hx-civ-img .img-credit { font-size: .55rem; right: 0; bottom: 0; }
.hx-civs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-civ { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); }
.hx-civ:hover { border-color: rgba(240, 180, 67, .5); }
.hx-civ-img { position: relative; inset: auto; width: 64px; height: 64px; border-radius: 12px; }

/* ---------- Duyarlı ---------- */
.hx-mob, .tm-m, .hx-stats-toggle { display: none; }
@media (max-width: 1280px) {
  .hx-trio { grid-template-columns: 1fr 1fr; }
  .hx-trio > .hx-day { grid-column: 1 / -1; order: -1; }
  .hx-trio > .hx-day .hx-day-body { grid-template-columns: minmax(160px, 240px) minmax(0, 1fr); }
  .hx-recent { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 981px) and (max-width: 1180px) {
  .hx-intro { width: min(28vw, 330px); top: 18px; transform: none; left: 84px; }
  .hx-intro p { display: none; }
  .page-home-x .map-controls { left: 16px; }
}

/* =================== Mobil ve tablet (≤ 980 px): kompakt, harita öncelikli düzen =================== */
@media (max-width: 980px) {
  .hx { display: flex; flex-direction: column; padding-bottom: 16px; }
  .hx-desk { display: none !important; }
  .hx-mob { display: block; }
  /* Görsel hiyerarşi: dünya → kıtalar → zaman → günün tarihi → kategoriler → istatistik → rastgele → keşfet */
  .hx-hero { order: 1; } .hx-continents { order: 2; } .hx-timebar { order: 3; }
  .hx-trio { display: contents; }
  .hx-trio > .hx-s-day { order: 4; } .hx-s-cats { order: 5; } .hx-s-stats { order: 6; } .hx-s-rand { order: 7; } .hx-explore { order: 8; }
  .hx-band, .hx-trio > .hx-card, .page-home-x .hx-timebar { width: calc(100% - 20px); margin: 10px auto 0; }

  /* İlk ekran: kısa başlık satırı + ekranı dolduran dünya */
  .hx-hero { height: auto; overflow: visible; display: flex; flex-direction: column; border-bottom: 0; }
  .hx-intro { position: relative; left: auto; top: auto; transform: none; width: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; pointer-events: auto; }
  .hx-intro h1 { margin: 0; font-size: clamp(1.08rem, 4.6vw, 1.4rem); line-height: 1.15; }
  .hx-intro h1 span { display: inline; font-size: 1em; }
  .hx-intro p { display: none; }
  .hx-cta { padding: 8px 13px; font-size: .84rem; gap: 6px; flex: none; }
  .hx-cta .hi:last-child { display: none; }
  .page-home-x .hx-hero .atlas { position: relative; inset: auto; height: clamp(320px, calc(100svh - var(--top-h) - 120px), 680px); border-radius: 0; }
  .hx-bg { display: none; }

  /* Kontroller: sağ üstte küçük, düzenli dikey ray */
  .page-home-x .map-controls { left: auto; right: 8px; top: 8px; transform: none; padding: 4px; gap: 4px; border-radius: 16px; }
  .page-home-x .map-controls .badge-3d { display: none; }
  .page-home-x .map-controls button, .page-home-x .map-controls .ctl-space { width: 38px; height: 38px; }
  .page-home-x .map-controls svg { width: 20px; height: 20px; }
  .page-home-x .level-indicator { left: 10px; transform: none; max-width: calc(100% - 70px); font-size: .7rem; padding: 4px 10px; }
  .page-home-x .cz-badge { display: none; }
  .page-home-x .cz-credits { bottom: 4px; right: 54px; max-width: 60%; }
  .page-home-x .hx-layers { left: 8px !important; right: 8px; top: auto !important; bottom: 8px !important; width: auto !important; max-height: 62% !important; transform: translateY(24px); }
  .page-home-x .hx-layers.open { transform: translateY(0); }
  .page-home-x .info-panel { max-height: 72%; }
  .page-home-x .period-card { left: 8px; right: 54px; width: auto; bottom: 8px; max-height: 42%; padding: 12px 14px; }
  .hx-wheel-hint { display: none; }
  .hx-wheel-hint.hx-touch-hint { display: block; bottom: auto; top: 50%; transform: translate(-50%, -50%); white-space: normal; width: max-content; max-width: calc(100% - 90px); text-align: center; font-size: .84rem; }

  /* Kıtalar: 8 seçenek iki satırda, kaydırma yok */
  .hx-continents { margin-top: 10px; }
  .hx-cont-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .hx-cont { min-width: 0; min-height: 56px; padding: 6px 4px; gap: 3px; border-radius: 12px; font-size: .72rem; line-height: 1.1; text-align: center; }
  .hx-cont svg { width: 22px; height: 22px; }
  .hx-cont-info { padding: 10px 12px; font-size: .88rem; }
  .hx-cont-chips .hx-chip { min-height: 32px; padding: 4px 10px; font-size: .8rem; }

  /* Zaman Makinesi: seçili dönem + önceki/sonraki + tüm dönemler paneli */
  .page-home-x .hx-timebar { display: block; padding: 8px; border-radius: 16px; }
  .hx-timebar .tm-title, .hx-timebar .tm-track { display: none !important; }
  .tm-m { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; align-items: center; }
  .tm-m-nav { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(240, 180, 67, .55); background: rgba(240, 180, 67, .08); color: var(--hx-gold2); display: grid; place-items: center; cursor: pointer; }
  .tm-m-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .tm-m-nav:disabled { opacity: .35; cursor: default; }
  .tm-m-cur, .tm-m-nav, .tm-m-all button, .hx-cont, .hx-tabs [role="tab"] { -webkit-tap-highlight-color: transparent; }
  .tm-m-cur { min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 5px 8px; border-radius: 12px; border: 2px solid #ff7a5a; background: linear-gradient(180deg, rgba(214, 40, 40, .45), rgba(110, 15, 15, .35)); color: #fff; cursor: pointer; font: inherit; line-height: 1.15; }
  .tm-m-cur small { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: #ffd987; }
  .tm-m-cur strong { font-size: 1.12rem; }
  .tm-m-cur span { font-size: .76rem; color: #ffe1c4; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tm-m-cur span::after { content: ' ▾'; color: #ffd987; }
  .tm-m-cur[aria-expanded="true"] span::after { content: ' ▴'; }
  .tm-m-dots { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: flex; justify-content: center; gap: 6px; }
  .tm-m-dots li { width: 7px; height: 7px; border-radius: 50%; background: rgba(240, 180, 67, .35); }
  .tm-m-dots li.on { background: #ffb347; box-shadow: 0 0 8px #ffb347; width: 18px; border-radius: 4px; }
  .tm-m-all { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
  .tm-m-all[hidden] { display: none; }
  .tm-m-all button { min-height: 50px; padding: 6px 4px; border-radius: 10px; border: 1px solid rgba(240, 180, 67, .35); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font: inherit; }
  .tm-m-all button strong { font-size: .9rem; }
  .tm-m-all button small { font-size: .66rem; color: #c9d1e0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .tm-m-all button.on { border-color: #ff7a5a; background: rgba(214, 40, 40, .35); }

  /* Kart ve başlık ölçüleri */
  .hx-h { font-size: 1.12rem; margin-bottom: 10px; gap: 8px; }
  .hx-h .hi { width: 22px; height: 22px; }
  .hx-card { padding: 14px 12px; border-radius: 16px; }
  .hx-card .hx-h { padding-bottom: 8px; }
  .hx-note { font-size: .76rem; margin-top: 8px; }
  .hx-more { margin-top: 8px; font-size: .92rem; }

  /* Günün Tarihi: yatay, kompakt */
  .hx-day-body { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .hx-day-img { aspect-ratio: 1; border-radius: 12px; }
  .hx-day-img .hx-cat-fb .hi { width: 32px; height: 32px; }
  .hx-day h3 { font-size: 1.08rem; }
  .hx-day-date { font-size: .92rem; }
  .hx-day-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .88rem; }

  /* Kategoriler: 2 sütun, alçak kartlar */
  .hx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hx-cat { min-height: 104px; border-radius: 14px; }
  .hx-cats .hx-cat:last-child { grid-column: 1 / -1; min-height: 84px; }
  .hx-cat-link { padding: 10px; }
  .hx-cat-link strong { font-size: .98rem; }
  .hx-cat-link span { font-size: .74rem; padding-right: 24px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .hx-cat-link i { width: 24px; height: 24px; right: 8px; bottom: 10px; }
  .hx-cat-fb .hi { width: 36px; height: 36px; }

  /* İstatistikler: 2x2, diğerleri açılır */
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hx-stat { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 10px; text-align: left; }
  .hx-stat .hi { width: 24px; height: 24px; margin: 0; }
  .hx-stat strong { font-size: 1.2rem; }
  .hx-stat span { font-size: .78rem; }
  .hx-stat-x { display: none; }
  .hx-s-stats.show-all .hx-stat-x { display: flex; }
  .hx-stats-toggle { display: block; width: 100%; margin-top: 8px; min-height: 40px; border-radius: 10px; border: 1px dashed rgba(240, 180, 67, .5); background: transparent; color: var(--hx-gold2); font: 600 .88rem var(--font); cursor: pointer; }

  /* Rastgele Keşfet */
  .hx-rand p { font-size: .9rem; margin-bottom: 8px; }
  .hx-rand-types { gap: 5px; margin-bottom: 10px; }
  .hx-rand-types .hx-chip { min-height: 34px; padding: 4px 11px; font-size: .8rem; }
  .hx-rand-card { grid-template-columns: 64px minmax(0, 1fr); }
  .hx-rand-img { width: 64px; height: 64px; }

  /* Keşfet sekmeleri */
  .hx-explore { padding: 14px 12px; border-radius: 16px; background: var(--hx-card); border: 1.5px solid rgba(240, 180, 67, .45); }
  .hx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
  .hx-tabs [role="tab"] { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(240, 180, 67, .4); background: rgba(255, 255, 255, .04); color: #e9edf5; font: 600 .84rem var(--font); cursor: pointer; }
  .hx-tabs [role="tab"][aria-selected="true"] { background: linear-gradient(180deg, #ffd56e, #e3a02a); color: #241500; border-color: transparent; }
  .hx-tabs [role="tab"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .hx-xl, .hx-xm { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .hx-xi { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: center; padding: 7px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
  .hx-xi-img { position: relative; width: 48px; height: 48px; border-radius: 10px; background: #13203d center 20%/cover no-repeat; border: 1px solid rgba(240, 180, 67, .35); }
  .hx-xi-img.r { border-radius: 50%; }
  .hx-xi-img .img-credit { font-size: .55rem; right: 0; bottom: 0; }
  .hx-xi a { min-width: 0; }
  .hx-xi strong { display: block; color: #fff; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hx-xi small { display: block; color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hx-xm button { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; width: 100%; padding: 8px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); color: inherit; text-align: left; cursor: pointer; font: inherit; }
  .hx-xm b { color: var(--hx-gold2); }
  .hx-xm strong { display: block; color: #fff; font-size: .92rem; }
  .hx-xm small { display: block; color: #c9d1e0; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 380px) {
  .hx-cta { padding: 7px 10px; font-size: .78rem; }
  .hx-cta .hi { width: 16px; height: 16px; }
  .hx-cont { font-size: .66rem; }
  .hx-day-body { grid-template-columns: 80px minmax(0, 1fr); }
  .tm-m-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .hx-cat-img { transition: none; } }

/* Dokunmatik: yatay sürükleme küreyi döndürür, iki parmak yakınlaştırır, dikey kaydırma sayfayı kaydırır.
   Haritaya dokununca tam serbest döndürme açılır. (touch-action üst öğelerle kesiştiği için .atlas da pan-y olmalı) */
@media (pointer: coarse) {
  .page-home-x .atlas.hx-coop, .page-home-x .atlas.hx-coop #globe, .page-home-x .atlas.hx-coop #globe * { touch-action: pan-y !important; }
}
