/* Etrüsklerin Göç Haritası · arayüz biçemleri */
:root {
  --cam: rgba(24, 18, 13, .88); --cam2: rgba(40, 31, 22, .96); --hat: rgba(214, 176, 96, .26); --hat2: rgba(214, 176, 96, .5);
  --altin: #d6b060; --altin2: #f1d894; --yazi: #f2e8d2; --soluk: #b6a687; --alan: rgba(255, 255, 255, .06); --alan2: rgba(255, 255, 255, .1);
  --tehlike: #e07a63; --golge: 0 18px 50px -14px rgba(0, 0, 0, .6), 0 2px 8px rgba(0, 0, 0, .28); --r: 16px;
  --serif: "Cormorant Garamond", "Palatino Linotype", Georgia, serif; --baslik: Cinzel, Georgia, serif;
}
html[data-tema="atlas"] {
  --cam: rgba(252, 253, 254, .92); --cam2: #fff; --hat: rgba(50, 75, 95, .18); --hat2: rgba(50, 75, 95, .4);
  --altin: #8a6a1e; --altin2: #6b5010; --yazi: #1d2a35; --soluk: #5f707d; --alan: rgba(20, 45, 65, .05); --alan2: rgba(20, 45, 65, .09);
  --tehlike: #b3412c; --golge: 0 18px 46px -16px rgba(30, 50, 70, .35), 0 2px 8px rgba(30, 50, 70, .12);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--yazi); background: #e4d4ae; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--altin); outline-offset: 2px; }
[hidden] { display: none !important; }

/* sahne */
#sahne { position: fixed; inset: 0; }
#taban, #harita, #doku { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#harita { touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
#harita:active { cursor: grabbing; }
#harita[data-arac="isaret"], #harita[data-arac="rota"], #harita[data-arac="bolge"], #harita[data-arac="not"], #harita[data-arac="etiket"], #harita[data-arac="cizim"], #harita[data-arac="olcu"] { cursor: crosshair; }
#doku { pointer-events: none; }
#doku::before { content: ""; position: absolute; inset: 0; background-image: var(--doku-url, none); opacity: var(--doku, 0); mix-blend-mode: multiply; }

/* cam yüzeyler */
.cam { background: var(--cam); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--hat); border-radius: var(--r); box-shadow: var(--golge); color: var(--yazi); }
.d { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; color: var(--yazi); flex: none; position: relative; transition: background .15s, color .15s; }
.d:hover { background: var(--alan2); color: var(--altin2); }
.d.aktif { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; box-shadow: 0 2px 10px -2px rgba(214, 176, 96, .6); }
.d:disabled { opacity: .32; cursor: default; background: none; }
.d.metinli { width: auto; padding: 0 12px 0 9px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; letter-spacing: .01em; }
.d.altin { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; }
.d.altin:hover { filter: brightness(1.07); color: #20170b; }
[data-ipucu]:hover::after { content: attr(data-ipucu); position: absolute; z-index: 60; white-space: pre; background: #15100b; color: #f2e8d2; font: 500 12px/1 system-ui, sans-serif; padding: 7px 9px; border-radius: 8px; border: 1px solid rgba(214, 176, 96, .3); pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
#ust [data-ipucu]:hover::after { top: calc(100% + 9px); left: 50%; transform: translateX(-50%); }
#araclar [data-ipucu]:hover::after { left: calc(100% + 11px); top: 50%; transform: translateY(-50%); }

/* üst çubuk */
#ust { position: fixed; z-index: 30; top: 12px; left: 12px; right: 12px; height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 9px 0 14px; }
.marka { display: flex; align-items: center; gap: 11px; color: var(--altin); margin-right: 8px; min-width: 0; }
.marka svg { flex: none; }
.marka b { display: block; font: 700 13.5px/1.15 var(--baslik); letter-spacing: .13em; text-transform: uppercase; color: var(--altin2); white-space: nowrap; }
.marka span { display: block; font-size: 11px; color: var(--soluk); letter-spacing: .05em; white-space: nowrap; }
.esnek { flex: 1; }
.ikili { display: inline-flex; padding: 3px; border: 1px solid var(--hat); border-radius: 999px; background: var(--alan); flex: none; }
.ikili button { padding: 6px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--soluk); transition: all .15s; }
.ikili button.aktif { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; }
.acilir { position: relative; flex: none; }
.menu { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px; padding: 6px; z-index: 50; background: var(--cam2); border: 1px solid var(--hat); border-radius: 14px; box-shadow: var(--golge); }
.menu.sag { left: auto; right: 0; }
.acilir.acik .menu { display: block; animation: belir .14s ease-out; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px; border-radius: 9px; text-align: left; font-size: 13.5px; color: var(--yazi); }
.menu button:hover { background: var(--alan2); color: var(--altin2); }
.menu button svg { opacity: .8; flex: none; }
@keyframes belir { from { opacity: 0; transform: translateY(-5px); } }

/* araç çubuğu */
#araclar { position: fixed; z-index: 25; left: 12px; top: 78px; width: 52px; padding: 7px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
#araclar .ayrac { width: 26px; height: 1px; background: var(--hat); margin: 4px 0; flex: none; }
body.izle #araclar [data-arac]:not([data-arac="sec"]) { display: none; }
body.izle #araclar .ayrac { display: none; }
#ipucu-cubuk { position: fixed; z-index: 26; top: 78px; left: 50%; transform: translateX(-50%); max-width: min(680px, calc(100vw - 150px)); padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 8px; font-size: 13px; border-radius: 999px; }
#ipucu-cubuk span { flex: 1; }
#ipucu-cubuk button { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--hat); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
#ipucu-cubuk button:hover { background: var(--alan2); }
#ipucu-cubuk button.ana { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; border-color: transparent; }

/* panel */
#panel { position: fixed; z-index: 24; right: 12px; top: 78px; bottom: 118px; width: 344px; display: flex; flex-direction: column; overflow: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s, visibility 0s; }
body.panel-kapali #panel { transform: translateX(calc(100% + 30px)); opacity: 0; pointer-events: none; visibility: hidden; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .2s, visibility 0s .28s; }
.sekmeler { display: flex; border-bottom: 1px solid var(--hat); flex: none; padding: 5px 5px 0; gap: 2px; }
.sekmeler button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px 9px; font-size: 10.5px; letter-spacing: .03em; color: var(--soluk); border-radius: 10px 10px 0 0; border-bottom: 2px solid transparent; transition: color .15s; }
.sekmeler button:hover { color: var(--yazi); }
.sekmeler button.aktif { color: var(--altin2); border-bottom-color: var(--altin); background: var(--alan); }
#panel-govde { flex: 1; overflow-y: auto; padding: 14px 14px 18px; scrollbar-width: thin; scrollbar-color: var(--hat2) transparent; }
.p-baslik { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.p-baslik h3 { flex: 1; margin: 0; font: 700 13px/1.2 var(--baslik); letter-spacing: .12em; text-transform: uppercase; color: var(--altin2); }
.alt-baslik { font: 700 10.5px/1 var(--baslik); letter-spacing: .16em; text-transform: uppercase; color: var(--soluk); margin: 16px 0 8px; padding-top: 12px; border-top: 1px solid var(--hat); }
.ipucu-yazi { font-size: 12px; line-height: 1.5; color: var(--soluk); margin: 0 0 10px; }
.sayac { color: var(--soluk); font-size: 12px; }
.mini { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; border: 1px solid var(--hat); font-size: 12.5px; font-weight: 600; color: var(--yazi); background: var(--alan); transition: all .15s; }
.mini:hover { border-color: var(--hat2); background: var(--alan2); }
.mini svg { width: 16px; height: 16px; flex: none; }
.mini.altin { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; border-color: transparent; }
.mini.tehlike { color: var(--tehlike); }
.mini.tehlike:hover { border-color: var(--tehlike); }
.dugmeler { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 2px; }
.dugmeler.dikey { flex-direction: column; align-items: stretch; }
.dugmeler.dikey .mini { justify-content: flex-start; padding: 9px 12px; }
.olcu-yazi { font-size: 12px; color: var(--soluk); }

.katman, .halk { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 11px; cursor: pointer; border: 1px solid transparent; transition: background .12s; }
.katman:hover, .halk:hover { background: var(--alan); }
.katman.aktif, .halk.aktif { background: var(--alan2); border-color: var(--hat); }
.katman.kapali .k-ad, .katman.kapali .nokta { opacity: .42; }
.nokta { width: 11px; height: 11px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .14); }
.k-ad { flex: 1; min-width: 0; }
.k-ad b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.k-ad small { color: var(--soluk); font-size: 11.5px; }
.goz { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--soluk); flex: none; }
.goz:hover { background: var(--alan2); color: var(--yazi); }
.goz.yanik { color: #20170b; background: var(--altin); }
.goz svg { width: 18px; height: 18px; }
.h-bayrak { width: 40px; display: grid; place-items: center; flex: none; }
.bayrak-kutu { --direk: #cdbb93; overflow: visible; display: block; }
html[data-tema="atlas"] .bayrak-kutu { --direk: #3a2a1a; }
.ok-isaret { color: var(--soluk); font-size: 18px; width: 22px; text-align: center; }
body.izle .sekmeler [data-sekme="ozellik"], body.izle .sekmeler [data-sekme="ayar"] { display: none; }
.ayrinti.okuma p { margin: 0; font-size: 13px; line-height: 1.55; }
.ayrinti { margin: 4px 0 10px; padding: 12px; border-radius: 12px; background: var(--alan); border: 1px solid var(--hat); }

.satir { display: grid; grid-template-columns: 86px 1fr; gap: 8px; align-items: start; margin-bottom: 8px; }
.satir > span { font-size: 12.5px; color: var(--soluk); padding-top: 8px; }
.girdi { min-width: 0; }
.g { width: 100%; background: var(--alan); border: 1px solid var(--hat); border-radius: 9px; padding: 7px 10px; color: var(--yazi); font-size: 13.5px; transition: border-color .15s, background .15s; }
.g:hover { border-color: var(--hat2); }
.g:focus { outline: none; border-color: var(--altin); background: var(--alan2); }
textarea.g { resize: vertical; min-height: 62px; line-height: 1.45; display: block; }
select.g { appearance: none; -webkit-appearance: none; padding-right: 26px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
select.g option { background: #241b12; color: #f2e8d2; }
html[data-tema="atlas"] select.g option { background: #fff; color: #1d2a35; }
.yilg { display: grid; grid-template-columns: 1fr 74px; gap: 6px; }
.kay { display: grid; grid-template-columns: 1fr 52px; gap: 8px; align-items: center; padding-top: 6px; }
.kay output { font-size: 12px; color: var(--soluk); text-align: right; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: none; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--altin) var(--dolu, 0%), var(--hat) var(--dolu, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--hat); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3cf, #c2933a); border: 1px solid #7a5a1c; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border-radius: 50%; background: #d6b060; border: 1px solid #7a5a1c; }
.renk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 3px; }
input[type="color"] { -webkit-appearance: none; appearance: none; width: 34px; height: 28px; padding: 0; border: 1px solid var(--hat2); border-radius: 8px; background: none; cursor: pointer; overflow: hidden; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: 0; }
.boya { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .22); transition: transform .12s; }
.boya:hover { transform: scale(1.18); }
.onaylar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; margin: 8px 0; }
.onay { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; cursor: pointer; }
.onay input { position: absolute; opacity: 0; pointer-events: none; }
.onay i { width: 30px; height: 17px; border-radius: 999px; background: var(--alan2); border: 1px solid var(--hat2); position: relative; flex: none; transition: background .15s; }
.onay i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--soluk); transition: transform .15s, background .15s; }
.onay input:checked + i { background: linear-gradient(160deg, #edd088, #c2933a); border-color: transparent; }
.onay input:checked + i::after { transform: translateX(13px); background: #20170b; }
.onay input:focus-visible + i { outline: 2px solid var(--altin); outline-offset: 2px; }
.amblemler { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin-bottom: 8px; }
.amblem { aspect-ratio: 1; border-radius: 9px; border: 1px solid var(--hat); background: var(--alan); display: grid; place-items: center; color: var(--yazi); transition: all .12s; }
.amblem:hover { border-color: var(--hat2); color: var(--altin2); }
.amblem.aktif { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; border-color: transparent; }
.amblem b { font-size: 12px; }
.secenekler { display: flex; gap: 6px; }
.secenek { flex: 1; padding: 6px 0 3px; border-radius: 10px; border: 1px solid var(--hat); background: var(--alan); display: grid; place-items: center; }
.secenek.aktif { border-color: var(--altin); background: var(--alan2); box-shadow: inset 0 0 0 1px var(--altin); }
.temalar { display: grid; gap: 6px; }
.tema-sec { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--hat); background: var(--alan); font-size: 13px; font-weight: 600; text-align: left; }
.tema-sec.aktif { border-color: var(--altin); box-shadow: inset 0 0 0 1px var(--altin); }
.tema-on { width: 34px; height: 22px; border-radius: 6px; border: 1.5px solid; flex: none; }
.bos { text-align: center; padding: 22px 12px 8px; }
.bos-ikon { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; border: 1px solid var(--hat2); display: grid; place-items: center; color: var(--altin); }
.bos b { display: block; font: 700 14px var(--baslik); letter-spacing: .08em; color: var(--altin2); margin-bottom: 6px; }
.bos p { margin: 0; color: var(--soluk); font-size: 13px; }
.kilavuz-sat { display: grid; grid-template-columns: 30px auto 1fr; align-items: center; gap: 8px; width: 100%; padding: 7px 8px; border-radius: 9px; text-align: left; }
.kilavuz-sat:hover { background: var(--alan2); }
.kilavuz-sat span { color: var(--altin); display: grid; place-items: center; }
.kilavuz-sat b { font-size: 13px; }
.kilavuz-sat small { color: var(--soluk); font-size: 12px; }
.liste { margin-top: 10px; }
.liste-baslik { display: flex; align-items: center; gap: 8px; font: 700 10.5px/1.3 var(--baslik); letter-spacing: .1em; text-transform: uppercase; color: var(--soluk); margin: 14px 2px 5px; }
.liste-baslik small { margin-left: auto; font: 500 11px system-ui; letter-spacing: 0; }
.liste-sat { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: center; width: 100%; padding: 6px 8px; border-radius: 9px; text-align: left; }
.liste-sat:hover { background: var(--alan); }
.liste-sat.aktif { background: var(--alan2); box-shadow: inset 2px 0 0 var(--altin); }
.liste-sat .tur { color: var(--soluk); display: grid; place-items: center; }
.liste-sat .tur svg { width: 16px; height: 16px; }
.liste-sat b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.liste-sat small { color: var(--soluk); font-size: 11px; white-space: nowrap; }
.kisayol { display: grid; gap: 5px; font-size: 12.5px; color: var(--soluk); }
.kisayol div { display: flex; gap: 10px; align-items: center; }
kbd { font: 600 11px ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--hat2); color: var(--yazi); background: var(--alan); white-space: nowrap; }
.kaynakca { font-size: 11.5px; color: var(--soluk); margin: 14px 0 0; line-height: 1.5; }

/* zaman çizelgesi */
#zaman { position: fixed; z-index: 24; left: 12px; right: 12px; bottom: 12px; height: 94px; display: flex; align-items: center; gap: 16px; padding: 0 18px 0 14px; }
.yuvarlak { width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #f1d894, #b98a30); color: #20170b; box-shadow: 0 6px 18px -4px rgba(214, 176, 96, .6), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .12s; }
.yuvarlak:hover { transform: scale(1.06); }
.yuvarlak svg { width: 22px; height: 22px; }
.yil { width: 178px; flex: none; }
.yil b { display: block; font: 700 21px/1.15 var(--baslik); letter-spacing: .04em; color: var(--altin2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.yil span { display: block; font-size: 11.5px; color: var(--soluk); line-height: 1.3; margin-top: 2px; }
.serit { flex: 1; min-width: 0; position: relative; height: 66px; }
#donemler { display: flex; height: 26px; border: 1px solid var(--hat); border-radius: 8px; overflow: hidden; }
#donemler button { flex: 1; min-width: 0; padding: 0 5px; font-size: 10.5px; letter-spacing: .03em; color: var(--soluk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 1px solid var(--hat); transition: background .15s, color .15s; }
#donemler button:first-child { border-left: 0; }
#donemler button:hover { background: var(--alan2); color: var(--yazi); }
#donemler button.simdi { background: rgba(214, 176, 96, .24); color: var(--altin2); font-weight: 700; }
#kay { position: absolute; left: 0; right: 0; top: 30px; }
#yillar { position: absolute; left: 0; right: 0; top: 50px; display: flex; justify-content: space-between; font-size: 10px; color: var(--soluk); font-variant-numeric: tabular-nums; pointer-events: none; }
#yillar span { width: 0; white-space: nowrap; display: flex; justify-content: center; }
#yillar span:first-child { justify-content: flex-start; }
#yillar span:last-child { justify-content: flex-end; }
.z-sag { display: flex; align-items: center; gap: 8px; flex: none; }
.hap { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hat2); font-size: 12.5px; font-weight: 700; color: var(--soluk); }
.hap.aktif { background: linear-gradient(160deg, #edd088, #c2933a); color: #20170b; border-color: transparent; }
#hiz { background: var(--alan); border: 1px solid var(--hat); border-radius: 999px; padding: 7px 10px; font-size: 12.5px; }
#hiz option { background: #241b12; color: #f2e8d2; }
#b-sunum-cik { display: none; position: fixed; z-index: 40; top: 14px; right: 14px; padding: 8px 14px 8px 10px; border-radius: 999px; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; opacity: .28; transition: opacity .2s; }
#b-sunum-cik:hover { opacity: 1; }
body.sunum #ust, body.sunum #araclar, body.sunum #panel, body.sunum #ipucu-cubuk { display: none; }
body.sunum #b-sunum-cik { display: inline-flex; }
body.sunum #zaman { left: 50%; right: auto; transform: translateX(-50%); width: min(920px, calc(100vw - 28px)); height: 84px; opacity: .93; }

/* bilgi kartı, ipucu, bildirim, pencere */
#kart { position: fixed; z-index: 45; width: min(330px, calc(100vw - 16px)); background: #f9f1dd; color: #33261a; border: 1px solid #8a6d3b; border-radius: 7px; padding: 16px 18px 14px; font: 500 16.5px/1.42 var(--serif); box-shadow: 0 22px 50px -14px rgba(30, 18, 4, .55), 0 0 0 5px rgba(249, 241, 221, .55); animation: belir .16s ease-out; }
#kart::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(138, 109, 59, .4); border-radius: 4px; pointer-events: none; }
.kart-ust { display: flex; gap: 12px; align-items: flex-start; padding-right: 22px; }
.kart-bayrak .bayrak-kutu { --direk: #3a2a1a; }
.kart-tur { display: block; font: 700 9.5px/1.3 var(--baslik); letter-spacing: .16em; text-transform: uppercase; color: #8a6d3b; }
.kart-ust b { display: block; font: 700 17px/1.22 var(--baslik); letter-spacing: .03em; margin: 3px 0 2px; color: #2a1d10; }
.kart-ust small { font-size: 14px; font-style: italic; color: #6b5433; }
#kart p { margin: 10px 0 0; white-space: pre-wrap; }
.kart-bilgi { margin-top: 8px; font-size: 14px; font-style: italic; color: #6b5433; }
.kart-dugme { display: flex; gap: 7px; margin-top: 13px; }
.kart-dugme button { padding: 6px 13px; border-radius: 999px; border: 1px solid #8a6d3b; font: 600 12.5px system-ui, sans-serif; color: #4a3820; }
.kart-dugme button:hover { background: rgba(138, 109, 59, .14); }
.kart-dugme button.ana { background: #3a2a1a; color: #f6ecd2; border-color: #3a2a1a; }
.kart-kapat { position: absolute; top: 9px; right: 9px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #8a6d3b; }
.kart-kapat:hover { background: rgba(138, 109, 59, .16); }
.kart-kapat svg { width: 16px; height: 16px; }
#ipucu { position: fixed; z-index: 44; pointer-events: none; background: #15100b; color: #f2e8d2; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(214, 176, 96, .32); font-size: 12.5px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); max-width: 260px; }
#ipucu b { font-weight: 600; }
#ipucu span { display: block; color: #b6a687; font-size: 11.5px; }
#bildirimler { position: fixed; z-index: 70; left: 50%; bottom: 122px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.bildirim { background: #15100b; color: #f2e8d2; border: 1px solid rgba(214, 176, 96, .4); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); animation: belir .2s ease-out; transition: opacity .35s, transform .35s; text-align: center; max-width: calc(100vw - 30px); }
.bildirim.git { opacity: 0; transform: translateY(6px); }
#modal { position: fixed; z-index: 80; inset: 0; background: rgba(12, 8, 4, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.modal-kutu { position: relative; width: min(520px, 100%); background: var(--cam2); border: 1px solid var(--hat2); border-radius: 18px; padding: 24px 24px 20px; box-shadow: var(--golge); animation: belir .18s ease-out; }
.modal-kutu h3 { margin: 0 0 10px; font: 700 15px var(--baslik); letter-spacing: .1em; text-transform: uppercase; color: var(--altin2); }
.modal-kutu p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }
.modal-kutu .kart-kapat { color: var(--soluk); }
.link-satir { display: flex; gap: 8px; margin-bottom: 12px; }
.link-satir .g { font: 500 12.5px ui-monospace, Consolas, monospace; }

/* açılış */
#yukleniyor { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(ellipse at center, #f3e8cb, #dcc99c); transition: opacity .6s; }
#yukleniyor.git { opacity: 0; pointer-events: none; }
.yuk-kutu { text-align: center; color: #3a2a1a; }
.yuk-kutu b { display: block; font: 700 22px var(--baslik); letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 6px; }
.yuk-kutu span { font: italic 500 17px var(--serif); color: #6b5433; }
.yuk-halka { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; border: 2px solid rgba(138, 109, 59, .3); border-top-color: #8a6d3b; animation: don 1s linear infinite; }
@keyframes don { to { transform: rotate(360deg); } }

/* dar ekran */
@media (max-width: 1100px) { .marka span { display: none; } .yil { width: 150px; } .yil b { font-size: 18px; } }
@media (max-width: 900px) { .marka div { display: none; } #donemler button { font-size: 0; } }
@media (max-width: 759px) {
  #ust { top: 8px; left: 8px; right: 8px; height: 50px; gap: 3px; padding: 0 6px 0 10px; }
  .marka { margin-right: 0; }
  .d.metinli span { display: none; } .d.metinli { width: 38px; padding: 0; justify-content: center; }
  .ikili button { padding: 6px 10px; font-size: 12.5px; }
  #b-ileri, #b-sunum { display: none; }
  #araclar { top: auto; bottom: 104px; left: 8px; right: 8px; width: auto; flex-direction: row; overflow-x: auto; padding: 5px; justify-content: flex-start; scrollbar-width: none; }
  #araclar .ayrac { width: 1px; height: 24px; margin: 0 3px; }
  #araclar [data-ipucu]:hover::after { display: none; }
  #ipucu-cubuk { top: 64px; max-width: calc(100vw - 16px); width: calc(100vw - 16px); border-radius: 14px; flex-wrap: wrap; padding: 9px 10px; }
  #panel { left: 8px; right: 8px; width: auto; top: auto; bottom: 156px; height: min(58vh, 480px); }
  body.panel-kapali #panel { transform: translateY(calc(100% + 170px)); }
  #zaman { left: 8px; right: 8px; bottom: 8px; height: 90px; gap: 10px; padding: 0 10px; flex-wrap: wrap; align-content: center; }
  .yuvarlak { width: 42px; height: 42px; }
  .yil { width: auto; flex: 1; min-width: 0; } .yil b { font-size: 16px; } .yil span { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .serit { order: 5; flex: 0 0 100%; height: 30px; } #donemler, #yillar { display: none; } #kay { top: 4px; }
  #hiz { display: none; }
  #bildirimler { bottom: 164px; }
  .onaylar { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
