/* Rota sayfası: tüm tarihler listesi ve geçmiş fiyatlar penceresi. Yalnız bu bölüm olan sayfalarda yüklenir. */
.fu-fl-intro { margin: 0 0 14px; color: var(--ink-2); max-width: 78ch; }
.fu-fl-intro i { font-style: normal; font-weight: 650; color: var(--brand-2); }
.fu-fl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fu-fl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; content-visibility: auto; contain-intrinsic-size: auto 84px; }
.fu-fl:hover { border-color: #c9d6ec; transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(2, 21, 54, .28); }
.fu-fl-go { white-space: nowrap; }
.fu-fl.is-deal { border-left: 4px solid var(--accent); }
.fu-fl-d[open] { background: linear-gradient(180deg, #fff, #fafcff); }
.fu-fl-d[open] .fu-fl-main { border-bottom: 1px dashed var(--line); }
.fu-fl-main { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(250px, auto) 1fr auto auto; grid-template-areas: "dates tags price side" "checked checked checked checked"; align-items: center; gap: 8px 22px; padding: 14px 18px; }
.fu-fl-main::-webkit-details-marker { display: none; }
.fu-fl-main:focus-visible { outline-offset: -3px; }
.fu-fl-dates { grid-area: dates; display: flex; align-items: center; gap: 12px; }
.fu-fl-date { display: grid; line-height: 1.15; }
.fu-fl-date time { font-size: .95rem; color: var(--ink-2); }
.fu-fl-date b { font-size: 1.55rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-right: 2px; }
.fu-fl-date em { font-style: normal; font-size: .8rem; font-weight: 650; color: var(--muted); }
.fu-fl-date.is-weekend em { color: var(--accent-2); }
.fu-fl-arrow { color: var(--muted); font-size: 1.1rem; }
.fu-fl-days { margin-left: 4px; padding: 3px 9px; border-radius: 999px; background: var(--line-2); font-size: .78rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.fu-fl-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.fu-fl-tags .fu-badge { box-shadow: none; }
.fu-fl-price { grid-area: price; display: grid; text-align: right; line-height: 1.15; }
.fu-fl-price strong { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.fu-fl-price small { color: var(--muted); font-size: .74rem; }
.fu-fl-side { grid-area: side; display: flex; align-items: center; gap: 12px; }
.fu-fl-hist svg { flex: none; }
.fu-fl-toggle { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; color: var(--brand-2); white-space: nowrap; }
.fu-fl-toggle i { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.fu-fl-d[open] .fu-fl-toggle i { transform: rotate(-135deg) translateY(-2px); }
.fu-fl-checked { grid-area: checked; font-size: .78rem; color: var(--muted); }
.fu-fl-more { padding: 14px 18px 18px; }
.fu-fl-dl { margin: 0 0 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 22px; }
.fu-fl-dl > div { min-width: 0; }
.fu-fl-dl > div.is-wide { grid-column: 1 / -1; }
.fu-fl-dl dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.fu-fl-dl dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); }
.fu-fl-dl dd small { color: var(--muted); font-weight: 500; }
.fu-fl-note { margin: 0 0 12px; font-size: .8rem; color: var(--muted); }
.fu-fl-links { display: flex; flex-wrap: wrap; gap: 8px; }
.fu-fl-foot { margin-top: 16px; display: grid; justify-items: center; gap: 8px; }
.fu-fl-foot .fu-btn { min-width: 260px; }
.fu-fl-foot .fu-btn.is-loading { opacity: .7; cursor: progress; }
.fu-fl-err { margin: 0; color: var(--rose-ink); font-size: .9rem; }

/* Geçmiş fiyatlar penceresi */
html.fu-hist-lock { overflow: hidden; }
.fu-hist { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 80px rgba(2, 21, 54, .35); overflow: hidden; }
.fu-hist[open] { display: flex; flex-direction: column; }
.fu-hist::backdrop { background: rgba(2, 21, 54, .55); backdrop-filter: blur(2px); }
.fu-hist-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.fu-hist-head h2 { margin: 0; font-size: 1.3rem; }
.fu-hist-head p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.fu-hist-close { flex: none; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.fu-hist-close:hover { background: var(--line-2); }
.fu-hist-body { padding: 18px 22px 24px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 16px; align-content: start; }
.fu-hist-state { padding: 40px 12px; text-align: center; color: var(--muted); display: grid; gap: 12px; justify-items: center; }
.fu-spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: fu-rot .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes fu-rot { to { transform: rotate(360deg); } }
.fu-hist-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.fu-hist-hero small { display: block; opacity: .75; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.fu-hist-hero strong { display: block; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.fu-hist-hero span { font-size: .85rem; opacity: .85; }
.fu-hist-hero .fu-hist-badges span { opacity: 1; }
.fu-hist-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fu-hist-notes { margin: 0; padding: 14px 18px 14px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; gap: 6px; font-size: .95rem; }
.fu-hist-notes li::marker { color: var(--accent); }
.fu-st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fu-st { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; display: grid; gap: 2px; min-width: 0; }
.fu-st span { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.fu-st strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.fu-st small { color: var(--muted); font-size: .76rem; }
.fu-st.is-good strong { color: #146c36; }
.fu-st.is-bad strong { color: var(--rose-ink); }
.fu-fig { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px 16px; position: relative; min-width: 0; }
.fu-fig figcaption h3 { margin: 0; font-size: 1.02rem; }
.fu-fig figcaption p { margin: 2px 0 10px; color: var(--muted); font-size: .84rem; }
.fu-fig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fu-ch { width: 100%; height: auto; display: block; touch-action: pan-y; }
.fu-ch-grid { stroke: var(--line); stroke-width: 1; }
.fu-ch-tick { fill: var(--muted); font-size: 11px; }
.fu-ch-line { fill: none; stroke: var(--brand-2); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.fu-ch-area { fill: rgba(10, 36, 88, .08); stroke: none; }
.fu-ch-avg { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 5 5; }
.fu-ch-range { stroke: #9fb2d3; stroke-width: 3; stroke-linecap: round; opacity: .55; }
.fu-ch-dot { fill: var(--brand-2); }
.fu-ch-low { fill: #1a9a4b; stroke: #fff; stroke-width: 2; }
.fu-ch-now { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.fu-ch-cursor { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.fu-ch-up { fill: #d6455f; }
.fu-ch-down { fill: #1a9a4b; }
.fu-ch-flat { fill: #b7c2d6; }
.fu-ch-tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 8px 11px; font-size: .78rem; display: grid; gap: 1px; box-shadow: var(--shadow-lg); min-width: 150px; z-index: 2; }
.fu-ch-tip b { font-size: .84rem; }
.fu-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: .78rem; color: var(--muted); }
.fu-leg span::before { content: ""; display: inline-block; width: 12px; height: 4px; border-radius: 2px; margin-right: 6px; vertical-align: middle; background: var(--brand-2); }
.fu-leg .is-avg::before { background: var(--accent); }
.fu-leg .is-low::before, .fu-leg .is-now::before { width: 9px; height: 9px; border-radius: 50%; background: #1a9a4b; }
.fu-leg .is-now::before { background: var(--accent); }
.fu-hb { display: grid; gap: 8px; }
.fu-hb-row { display: grid; grid-template-columns: minmax(96px, 128px) 1fr auto; align-items: center; gap: 4px 10px; font-size: .86rem; }
.fu-hb-row span { color: var(--ink-2); font-weight: 600; }
.fu-hb-row i { height: 10px; border-radius: 6px; background: var(--line-2); overflow: hidden; display: block; }
.fu-hb-row em { display: block; height: 100%; border-radius: 6px; background: #8aa2cc; }
.fu-hb-row b { font-weight: 750; white-space: nowrap; }
.fu-hb-row small { grid-column: 2 / -1; color: var(--muted); font-size: .74rem; margin-top: -3px; }
.fu-hb-row.is-best em { background: #1a9a4b; }
.fu-hb-row.is-empty { opacity: .5; }
.fu-hg { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 4px; }
.fu-hg-col { flex: 1; min-width: 0; height: 100%; display: grid; grid-template-rows: 16px 1fr 18px; justify-items: center; align-items: end; font-size: .7rem; color: var(--muted); }
.fu-hg-col b { color: var(--ink-2); font-size: .74rem; }
.fu-hg-col i { width: 100%; background: #8aa2cc; border-radius: 6px 6px 0 0; min-height: 2px; }
.fu-hg-col.is-now i { background: var(--accent); }
.fu-hg-col span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fu-hist-foot { margin: 0; font-size: .78rem; color: var(--muted); text-align: center; }

@media (max-width: 991.98px) {
  .fu-fl-main { grid-template-columns: 1fr auto; grid-template-areas: "dates price" "tags tags" "side side" "checked checked"; gap: 10px 14px; }
  .fu-fl-side { justify-content: space-between; }
  .fu-fig-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .fu-fl-main { padding: 12px 14px; }
  .fu-fl-dates { gap: 8px; flex-wrap: wrap; }
  .fu-fl-days { margin-left: 0; }
  .fu-fl-date b { font-size: 1.3rem; }
  .fu-fl-price strong { font-size: 1.25rem; }
  .fu-fl-more { padding: 12px 14px 16px; }
  .fu-fl-dl { grid-template-columns: 1fr 1fr; gap: 10px 14px; }
  .fu-fl-foot .fu-btn { width: 100%; min-width: 0; }
  .fu-hist { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .fu-hist-head { padding: 14px 16px 12px; }
  .fu-hist-body { padding: 14px 14px 22px; }
  .fu-st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sıralama ve süzgeç çubuğu */
.fu-fl-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fu-fl-f { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.fu-fl-f select, .fu-fl-f input { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .92rem; min-width: 150px; }
.fu-fl-f input { min-width: 130px; width: 130px; }
.fu-fl-c { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .92rem; cursor: pointer; }
.fu-fl-count { margin: 0 0 0 auto; color: var(--muted); font-size: .88rem; align-self: center; }
.fu-fl-empty { margin: 12px 0 0; padding: 18px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 12px; }
.fu-fl-list[aria-busy="true"] { opacity: .55; transition: opacity .15s; pointer-events: none; }
@media (max-width: 640px) {
  .fu-fl-f, .fu-fl-f select, .fu-fl-f input { width: 100%; min-width: 0; }
  .fu-fl-count { margin-left: 0; width: 100%; }
}

.fu-fl-foot[hidden], .fu-fl-foot [hidden], .fu-fl-filter [hidden], .fu-fl-empty[hidden], .fu-fl-err[hidden] { display: none !important; }

/* Yükleniyor göstergeleri */
.fu-skel { display: grid; gap: 10px; padding: 18px; min-height: 84px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fu-skel span { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #eef1f6 25%, #f8f9fc 50%, #eef1f6 75%); background-size: 200% 100%; animation: fu-shimmer 1.2s ease-in-out infinite; }
.fu-skel-a { width: 55%; } .fu-skel-b { width: 35%; } .fu-skel-c { width: 20%; }
@keyframes fu-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fu-fl-list > li:not(.fu-skel) { animation: fu-arrive .25s ease-out; }
.fu-fl-foot .fu-btn.is-loading::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: fu-rot .8s linear infinite; }
.fu-fl-list[aria-busy="true"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fu-skel span, .fu-fl-foot .fu-btn.is-loading::before { animation: none; } }

/* Grup (bölge / ülke / şehir) listesi */
.fu-fl-rt { flex-basis: 100%; font-size: .98rem; color: var(--ink); }
.fu-fl-rt i { font-style: normal; color: var(--muted); }
.fu-fl-months { margin: 0 0 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.fu-fl-months h3 { margin: 0 0 2px; font-size: 1rem; }
.fu-fl-months > p { margin: 0 0 10px; color: var(--muted); font-size: .84rem; }
