:root{color-scheme:dark;--bg:#0b121d;--panel:#111c2a;--edge:#2a3748;--text:#f6f1e9;--muted:#aab8c9;--gold:#e8bc74;--label:166px}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font:15px/1.55 system-ui,sans-serif}
[hidden]{display:none!important}
.wrap{width:min(1240px,calc(100% - 56px));margin-inline:auto}
.view-switch{display:flex;gap:6px;margin-bottom:12px}
button,input,select{font:inherit;color:inherit;background:#0c1623;border:1px solid var(--edge);border-radius:7px;padding:8px 12px}
button,select,summary{cursor:pointer}
button:hover,button[aria-pressed=true]{color:var(--gold);border-color:#7f6a49}
button:disabled{opacity:.42;cursor:default}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.hero{position:relative;isolation:isolate;min-height:290px;display:flex;align-items:center;overflow:hidden;padding:34px 0}
.hero-copy{max-width:640px}
.kicker{color:var(--gold);font-size:11px;font-weight:750;letter-spacing:.17em;margin:0 0 9px}
h1,h2{font-family:Georgia,serif;font-weight:400;margin:0;line-height:1.08}
h1{font-size:clamp(41px,6vw,76px);letter-spacing:-.045em}
h1 em{color:var(--gold);font-weight:400}
.hero-copy>p:last-child{max-width:480px;color:var(--muted);margin-bottom:0}
.panel{border:1px solid var(--edge);border-radius:14px;background:var(--panel);overflow:hidden}
.panel-head,.filters,.tools{padding:16px 21px;display:flex;align-items:end;justify-content:space-between;gap:12px}
.panel-head h2{font-size:29px}
#count,.tools>span,.hint,footer{color:var(--muted);font-size:13px}
#count{margin:0}
.filters{justify-content:start;border-top:1px solid var(--edge)}
label{display:grid;gap:5px;font-size:12px;color:var(--muted)}
label:first-child{flex:1}
input,select{font-size:14px;min-height:41px}
.tools{border-block:1px solid var(--edge);align-items:center;padding-block:9px}
.tools>div{display:flex;flex-wrap:wrap;gap:5px}
.tools button{padding:4px 11px;font-size:13px}
.scroller,#posterView{overflow:auto;max-height:640px;overscroll-behavior:contain}
#chart{min-width:790px}
.row{display:grid;grid-template-columns:var(--label) 1fr;border-bottom:1px solid var(--edge)}
.axis{position:sticky;top:0;z-index:4;background:#101a28}
.label{position:sticky;left:0;z-index:2;background:#142131;padding:12px 10px 12px 17px;border-right:1px solid var(--edge);font-size:12px;font-weight:700;display:flex;align-items:center;gap:8px}
.dot{width:7px;height:7px;flex:none;border-radius:100%;background:var(--accent,var(--gold))}
.track{position:relative;overflow:hidden;min-height:43px}
.tick{position:absolute;inset-block:0;border-left:1px solid #293849;pointer-events:none}
.tick span{position:absolute;left:5px;top:13px;white-space:nowrap;font-size:11px;color:var(--muted)}
.bar{position:absolute;height:26px;line-height:22px;border:1px solid var(--accent);background:color-mix(in srgb,var(--accent) 18%,#142131);color:var(--accent);border-radius:4px;padding:0 6px;text-align:left;white-space:nowrap;font-weight:700;font-size:11px}
.bar:hover{background:var(--accent);border-color:var(--accent);color:#101923}
.bar:focus-visible{outline-offset:-3px}
.empty{padding:16px 22px;color:var(--muted)}
.hint{margin:11px 21px}
#posterView img{display:block;width:100%;max-width:none}
footer{display:flex;justify-content:space-between;gap:18px;padding:18px 0 35px}
footer p{margin:0}
a{color:var(--gold)}
dialog{color:var(--text);background:var(--panel);border:1px solid var(--edge);border-radius:14px;padding:25px;width:min(480px,calc(100% - 28px))}
dialog::backdrop{background:#050a12bd}
dialog form{float:right}
dialog h2{font-size:32px}
#itemDates{color:var(--gold)}
@media(max-width:690px){
.wrap{width:calc(100% - 26px)}.view-switch button{font-size:12px}
.hero{min-height:245px}
.filters{display:grid;grid-template-columns:1fr 1fr}.filters label:first-child{grid-column:1/-1}input,select{width:100%}
.panel-head,.filters,.tools{padding-inline:12px}.panel-head h2{font-size:23px}.tools{align-items:start;flex-direction:column}
footer{flex-direction:column}:root{--label:120px}.label{padding-inline:8px}
}

/* Atlas observation deck */
.atlas-page {
  background: radial-gradient(ellipse at 76% 4%, #14304b 0%, transparent 42rem), #080f19;
}
.hero { min-height: 392px; padding: 44px clamp(0px, 2vw, 24px); }
.hero h1 { font-size: clamp(58px, 8vw, 106px); }
.hero-copy > p:not(.kicker) { max-width: 420px; color: var(--muted); }
.hero-link {
  display: inline-flex;
  gap: 16px;
  margin-top: 7px;
  border: 1px solid #9b7b4c;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold);
  text-decoration: none;
}
.hero-link:hover { background: #e8bc7421; }
.view-switch { margin-bottom: 15px; }
.view-switch button { border-radius: 999px; padding-inline: 16px; }
.panel { box-shadow: 0 20px 50px #0004; }
.time-lens {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--edge);
  background: linear-gradient(125deg, #172b3f, #10202e 60%, #10202a);
}
.lens-controls,.lens-results { padding: 16px 21px; min-width: 0; }
.lens-results { border-left: 1px solid var(--edge); }
.lens-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lens-head h3 { margin: 0; font: 25px/1.1 Georgia, serif; }
#selectedYear { color: var(--gold); font: clamp(20px, 3vw, 33px) Georgia, serif; white-space: nowrap; }
.year-label { margin-top: 14px; }
#yearSlider { display: block; width: 100%; height: 26px; min-height: 0; margin: 0; padding: 0; accent-color: var(--gold); cursor: pointer; }
.lens-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.year-presets { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.year-presets button { padding: 4px 8px; font-size: 11px; }
#yearCount { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
#yearMatches { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; list-style: none; padding: 3px; margin: 0; max-height: 156px; overflow: auto; }
#yearMatches button { width: 100%; text-align: left; padding: 6px 9px; font-size: 12px; border-inline-start-color: var(--accent); }
#yearMatches button span { display: block; color: var(--muted); font-size: 10px; }
.track::after {
  content: "";
  display: var(--cursor-display, none);
  position: absolute;
  left: clamp(0px, var(--cursor-position), calc(100% - 1px));
  inset-block: 0;
  border-left: 1px solid var(--gold);
  pointer-events: none;
  z-index: 1;
}
.axis .track::after { border-left-width: 2px; }
.bar.is-active { background: color-mix(in srgb, var(--accent) 35%, #142131); }
.bar.is-active:hover { background: var(--accent); }
@media(max-width:690px) {
  .hero { min-height: 318px; }
  .hero h1 { font-size: clamp(52px, 14vw, 76px); }
  .time-lens { grid-template-columns: 1fr; }
  .lens-controls,.lens-results { padding: 14px 12px; }
  .lens-results { border-left: 0; border-top: 1px solid var(--edge); }
}

.swipe-note { display: none; }
@media (max-width: 690px) {
  .hero { min-height: 0; padding-block: 28px 22px; }
  .hero h1 { font-size: clamp(44px, 12vw, 66px); }
  .hero-link, .view-switch button, .tools button, .year-presets button,
  #yearMatches button, dialog form button { min-height: 44px; }
  .hero-link { align-items: center; }
  .view-switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-switch button { padding-inline: 4px; }
  .lens-head { flex-wrap: wrap; }
  #yearSlider { height: 44px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters input, .filters select { min-width: 0; min-height: 44px; font-size: 16px; }
  .tools > div { width: 100%; }
  .tools button { min-width: 44px; }
  .tools button:last-child { margin-left: auto; }
  .swipe-note {
    display: block;
    margin: 0;
    padding: 8px 12px;
    border-bottom: 1px solid var(--edge);
    font-size: 12px;
    color: var(--muted);
  }
  .swipe-note span { color: var(--gold); margin-right: 3px; }
  #chart { min-width: 700px; }
  .scroller { max-height: none; }
}

/* Zaman küresi */
.hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,410px); gap: clamp(16px,5vw,78px); }
.globe-explorer {
  min-width: 0;
  text-align: center;
  border: 1px solid #34485e;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 38%,#193554,#0c1725 73%);
  padding: 16px;
}
.globe-explorer h2 { font-size: 26px; }
#globeHelp,#globeSummary,.map-credit { margin: 7px 0; color: var(--muted); font-size: 12px; }
#globeSummary { color: var(--gold); }
#historyGlobe {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin-inline: auto;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
#historyGlobe.dragging { cursor: grabbing; }
.century-controls { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 6px; }
.century-controls button,.century-controls select { min-height: 44px; }
.century-controls select { font-size: 16px; }
.map-credit { font-size: 11px; }
@media (max-width: 690px) {
  .hero { grid-template-columns: minmax(0,1fr); }
  .globe-explorer { padding: 12px; }
}

/* Küre ve çizelge aynı keşif alanında. */
.hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; min-height: 0; padding-block: clamp(24px,4vw,56px); }
.hero h1 { font-size: clamp(44px,7vw,86px); }
.time-lens { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); }
.globe-explorer { margin: 14px; align-self: start; }
.globe-explorer h3 { margin: 0; font: 26px Georgia, serif; }
.lens-content { min-width: 0; }
.lens-results { border-left: 0; border-top: 1px solid var(--edge); }
.lens-results > label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
#yearSort { min-width: 0; font-size: 13px; }
.duration-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 10px 20px; margin: 0; list-style: none; color: var(--muted); font-size: 12px; }
.duration-legend li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 5px; }
.filters { flex-wrap: wrap; }
.filters label { min-width: 0; }
.filters input, .filters select { max-width: 100%; }
#itemDuration { font-weight: 650; }
@media (max-width: 690px) {
  .time-lens { grid-template-columns: minmax(0,1fr); }
  .globe-explorer { margin: 10px; }
  #historyGlobe { width: min(100%,210px); }
  .tools button:last-child { margin-left: 0; }
}

.axis .track { cursor: crosshair; }

.atlas-guide {
  padding: clamp(16px,2.4vw,28px);
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: #111f2e;
}
.atlas-guide h2 { font-size: clamp(23px,2.4vw,31px); }
.atlas-guide p,.atlas-guide li { color: var(--muted); font-size: 14px; }
.atlas-guide ol { margin: 0; padding-inline-start: 22px; }
.atlas-guide li + li { margin-top: 8px; }
.atlas-guide li::marker { color: var(--gold); }
.atlas-guide strong { color: var(--text); }
.catalog-search { padding: 12px 20px 16px; border-top: 1px solid var(--edge); }
.catalog-search h3 { font-size: 15px; margin: 0; }
#catalogSearchStatus { color: var(--muted); margin: 4px 0 10px; font-size: 13px; }
#catalogSearchResults {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr));
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 3px;
  margin: 0;
  list-style: none;
}
#catalogSearchResults button { width: 100%; min-height: 44px; text-align: left; }
#catalogSearchResults span { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 690px) {
  .hero { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .catalog-search { padding-inline: 12px; }
}

.history-player { padding: 14px 21px; border-top: 1px solid var(--edge); }
.history-player h3 { margin: 0; font-size: 18px; }
.history-player p { margin: 5px 0 9px; color: var(--muted); font-size: 13px; }
.history-player-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.history-player-controls label { flex: 0 1 auto; }
.history-player-controls select,.history-player-controls button { min-height: 44px; }
#playToggle { color: var(--gold); border-color: #b5965a; }
#playStatus:empty { display: none; }
#playChanges { color: var(--text); }
@media (max-width: 690px) {
  .history-player { padding-inline: 12px; }
}

.bar.bar-turkey {
  background: #aa162a;
  border-color: #f04c5b;
  color: #fff;
}
.bar.bar-turkey:hover,.bar.bar-turkey.is-active { background: #bd1d32; }
.bar-turkey .bar-name::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 13px;
  margin-inline-end: 5px;
  vertical-align: -2px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath fill='white' d='M11 2.8A6 6 0 1 0 11 11.2A4.8 4.8 0 1 1 11 2.8Z'/%3E%3Cpath fill='white' d='m15 3.3 1 2.6h2.8l-2.2 1.7.9 2.7-2.5-1.6-2.4 1.6.9-2.7-2.2-1.7h2.8z'/%3E%3C/svg%3E");
}
.scroller { scrollbar-gutter: stable; }

#details.details-turkey {
  isolation: isolate;
  min-height: 250px;
  background: radial-gradient(ellipse at 87% 44%, #5c483e 0%, #263044 33%, var(--panel) 68%);
}
#details.details-turkey::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: url("ataturk-portre.png") right 4px bottom -13px / auto 99% no-repeat;
  opacity: .61;
  filter: brightness(1.24) drop-shadow(0 0 13px #ffe0aa88);
  mask-image: linear-gradient(to right, transparent 39%, #000 76%);
}
#details.details-turkey > * { position: relative; }
#details.details-turkey :is(h2,p) { text-shadow: 0 1px 3px #070d16, 0 0 8px #070d16; }
@media (prefers-reduced-motion: no-preference) {
  #details.details-turkey[open]::before { animation: portrait-glow .8s ease-out both; }
  @keyframes portrait-glow {
    from { opacity: .15; filter: brightness(.85) drop-shadow(0 0 2px #ffe0aa44); }
    62% { filter: brightness(1.45) drop-shadow(0 0 20px #ffe0aabb); }
  }
}
@media (max-width: 480px) {
  #details.details-turkey::before {
    opacity: .51;
    background-size: auto 82%;
    mask-image: linear-gradient(to right, transparent 48%, #000 87%);
  }
}

#about .panel-head { background: linear-gradient(112deg,#192a40,#111e30 68%,#211e23); }
.about-content { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 14px; padding: clamp(14px,3vw,24px); }
.about-content section { padding: 17px; border: 1px solid var(--edge); border-radius: 12px; background: #0d1826; }
.about-content h3 { margin: 0; font-size: 17px; color: var(--gold); }
.about-content p { color: var(--muted); }
#itemBasis { color: var(--muted); font-size: 12px; }
#itemDescription { line-height: 1.65; }
.detail-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Keep the visible bar strictly inside its date interval. */
.bar { padding: 0; border: 0; min-width: 0; overflow: hidden; box-shadow: inset 0 0 0 1px var(--accent); }
.bar-name { display: block; min-width: 0; padding-inline: 5px; overflow: hidden; text-overflow: ellipsis; }
.has-year-focus .bar:not(.is-active):not(:hover):not(:focus-visible) { opacity: .46; }
.bar.is-active, .bar.bar-turkey.is-active {
  z-index: 2;
  overflow: visible;
  background: linear-gradient(var(--accent),var(--accent)) bottom / 100% 3px no-repeat;
  box-shadow: none;
}
.bar.is-active .bar-name {
  position: absolute;
  top: -1px;
  left: var(--year-label-offset,0px);
  transform: translateX(var(--year-label-shift,0%));
  width: max-content;
  max-width: var(--year-label-width,220px);
  padding: 3px 7px;
  border: 1px solid var(--accent);
  border-radius: 5px;
  background: color-mix(in srgb,var(--accent) 20%,#101a28);
  color: #fff;
  line-height: 1.05;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
.bar.bar-turkey.is-active .bar-name { background: #a9172c; }
.bar.is-active:focus-visible { outline: none; }
.bar.is-active:focus-visible .bar-name, .bar.is-active:hover .bar-name { outline: 2px solid var(--accent); }
.row:not(.axis) > .label { z-index: 3; }
.transition-link { display: block; margin: 8px 12px; text-align: left; font-size: 12px; color: var(--gold); }

.view-switch { flex-wrap: wrap; }
.map-controls { display: flex; flex-wrap: wrap; gap: 12px; padding: 12px 21px; }
.map-controls > label { flex: 1 1 135px; min-width: 0; }
.map-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 21px 16px; color: var(--muted); font-size: 13px; }
.world-map-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); border-top: 1px solid var(--edge); }
.map-stage { display: grid; justify-items: center; align-content: center; min-width: 0; padding: 16px; background: radial-gradient(ellipse at center,#254258 0%,#101b2a 67%); }
#worldGlobe { width: min(100%, 640px); height: auto; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
#worldGlobe.dragging { cursor: grabbing; }
.map-rotation { display: flex; gap: 8px; }
.map-stage > .hint { text-align: center; }
.map-result-panel { border-left: 1px solid var(--edge); padding: 20px; min-width: 0; }
.map-result-panel h3 { font-size: 22px; margin: 0; }
#mapCount { color: var(--muted); }
#mapResults { list-style: none; margin: 0; padding: 3px; max-height: 475px; overflow: auto; display: grid; gap: 7px; }
.map-record { display: block; width: 100%; text-align: left; border-inline-start: 3px solid var(--accent); min-height: 44px; }
.map-record span { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 690px) {
  .world-map-layout { grid-template-columns: 1fr; }
  .map-result-panel { border-left: 0; border-top: 1px solid var(--edge); padding: 14px; }
  .map-controls, .map-presets { padding-inline: 12px; }
  #mapResults { max-height: 420px; }
}

/* Atlas: shared dark surfaces and restrained brass accents. */
.view-switch {
  display: flex;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border: 1px solid #30445a;
  border-radius: 16px;
  background: #0b1624;
}
.view-switch button { min-height: 42px; border-radius: 11px; border-color: transparent; background: transparent; }
.view-switch button[aria-pressed=true] { background: #342b22; color: #ffe0a5; border-color: #846637; }
.hero {
  padding-inline-end: 0;
  padding-block-end: 0;
  margin-block-end: 15px;
  row-gap: 18px;
}
.hero .view-switch { margin-block-end: 0; }
@media (min-width: 691px) {
  .atlas-guide {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero .view-switch { grid-column: 1; margin-inline-start: calc(-1 * clamp(0px, 2vw, 24px)); }
}
#atlas.panel, .map-atlas { border-color: #34475d; border-radius: 19px; box-shadow: 0 16px 48px #0004; }
#atlas .panel-head, .map-hero {
  background: linear-gradient(112deg,#192a40,#111e30 68%,#211e23);
  border-bottom: 1px solid #34475d;
}
#atlas .panel-head h2, .map-hero h2 { letter-spacing: -.025em; }
#atlas .panel-head #count { color: #f4d19b; background: #e7ba7214; border: 1px solid #aa845744; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
#atlas .tools { background: #0c1928; }
#atlas .scroller { background: #0e1927; }
#atlas .axis .label, #atlas .axis .track { background: #1a2b3e; }
#atlas .axis .tick span { color: #d2deeb; font-variant-numeric: tabular-nums; }
#atlas .row:nth-child(even):not(.axis) .track { background: #122032; }
#atlas .label { border-right-color: #3e5369; }
#atlas .transition-link { border-color: #9c794a; background: #e7ba7212; }
#atlas .lens-content { border-radius: 14px; }

.map-hero { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; padding: 22px clamp(16px, 4vw, 36px); }
.map-hero h2 { font-size: clamp(30px,5vw,52px); }
.map-hero > p { margin: 0; color: #bccbdc; }
.world-map-layout { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); border-top: 0; }
.map-stage {
  position: relative;
  align-content: start;
  padding: clamp(12px,2.6vw,26px);
  background: radial-gradient(ellipse at 50% 33%,#234862 0%,#142a40 38%,#0c192a 72%);
}
.map-stage-head { justify-self: start; padding: 9px 13px; border: 1px solid #c79f654d; border-radius: 11px; background: #0a1725d9; }
.map-stage-head span { display: block; font-size: 10px; letter-spacing: .14em; color: #d8b27e; }
.map-stage-head strong { display: block; font-size: 16px; color: #fff0d5; }
#worldGlobe { width: min(100%, 520px); filter: drop-shadow(0 0 22px #75c6ff42) drop-shadow(0 14px 22px #0006); }
.map-rotation { margin-top: 14px; }
.map-rotation button { border-radius: 30px; padding: 7px 14px; min-height: 40px; }
.map-caption { margin: 10px 0 0; text-align: center; font-size: 12px; color: #b4c4d7; }
.map-time-console { width: 100%; padding: 13px; border: 1px solid #3c5268; border-radius: 15px; background: #0b1725e8; }
.map-controls { padding: 0; gap: 8px; }
.map-controls > label { flex-basis: 115px; }
.map-controls input, .map-controls select { width: 100%; min-height: 44px; }
.map-year-axis { margin-bottom: 12px; }
.map-year-axis input { display: block; width: 100%; padding: 0; accent-color: #e6bd7b; }
.map-year-axis > div { display: flex; justify-content: space-between; color: #b8c9dc; font-size: 11px; }
.map-presets { padding: 0; margin-top: 10px; }
.map-presets button { border-radius: 20px; font-size: 12px; padding: 6px 10px; }
#mapResultsDock { background: #101c2a; }
.map-result-panel { border-left: 0; padding: 22px; }
#mapEra { margin-top: 0; color: #e7be83; }
#mapResultsTitle { font: 700 clamp(23px,3vw,34px)/1.1 Georgia,serif; }
#mapResults { max-height: min(57vh,560px); }
.map-record { padding: 11px 13px; border-radius: 10px; background: #172638; }
.map-record:hover { background: #1c3047; }
.map-record strong { color: #f4ecdf; }
.map-record span { margin-top: 3px; }
#mapOpenResults { display: none; }
#mapDrawer form button { min-width: 44px; min-height: 44px; }
@media(max-width:690px){
  .world-map-layout { grid-template-columns: 1fr; }
  #mapResultsDock { display: none; }
  #mapOpenResults { display: block; width: 100%; margin-top: 13px; min-height: 46px; background: #e7be83; color: #18120c; border-color: #e7be83; font-weight: 700; }
  #mapDrawer { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 84dvh; margin: 0; padding: 12px 14px max(14px,env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border-color: #53677c; background: #101c2a; }
  #mapDrawer .map-result-panel { padding: 9px 0 0; border: 0; }
  #mapDrawer #mapResults { max-height: 55dvh; }
  #mapDrawer::backdrop { background: #03080fb0; }
}

/* Keep the same selected year within reach while exploring the chart. */
#atlas.panel { overflow: clip; }
.chart-year {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 2px 12px;
  padding: 8px 12px;
  background: #101d2c;
  border-block: 1px solid var(--edge);
}
#chartYear { color: var(--gold); font-variant-numeric: tabular-nums; }
#chartYearSlider { grid-column: 1 / -1; width: 100%; min-height: 28px; margin: 0; padding: 0; accent-color: var(--gold); }
.historical-layer { margin: 10px 0; padding: 9px 10px; border: 1px solid var(--edge); border-radius: 8px; }
.historical-layer label { display: flex; align-items: center; gap: 8px; color: var(--text); min-height: 34px; cursor: pointer; }
.historical-layer input { min-height: auto; accent-color: var(--gold); }
.historical-layer small, #mapHistoricalStatus { color: var(--muted); font-size: 12px; }
#mapHistoricalStatus { margin: 5px 0 0; }
#mapHistoricalStatus:empty { display: none; }

.chart-year button { padding: 4px 8px; font-size: 12px; }

.chart-dock { position: sticky; top: 0; z-index: 6; background: #101d2c; }
.chart-dock .chart-year { position: static; }
.chart-dock .filters { padding: 6px 12px; gap: 5px 9px; }
.chart-dock .filters :is(input,select) { min-height: 34px; padding-block: 4px; }
.chart-dock .catalog-search { padding: 6px 12px; }
.chart-dock #catalogSearchTitle { display: none; }
.chart-dock #catalogSearchResults { max-height: min(150px,22dvh); }
#catalogSearchResults li { display: grid; gap: 4px; align-content: start; }
#catalogSearchResults .catalog-reveal { min-height: 34px; padding-block: 3px; color: var(--gold); }
@media (max-width: 690px) {
  .chart-dock .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .chart-dock .filters :is(input,select) { padding-inline: 5px; }
  .chart-dock .chart-scope { grid-column: span 2; }
  .chart-dock #catalogSearchResults { max-height: min(128px,18dvh); }
}

.item-map-data { margin-block: 16px; padding: 12px 14px; border: 1px solid var(--edge); border-radius: 10px; }
.item-map-data p { margin: 0 0 5px; }
#itemContext { color: var(--muted); font-size: 13px; }
#itemBasis { margin-top: 8px; font-size: 13px; }
#itemBasis summary { cursor: pointer; color: var(--gold); }
#itemPeriods { margin: 6px 0 0; padding-inline-start: 18px; }

.item-milestone { border-inline-start: 2px solid var(--gold); padding-inline-start: 12px; margin-block: 12px; }
.item-milestone a { margin-inline-start: 6px; }
.bar.bar-milestone:not(.is-active) .bar-name { padding-inline: 0; text-overflow: clip; }


/* Keep the map year visible while exploring political boundaries. */
.map-stage-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;width:100%}
.map-date-badge{flex-shrink:0;text-align:right;padding:9px 13px;border:1px solid #c79f654d;border-radius:11px;background:#171d1deb}
.map-date-badge>span{display:block;font-size:10px;letter-spacing:.14em;color:var(--gold)}
.map-date-badge output{display:block;font:400 clamp(20px,3vw,29px)/1.3 Georgia,serif;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.map-hover-card{position:fixed;z-index:20;pointer-events:none;width:max-content;max-width:min(285px,calc(100vw - 20px));padding:13px 16px;border:1px solid #edbb9166;border-radius:12px;background:#1b1d1ef5;box-shadow:0 10px 30px #0006;backdrop-filter:blur(10px)}
.map-hover-card strong{display:block;font:400 21px/1.25 Georgia,serif;color:#faf0e6;overflow-wrap:anywhere}
.map-hover-card span{display:block;margin-top:7px;color:#edbb91;font-size:12px}
.map-hover-card small{display:block;margin-top:5px;color:#b5b3b0;font-size:11px}
@media(max-width:480px){.map-stage-top{gap:8px}.map-stage-top .map-stage-head{min-width:0;padding:8px 10px}.map-stage-top .map-stage-head strong{font-size:13px}.map-date-badge{padding:8px 10px}.map-date-badge>span{font-size:9px}.map-date-badge output{font-size:21px}}

/* Zaman Çizelgesi: Küre Atlası'nın siyasi katmanları ve tam ekran kontrolleri */
.globe-explorer { position: relative; }
.history-globe-expand { position:absolute;top:12px;right:12px;z-index:5;min-width:38px;min-height:38px;border-radius:9px;cursor:pointer;background:#17344a;color:#ffdfab;border:1px solid #b18c55; }
.history-globe-boundaries {display:flex;justify-content:center;align-items:center;gap:8px;margin:9px auto;color:#e6d8bf;font-size:13px;cursor:pointer;}
.history-globe-boundaries input {width:17px;height:17px;accent-color:#e3b875;}
.history-globe-status {min-height:16px;color:var(--muted);font-size:11px;margin:3px 0 8px;}
#historyGlobe {width:min(100%, 360px);touch-action:none;filter:drop-shadow(0 0 14px #75c6ff32);}
.globe-explorer:fullscreen,.globe-explorer.history-globe-fullscreen {width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(10px,2vh,24px);border-radius:0;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:auto;box-sizing:border-box;background:radial-gradient(ellipse at 50% 40%,#214865,#081522 75%);z-index:99999;}
.globe-explorer.history-globe-fullscreen:not(:fullscreen) {position:fixed;inset:0;}
body.history-globe-modal-active {overflow:hidden;}
.globe-explorer:fullscreen #historyGlobe,.globe-explorer.history-globe-fullscreen #historyGlobe {width:auto;height:auto;max-height:min(60dvh,calc(100dvh - 245px));max-width:min(92vw,75dvh);aspect-ratio:1;flex:0 1 auto;}
.globe-explorer:fullscreen .century-controls,.globe-explorer.history-globe-fullscreen .century-controls {width:min(94vw,460px);flex-shrink:0;}
.globe-explorer:fullscreen .history-globe-expand,.globe-explorer.history-globe-fullscreen .history-globe-expand {position:fixed;top:12px;right:14px;}
@media(max-height:550px){.globe-explorer:fullscreen #historyGlobe,.globe-explorer.history-globe-fullscreen #historyGlobe{max-height:38dvh}.globe-explorer:fullscreen #globeHelp,.globe-explorer.history-globe-fullscreen #globeHelp{display:none}}

/* v44 — Küre Atlası: premium tam ekran tarih konsolu */
#atlasGlobeStage {isolation:isolate;}
.map-fullscreen-toggle{position:absolute;z-index:11;right:14px;top:14px;border:1px solid #d9b7799c;border-radius:13px;background:#0c2131ed;color:#ffe7b5;min-height:44px;padding:10px 14px;font-weight:700;cursor:pointer;box-shadow:0 8px 24px #0007}
.atlas-fs-globe{display:contents}
.atlas-fs-chronology{display:none}
#atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{position:fixed;inset:0;z-index:999999;box-sizing:border-box;width:100vw;height:100dvh;max-width:none;padding:clamp(12px,2vw,26px);margin:0;border:0;border-radius:0;overflow:auto;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(275px,.8fr);grid-template-rows:minmax(0,1fr) auto;gap:12px 20px;align-content:stretch;justify-items:stretch;background:radial-gradient(ellipse at 35% 38%,#28566c,#071520 72%)}
body.atlas-fs-lock{overflow:hidden}
#atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:0;grid-column:1;grid-row:1}
#atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(100%,76dvh,850px);max-height:76dvh;object-fit:contain}
#atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{display:flex;grid-column:2;grid-row:1 / 3;flex-direction:column;min-height:0;overflow:auto;padding:clamp(14px,2vw,26px);border:1px solid #c8a36855;border-radius:20px;background:linear-gradient(150deg,#183145f5,#0a1c2df8);box-shadow:0 20px 65px #0007}
.atlas-fs-chronology-head>span{font-size:10px;color:#e1bc7f;letter-spacing:.21em}
.atlas-fs-chronology-head h3{font:clamp(22px,2.6vw,33px) Georgia,serif;color:#fff3db;margin:10px 0}
.atlas-fs-chronology-head p,.atlas-fs-tip{font-size:12px;color:#b6c7d5;line-height:1.5}
.atlas-fs-epochs{display:grid;grid-template-columns:1fr 1fr;gap:8px;overflow:auto;margin:12px 0}
.atlas-epoch{text-align:left;border:1px solid #57758a66;border-radius:12px;padding:12px;background:#163145;color:#e8f0f3;cursor:pointer;min-height:66px}
.atlas-epoch strong{display:block;color:#efd09b;font-size:15px}.atlas-epoch span{font-size:11px;color:#c8d6e0}.atlas-epoch.selected,.atlas-epoch:hover{border-color:#f4cc8c;background:#365366}
#atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{grid-column:1;grid-row:2;min-width:0;max-height:34dvh;overflow:auto;padding:12px 16px}
#atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{position:absolute;left:22px;top:14px;z-index:12;margin:0}
#atlasGlobeStage:fullscreen .map-caption,#atlasGlobeStage.atlas-stage-fullscreen .map-caption{display:none}
#atlasGlobeStage:fullscreen .map-fullscreen-toggle,#atlasGlobeStage.atlas-stage-fullscreen .map-fullscreen-toggle{position:fixed;right:19px;top:13px;z-index:30}
@media(max-width:750px){
 #atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{display:flex;flex-direction:column;gap:8px;padding:56px 10px 10px;overflow:auto}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{flex:0 0 auto;min-height:0}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(96vw,52dvh);max-height:52dvh}
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{flex:0 0 auto;max-height:none;overflow:visible;padding:10px}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{flex:0 0 auto;min-height:unset;overflow:visible;padding:12px;order:3}
 .atlas-fs-epochs{grid-template-columns:repeat(5,minmax(130px,1fr));display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}
 .atlas-epoch{flex:0 0 130px;scroll-snap-align:start}
 #atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{left:11px;top:9px}
 .map-fullscreen-toggle{font-size:12px;padding:8px 11px}
}

/* V4 — Tam ekran: yüksek çözünürlüklü küre + gerçek Atlas zaman çizelgesi. */
#mapFullscreen.history-globe-expand{width:42px;height:42px;padding:0;display:grid;place-items:center;font-size:22px;line-height:1;background:#17344a;color:#ffdfad;border:1px solid #d9b7799c}
#atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{grid-template-columns:minmax(0,1.08fr) minmax(410px,1fr);grid-template-rows:minmax(0,1fr) auto;overflow:hidden;padding:58px 17px 14px;gap:10px 16px}
#atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{position:relative;grid-column:1;grid-row:1;overflow:hidden}
#atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(100%,min(90dvh,1050px));height:auto;max-height:100%;max-width:100%;image-rendering:auto}
#atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{grid-column:2;grid-row:1 / 3;min-width:0;min-height:0;overflow:hidden;padding:12px;display:flex;flex-direction:column;gap:5px}
#atlasGlobeStage:fullscreen .atlas-fs-chart-host,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chart-host{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #69819b66;border-radius:12px}
#atlasGlobeStage:fullscreen .atlas-chart-in-fullscreen,#atlasGlobeStage.atlas-stage-fullscreen .atlas-chart-in-fullscreen{display:flex!important;flex-direction:column;min-height:0;height:100%;width:100%;max-width:none;margin:0;overflow:hidden}
#atlasGlobeStage:fullscreen .atlas-chart-in-fullscreen .scroller,#atlasGlobeStage.atlas-stage-fullscreen .atlas-chart-in-fullscreen .scroller{flex:1;min-height:0;overflow:auto!important;overscroll-behavior:contain}
#atlasGlobeStage:fullscreen .atlas-chart-in-fullscreen .chart-dock,#atlasGlobeStage.atlas-stage-fullscreen .atlas-chart-in-fullscreen .chart-dock{display:block!important;flex:none}
.atlas-fullscreen-years{padding:5px 2px 9px}.atlas-fullscreen-years label{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f4d5a2;font:12px system-ui}.atlas-fullscreen-years output{font:22px Georgia;color:#ffdd9a}.atlas-fullscreen-years input{width:100%;accent-color:#e7bf88;height:27px;cursor:pointer}.atlas-fullscreen-year-ends{display:flex;justify-content:space-between;color:#9fb6c6;font:10px system-ui}.atlas-fs-chart-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font:10px system-ui;color:#b3c7d3}.atlas-fs-chart-toolbar button{border:1px solid #b69d72;color:#f5d5a0;background:#1d3748;border-radius:9px;padding:7px 10px;cursor:pointer}.atlas-fs-tip{margin:0;font-size:10px}.atlas-fs-chronology-head h3{margin:2px 0;font-size:22px}.atlas-fs-chronology-head p{margin:3px 0}
#atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{max-height:190px;overflow:auto;grid-row:2;padding:9px}
#atlasGlobeStage:fullscreen .map-year-axis,#atlasGlobeStage.atlas-stage-fullscreen .map-year-axis{display:none}
#atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{top:54px;left:16px}
@media(max-width:800px){
 #atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(185px,43dvh) minmax(0,1fr);overflow:hidden;padding:53px 8px 8px;gap:8px}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{grid-column:1;grid-row:1;min-height:0;flex:none}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(90vw,42dvh);max-height:100%}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{grid-column:1;grid-row:2;order:initial;min-height:0;overflow:hidden;flex:initial;padding:9px}
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{display:none}
 #atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{top:9px;left:8px}
 #atlasGlobeStage:fullscreen .atlas-fs-chart-host,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chart-host{min-height:90px}
 .atlas-fs-chronology-head h3{font-size:18px}.atlas-fs-chronology-head p{display:none}.atlas-fullscreen-years output{font-size:18px}
}

/* V5 — badge never covered by expand button; mobile fullscreen is globe-first */
#atlasGlobeStage:not(:fullscreen):not(.atlas-stage-fullscreen) #mapFullscreen{top:82px;right:15px;z-index:15}
.atlas-mobile-quick-years{display:none}
@media(max-width:800px){
 #atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{grid-template-rows:minmax(0,1fr) auto;gap:5px;padding:51px 9px 10px;overscroll-behavior:contain}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{grid-row:1;min-height:0;justify-content:center}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(98vw,70dvh);max-height:100%;height:auto}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{grid-row:2;min-height:0;flex:none;overflow:visible;padding:9px 13px 12px;background:#0a2231ee;border:1px solid #c8a36855;border-radius:17px}
 #atlasGlobeStage:fullscreen .atlas-fs-chart-host,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chart-host,
 #atlasGlobeStage:fullscreen .atlas-fs-chart-toolbar,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chart-toolbar,
 #atlasGlobeStage:fullscreen .atlas-fs-tip,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-tip{display:none!important}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology-head h3,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology-head h3{font-size:15px}
 .atlas-mobile-quick-years{display:flex;gap:6px;overflow-x:auto;padding:5px 0;scrollbar-width:thin;overscroll-behavior-x:contain}
 .atlas-mobile-quick-years button{flex:0 0 auto;padding:8px 11px;border:1px solid #c7a76b77;border-radius:9px;background:#1c3949;color:#f5e2b8;font:700 11px system-ui;cursor:pointer}
 #atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{top:55px;left:9px}
 #atlasGlobeStage:fullscreen .map-stage-top,#atlasGlobeStage.atlas-stage-fullscreen .map-stage-top{position:absolute;top:6px;right:53px;left:8px;width:auto;z-index:3;pointer-events:none}
 #atlasGlobeStage:fullscreen .map-date-badge,#atlasGlobeStage.atlas-stage-fullscreen .map-date-badge{padding:4px 7px}
 #atlasGlobeStage:fullscreen .map-date-badge output,#atlasGlobeStage.atlas-stage-fullscreen .map-date-badge output{font-size:16px}
 #atlasGlobeStage:not(:fullscreen):not(.atlas-stage-fullscreen) #mapFullscreen{top:75px;right:10px}
}

/* V6 — desktop: fixed globe size, visible controls and isolated year badge. */
@media(min-width:751px){
 #atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{grid-template-columns:minmax(0,54%) minmax(0,46%);grid-template-rows:minmax(0,1fr);padding:68px 15px 13px;overflow:hidden;height:100dvh;box-sizing:border-box}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{min-height:0;max-height:calc(100dvh - 84px);display:flex;flex-direction:column;justify-content:flex-start;gap:8px;overflow:hidden;padding-top:46px;box-sizing:border-box}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(100%,calc(100dvh - 300px),690px);max-height:min(calc(100dvh - 300px),690px);height:auto;flex:0 1 auto;min-height:0}
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{grid-row:auto;max-height:145px;flex:0 0 auto;overflow-y:auto;overflow-x:hidden;width:100%;box-sizing:border-box}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{grid-column:2;grid-row:1;min-height:0;height:100%;overflow:hidden}
 #atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{top:46px;left:16px;z-index:14;max-width:calc(100% - 30px);flex-wrap:wrap}
 #atlasGlobeStage:fullscreen .map-stage-top,#atlasGlobeStage.atlas-stage-fullscreen .map-stage-top{top:0;left:10px;right:70px;width:auto;z-index:15}
}
/* Normal globe view: fullscreen button must never overlap the map-year badge. */
#atlasGlobeStage:not(:fullscreen):not(.atlas-stage-fullscreen) .map-fullscreen-toggle{top:90px!important;right:12px!important}
@media(min-width:751px){#atlasGlobeStage:not(:fullscreen):not(.atlas-stage-fullscreen) #mapFullscreen{top:100px!important}}
@media(max-width:750px){#atlasGlobeStage:not(:fullscreen):not(.atlas-stage-fullscreen) #mapFullscreen{top:95px!important}}

/* V7 — Atlas desktop fullscreen: controls above globe, never clipped below it. */
@media (min-width:801px){
 #atlasGlobeStage:fullscreen,#atlasGlobeStage.atlas-stage-fullscreen{display:grid!important;grid-template-columns:minmax(0,53%) minmax(0,47%)!important;grid-template-rows:minmax(0,1fr)!important;gap:0!important;padding:12px 14px!important;overflow:hidden!important;box-sizing:border-box;height:100dvh!important}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{grid-column:1!important;grid-row:1!important;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end!important;min-height:0;max-height:none!important;padding:212px 8px 5px!important;overflow:hidden!important;box-sizing:border-box}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{display:block;width:min(100%,calc(100dvh - 247px),660px)!important;max-width:100%!important;max-height:calc(100dvh - 247px)!important;height:auto!important;min-height:0!important;flex:0 1 auto!important;object-fit:contain;margin:auto auto 0}
 #atlasGlobeStage:fullscreen .map-stage-top,#atlasGlobeStage.atlas-stage-fullscreen .map-stage-top{position:absolute!important;top:8px!important;left:12px!important;right:64px!important;width:auto!important;z-index:15!important;pointer-events:auto;gap:8px}
 #atlasGlobeStage:fullscreen .map-stage-head,#atlasGlobeStage.atlas-stage-fullscreen .map-stage-head{max-width:60%;min-width:0}
 #atlasGlobeStage:fullscreen .map-stage-head strong,#atlasGlobeStage.atlas-stage-fullscreen .map-stage-head strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #atlasGlobeStage:fullscreen .map-date-badge,#atlasGlobeStage.atlas-stage-fullscreen .map-date-badge{padding:5px 9px}
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{position:absolute!important;display:block!important;grid-column:auto!important;grid-row:auto!important;left:10px!important;right:10px!important;top:111px!important;width:auto!important;max-height:100px!important;min-height:0!important;padding:9px 10px!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:13!important;border:1px solid #d7b77770!important;border-radius:13px;background:linear-gradient(125deg,#162f3ef7,#091c2af8)!important;box-shadow:0 12px 25px #0005}
 #atlasGlobeStage:fullscreen .map-controls,#atlasGlobeStage.atlas-stage-fullscreen .map-controls{display:flex;flex-wrap:wrap;gap:6px;align-items:end}
 #atlasGlobeStage:fullscreen .map-controls>label,#atlasGlobeStage.atlas-stage-fullscreen .map-controls>label{flex:1 1 100px;min-width:80px;font-size:10px;max-width:none}
 #atlasGlobeStage:fullscreen .map-controls input,#atlasGlobeStage.atlas-stage-fullscreen .map-controls input,#atlasGlobeStage:fullscreen .map-controls select,#atlasGlobeStage.atlas-stage-fullscreen .map-controls select{min-height:31px!important;padding:4px 6px;font-size:12px}
 #atlasGlobeStage:fullscreen .map-year-axis,#atlasGlobeStage.atlas-stage-fullscreen .map-year-axis{display:none!important}
 #atlasGlobeStage:fullscreen .map-presets,#atlasGlobeStage.atlas-stage-fullscreen .map-presets{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:5px 0 0;font-size:9px}
 #atlasGlobeStage:fullscreen .map-presets button,#atlasGlobeStage.atlas-stage-fullscreen .map-presets button{padding:3px 7px;font-size:10px}
 #atlasGlobeStage:fullscreen .historical-layer,#atlasGlobeStage.atlas-stage-fullscreen .historical-layer{margin-top:5px;font-size:10px}
 #atlasGlobeStage:fullscreen .historical-layer small,#atlasGlobeStage.atlas-stage-fullscreen .historical-layer small,#atlasGlobeStage:fullscreen #mapHistoricalStatus,#atlasGlobeStage.atlas-stage-fullscreen #mapHistoricalStatus{display:none}
 #atlasGlobeStage:fullscreen #mapOpenResults,#atlasGlobeStage.atlas-stage-fullscreen #mapOpenResults{display:none}
 #atlasGlobeStage:fullscreen .map-rotation,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation{position:absolute!important;left:12px!important;top:65px!important;right:auto!important;max-width:calc(100% - 82px)!important;z-index:14!important;margin:0!important;display:flex;gap:7px;flex-wrap:wrap}
 #atlasGlobeStage:fullscreen .map-rotation button,#atlasGlobeStage.atlas-stage-fullscreen .map-rotation button{min-height:32px;padding:4px 12px;font-size:11px}
 #atlasGlobeStage:fullscreen .atlas-fs-chronology,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-chronology{grid-column:2!important;grid-row:1!important;min-height:0;height:100%;box-sizing:border-box}
}
@media (min-width:801px) and (max-height:650px){
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{padding-top:180px!important}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(100%,calc(100dvh - 208px),660px)!important;max-height:calc(100dvh - 208px)!important}
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{top:101px!important;max-height:76px!important}
}
/* V7 refinement: ensure all filters fit without an inner scroll on normal laptop heights. */
@media (min-width:801px) and (min-height:651px){
 #atlasGlobeStage:fullscreen .map-time-console,#atlasGlobeStage.atlas-stage-fullscreen .map-time-console{top:106px!important;max-height:154px!important;overflow-y:auto!important}
 #atlasGlobeStage:fullscreen .atlas-fs-globe,#atlasGlobeStage.atlas-stage-fullscreen .atlas-fs-globe{padding-top:264px!important}
 #atlasGlobeStage:fullscreen #worldGlobe,#atlasGlobeStage.atlas-stage-fullscreen #worldGlobe{width:min(100%,calc(100dvh - 283px),660px)!important;max-height:calc(100dvh - 283px)!important}
}

/* V8 — Desktop fullscreen rebuilt as an actual three-zone grid.
   Controls own a normal-flow row; never overlay the globe or chronology. */
@media (min-width:801px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen){
  display:grid!important;grid-template-columns:minmax(0,52fr) minmax(0,48fr)!important;
  grid-template-rows:auto minmax(0,1fr)!important;
  gap:12px 14px!important;padding:14px!important;overflow:hidden!important;
  height:100dvh!important;align-content:stretch!important;align-items:stretch!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-time-console{
  position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;
  grid-column:1!important;grid-row:1!important;width:100%!important;
  max-height:none!important;min-height:0!important;height:auto!important;
  padding:13px 16px!important;overflow:visible!important;z-index:1!important;
  border:1px solid #ba9d6d66!important;border-radius:16px!important;
  background:linear-gradient(135deg,#183749f5,#0b2030f8)!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-controls{
  display:grid!important;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(86px,.65fr)!important;
  gap:9px!important;align-items:end!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-controls>label{
  display:flex!important;flex-direction:column!important;min-width:0!important;max-width:none!important;
  font-size:11px!important;gap:4px!important;flex:none!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-controls :is(select,input){width:100%!important;min-width:0!important;height:35px!important;font-size:12px!important;}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-presets{margin:10px 0 4px!important;gap:6px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .historical-layer{margin-top:8px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-globe{
  grid-column:1!important;grid-row:2!important;position:relative!important;display:flex!important;
  padding:48px 6px 6px!important;max-height:none!important;min-height:0!important;
  width:100%!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) #worldGlobe{
  display:block!important;width:auto!important;height:auto!important;
  max-width:min(100%,calc(100dvh - 255px))!important;
  max-height:100%!important;aspect-ratio:1!important;object-fit:contain!important;
  margin:auto!important;flex:0 1 auto!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-stage-top{
  position:absolute!important;top:3px!important;left:155px!important;right:8px!important;
  width:auto!important;max-width:none!important;z-index:3!important;pointer-events:auto!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-stage-head{max-width:none!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-rotation{
  position:relative!important;grid-column:1!important;grid-row:2!important;
  justify-self:start!important;align-self:start!important;top:10px!important;left:11px!important;right:auto!important;
  width:auto!important;max-width:145px!important;display:flex!important;flex-wrap:nowrap!important;gap:5px!important;
  margin:0!important;z-index:5!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-rotation button{padding:7px!important;font-size:10px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chronology{
  grid-column:2!important;grid-row:1 / 3!important;min-width:0!important;min-height:0!important;
  width:100%!important;height:100%!important;padding:16px!important;overflow:hidden!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-fullscreen-toggle{position:absolute!important;top:12px!important;right:12px!important;z-index:35!important}
}
@media (min-width:801px) and (max-height:700px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-time-console{padding:8px 12px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-presets{margin:4px 0!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .historical-layer{margin-top:3px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-globe{padding-top:39px!important}
}

/* V10 — Stable, non-overlapping mobile globe layout (no nested horizontal scroll). */
.map-active-count{display:block;margin-top:6px;color:#f2cf98;font:600 11px/1.4 system-ui;letter-spacing:.01em}
.atlasFullscreenOffer{box-sizing:border-box;width:min(410px,calc(100% - 30px));max-width:100%;border:1px solid #cda76f88;border-radius:23px;padding:30px 24px 25px;background:linear-gradient(145deg,#183849,#081b2a);box-shadow:0 35px 95px #000b;color:#f4e9db;text-align:center}
.atlasFullscreenOffer::backdrop{background:#020e19d6;backdrop-filter:blur(7px)}
.atlasFullscreenOffer .atlasOfferClose{position:absolute;top:12px;right:13px;background:#263d4a;color:#f7dab1;border:1px solid #d9b77977;border-radius:11px;width:38px;height:38px;font-size:24px;cursor:pointer}
.atlasOfferIcon{display:inline-grid;place-items:center;border:1px solid #d1a87466;border-radius:15px;width:57px;height:57px;font-size:32px;color:#f5d19c;margin-bottom:12px}
.atlasOfferKicker{color:#e9bb85;letter-spacing:.18em;font:700 10px system-ui}.atlasFullscreenOffer h2{font:normal 29px/1.22 Georgia,serif;color:#fff0d7;margin:10px 0}.atlasFullscreenOffer p:not(.atlasOfferKicker){font:13px/1.7 system-ui;color:#baccd2}
.atlasOfferActions{display:grid;gap:10px;margin-top:22px}.atlasOfferActions button{min-height:45px;border-radius:10px;border:1px solid #c29b65a0;background:#edc797;color:#132b37;font-weight:800;cursor:pointer}.atlasOfferActions button+button{background:#ffffff0b;color:#e5d9cb}
@media(max-width:800px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen){
  box-sizing:border-box!important;display:flex!important;flex-direction:column!important;
  width:100vw!important;height:100dvh!important;max-height:100dvh!important;
  padding:58px 8px max(8px,env(safe-area-inset-bottom))!important;
  gap:7px!important;overflow:hidden!important;align-items:stretch!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-globe{
  display:flex!important;flex:1 1 auto!important;order:1!important;
  width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;
  padding:0!important;margin:0!important;overflow:hidden!important;position:relative!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) #worldGlobe{
  width:auto!important;height:auto!important;max-width:min(99%,100vw)!important;
  max-height:100%!important;aspect-ratio:1!important;flex:0 1 auto!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-stage-top{
  position:absolute!important;left:7px!important;right:63px!important;top:2px!important;
  width:auto!important;display:flex!important;gap:7px!important;align-items:flex-start!important;
  z-index:9!important;pointer-events:none!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-stage-top>*{pointer-events:none!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-stage-head{max-width:66%!important;min-width:0!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-fullscreen-toggle{
  position:absolute!important;top:4px!important;right:6px!important;left:auto!important;z-index:35!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-rotation{
  position:relative!important;flex:0 0 auto!important;order:2!important;align-self:flex-start!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  margin:0 0 0 5px!important;padding:0!important;display:flex!important;
  width:auto!important;max-width:none!important;z-index:10!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-rotation button{min-height:35px!important;padding:6px 14px!important;font-size:12px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chronology{
  display:flex!important;order:3!important;flex:0 0 auto!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;
  max-height:min(235px,35dvh)!important;overflow:hidden!important;padding:11px 12px 12px!important;
  gap:5px!important;border-radius:18px!important;margin:0!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chart-host,
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chart-toolbar,
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-tip{display:none!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fullscreen-years{min-width:0!important;width:100%!important;padding:3px 0!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-mobile-quick-years{
  display:flex!important;max-width:100%!important;width:100%!important;min-width:0!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  flex:0 0 auto!important;gap:6px!important;overscroll-behavior-x:contain;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-mobile-quick-years::-webkit-scrollbar{display:none}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .map-time-console{display:none!important}
}

@media(max-width:800px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-mobile-quick-years{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,auto)!important;overflow:hidden!important;gap:5px!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-mobile-quick-years button{min-width:0!important;max-width:100%!important;width:100%!important;padding:7px 2px!important;font-size:11px!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chronology{max-height:min(250px,37dvh)!important}
}

/* V11: Atlas teklifi Derin ile birebir aynı karşılama kartını kullanır. */
.fullscreenOffer{box-sizing:border-box;width:min(430px,calc(100vw - 32px));padding:34px 30px 26px;border:1px solid #b49d6d70;border-radius:22px;background:radial-gradient(ellipse at top,#2a4741,#11272b 75%);color:#ede2ce;box-shadow:0 24px 100px #0008;text-align:center;max-height:90dvh;overflow:auto}.fullscreenOffer::backdrop{background:#061319b8;backdrop-filter:blur(6px)}.fullscreenOfferIcon{display:block;font:42px/1 system-ui;color:#d9bb87;margin-bottom:18px}.fullscreenOffer .deepKicker{font-size:9px;letter-spacing:1.6px}.fullscreenOffer h2{font:normal 31px/1.25 Georgia,serif;color:#f0dfc3;margin:14px 0}.fullscreenOffer>p:not(.deepKicker){color:#aabeb1;font:13px/1.7 system-ui;margin:14px 0 24px}.fullscreenOfferClose{position:absolute;top:10px;right:10px;width:36px;height:36px;border:0;background:transparent;color:#c6c9b4;font:25px/1 system-ui;cursor:pointer}.fullscreenOfferActions{display:grid;gap:10px}.fullscreenOfferActions button{min-height:44px;padding:12px;border:1px solid #d4b98566;border-radius:10px;background:#dfbe87;color:#182f30;font:600 13px/1.5 system-ui;cursor:pointer}.fullscreenOfferActions button+button{background:transparent;color:#b4c4b6;border-color:transparent;font-weight:400}.fullscreenOffer button:focus-visible{outline:2px solid #fae3bb;outline-offset:3px}

.atlas-page .fullscreenOffer .deepKicker{font:600 9px/1.4 system-ui,sans-serif;letter-spacing:1.6px;color:#edbb91}
@media(max-width:600px){.atlas-page .fullscreenOffer{padding:28px 20px 20px}.atlas-page .fullscreenOffer h2{font-size:28px}}

/* V12 — The Atlas fullscreen invitation uses the SAME readable gold CTA as Derin.
   Explicit specificity neutralizes Atlas global button theme and hover rules. */
.atlas-page dialog.fullscreenOffer .fullscreenOfferActions>#atlasOfferAccept,
.atlas-page dialog.fullscreenOffer .fullscreenOfferActions>#atlasOfferAccept:hover,
.atlas-page dialog.fullscreenOffer .fullscreenOfferActions>#atlasOfferAccept:focus-visible{background:#dfbe87!important;color:#182f30!important;border:1px solid #d4b98566!important;opacity:1!important;-webkit-text-fill-color:#182f30!important;font:600 13px/1.5 system-ui!important;box-shadow:none!important;min-height:44px!important}
.atlas-page dialog.fullscreenOffer .fullscreenOfferActions>#atlasOfferLater{background:transparent!important;color:#b4c4b6!important;-webkit-text-fill-color:#b4c4b6!important;border-color:transparent!important;font:400 13px/1.5 system-ui!important}

/* V13: subtle DOABASE branding only in desktop fullscreen globe/time view. */
#atlasGlobeStage .atlasFullscreenWatermark{display:none}
@media(min-width:761px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen)>.atlasFullscreenWatermark{
  display:block;position:absolute;right:22px;bottom:18px;width:clamp(56px,5.5vw,88px);
  height:auto;max-height:60px;object-fit:contain;opacity:.28;filter:grayscale(.25);
  z-index:32;pointer-events:none;user-select:none;
 }
}
/* Small circular Turkish flag sits directly below the close button. */
#details{position:relative}
#atlasTurkeyFlag:not([hidden]){position:absolute;right:clamp(13px,2.5vw,24px);top:57px;
 display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
 background:#102833;box-shadow:0 5px 18px #0005,0 0 0 1px #e4c18a4d;pointer-events:none;z-index:3}
#atlasTurkeyFlag[hidden]{display:none!important}

/* V14: background-free watermark, shared with Derin's alpha-masked brand glyph. */
#atlasGlobeStage>.atlasFullscreenWatermark{display:none!important}
@media(min-width:801px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen)>.atlasFullscreenWatermark{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  position:absolute;right:23px;bottom:17px;width:64px;height:auto;max-height:none;
  background:none!important;border:none!important;box-shadow:none!important;
  opacity:.32;filter:none!important;pointer-events:none;user-select:none;z-index:32;
  color:#e9e5d6;
 }
 #atlasGlobeStage>.atlasFullscreenWatermark svg{display:block;width:42px;height:52px;}
 #atlasGlobeStage>.atlasFullscreenWatermark span{font:700 7px/1 system-ui;letter-spacing:2px}
}
/* Desktop globe help: an independent compact row BELOW the globe, not an overlay. */
#atlasGlobeStage .atlasGlobeHelp{display:none}
@media(min-width:801px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-globe{
  flex-direction:column!important;align-items:center!important;justify-content:space-between!important;
  padding-bottom:8px!important;gap:7px!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) #worldGlobe{
  flex:1 1 auto!important;min-height:0!important;max-height:calc(100% - 91px)!important;
  width:auto!important;height:auto!important;margin:0 auto!important;object-fit:contain!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlasGlobeHelp{
  display:flex!important;box-sizing:border-box;align-self:flex-start;align-items:center;flex:0 0 auto;
  gap:10px;min-height:73px;width:min(100%,430px);padding:10px 13px;
  border:1px solid #d2ac7266;border-radius:14px;
  background:linear-gradient(115deg,#152e3de8,#0b1c2ae8);
  box-shadow:0 10px 28px #010b1669,inset 0 1px #d8bd7130;color:#efe4d0;
  z-index:7;pointer-events:none;
 }
 #atlasGlobeStage .atlasGlobeHelpIcon{flex:0 0 31px;font:25px Georgia,serif;color:#e8bc74;text-align:center}
 #atlasGlobeStage .atlasGlobeHelp strong{display:block;font:600 12px/1.3 system-ui;letter-spacing:.05em;color:#f4dbad}
 #atlasGlobeStage .atlasGlobeHelp p{margin:4px 0 0;display:flex;gap:3px 14px;flex-wrap:wrap;font:10px/1.4 system-ui;color:#bbced1}
}
/* Turkish flag: deliberately BELOW the X in its own reserved area. */
#details.details-turkey{padding-right:70px!important}
#details.details-turkey form{position:relative;z-index:12}
#details #atlasTurkeyFlag:not([hidden]){
 display:grid!important;place-items:center;right:17px!important;top:83px!important;
 width:47px!important;height:47px!important;z-index:5!important;
 overflow:hidden;border-radius:50%;border:1px solid #f7d59b9c;
 background:#182733;box-shadow:0 7px 21px #0008,0 0 0 3px #e9bd7040;
}
#atlasTurkeyFlag .atlasFlagWaving{display:block;transform-origin:50% 50%;animation:atlasFlagWave 3.2s ease-in-out infinite;filter:drop-shadow(2px 1px 2px #0003)}
@keyframes atlasFlagWave{0%,100%{transform:perspective(120px) rotateY(-9deg) skewY(-1deg) scale(.98)}50%{transform:perspective(120px) rotateY(11deg) skewY(1.5deg) scale(1.045)}}
@media(prefers-reduced-motion:reduce){#atlasTurkeyFlag .atlasFlagWaving{animation:none}}

/* V15 — Turkish flag and close control: distinct same-height columns. */
#details.details-turkey[open]{position:relative;isolation:isolate}
#details.details-turkey[open]>form{
 position:absolute!important;float:none!important;right:78px!important;top:84px!important;
 margin:0!important;padding:0!important;z-index:20!important;
}
#details.details-turkey[open]>form button{
 display:grid;place-items:center;width:45px;height:45px;padding:0;
 border:1px solid #c4a77976;border-radius:50%;background:#101c25ed;
 color:#e9dbcb;font:23px/1 system-ui;box-shadow:0 5px 17px #0006;
}
#details.details-turkey[open]>form button:hover{background:#263e4a;border-color:#e9c899}
#details.details-turkey[open] #atlasTurkeyFlag{top:83px!important;right:17px!important}
/* One year scrubber is enough. The original chart's year header was duplicated
   after mounting the chart in the fullscreen panel, wasting vertical space. */
@media(min-width:801px){
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-chart-in-fullscreen .chart-dock,
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-chart-in-fullscreen .chart-year{
  display:none!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fs-chart-host{min-height:0!important;flex:1 1 0!important}
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-chart-in-fullscreen .scroller{
  min-height:0!important;max-height:none!important;flex:1 1 0!important;
  overflow:auto!important;
 }
 #atlasGlobeStage:is(:fullscreen,.atlas-stage-fullscreen) .atlas-fullscreen-years{flex:0 0 auto!important;padding-bottom:5px!important}
}
