/* Güncellemeler sayfası (/guncellemeler/). Yalnız bu sayfada yüklenir. */

.up-page { --up-line: #e6e9f0; --up-soft: #f8f9fc; display: grid; gap: 22px; padding-bottom: 56px; }

/* Giriş ve sayılar */
.up-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; }
@media (min-width: 980px) { .up-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px; } }
.up-lead { max-width: 60ch; margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.up-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
@media (min-width: 560px) { .up-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.up-stat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--up-line), 0 14px 30px -26px #1b234066; }
.up-stat dt { color: var(--ink-muted); font-size: 11.5px; font-weight: 700; }
.up-stat dd { margin: 0; color: var(--heading); font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.up-stat--brand { background: linear-gradient(135deg, #fff4ea, #fff); box-shadow: inset 0 0 0 1px #ffd9bd, 0 14px 30px -26px #e25a0066; }
.up-stat--brand dd { color: var(--brand-700); }

/* Öne çıkanlar */
.up-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 10px; }
.up-sec-head h2 { margin: 0; color: var(--heading); font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.up-sec-head p { margin: 0; color: var(--ink-muted); font-size: 12.5px; font-weight: 600; }
.up-feat-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.up-feat {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ico name" "ico date" "txt txt" "go go";
  column-gap: 10px; row-gap: 2px; height: 100%; padding: 14px; border-radius: 18px; background: #fff; color: inherit; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--up-line), 0 18px 34px -30px #1b234080;
  transition: transform .18s var(--fed), box-shadow .18s var(--fed);
}
.up-feat:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #ffc89c, 0 22px 40px -28px #e25a0066; }
.up-feat:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.up-feat__ico { grid-area: ico; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #fff1e6; color: var(--brand-700); }
.up-feat__ico .icon { width: 22px; height: 22px; }
.up-feat-list li:nth-child(6n+2) .up-feat__ico { background: #eaf1ff; color: #1d4ed8; }
.up-feat-list li:nth-child(6n+3) .up-feat__ico { background: #e9f8ef; color: #15803d; }
.up-feat-list li:nth-child(6n+4) .up-feat__ico { background: #fdeef2; color: #be123c; }
.up-feat-list li:nth-child(6n+5) .up-feat__ico { background: #f3edff; color: #6d28d9; }
.up-feat-list li:nth-child(6n+6) .up-feat__ico { background: #e6f7fa; color: #0e7490; }
.up-feat__name { grid-area: name; align-self: end; color: var(--heading); font-size: 14.5px; font-weight: 800; line-height: 1.25; }
.up-feat__date { grid-area: date; color: var(--ink-muted); font-size: 11.5px; font-weight: 650; }
.up-feat__txt { grid-area: txt; margin-top: 8px; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.up-feat__go { grid-area: go; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--brand-700); font-size: 12.5px; font-weight: 800; }
.up-feat__go .icon { width: 14px; height: 14px; transition: transform .18s var(--fed); }
.up-feat:hover .up-feat__go .icon { transform: translateX(3px); }

/* Yerleşim */
.up-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 980px) { .up-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 26px; } }

/* Süzgeçler */
.up-filters { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--up-line), 0 22px 44px -36px #1b23404d; }
@media (min-width: 980px) { .up-filters { position: sticky; top: calc(var(--header-h, 64px) + 16px); } }
.up-search { position: relative; }
.up-search__ico { position: absolute; top: 50%; left: 13px; width: 17px; height: 17px; transform: translateY(-50%); color: var(--ink-muted); pointer-events: none; }
.up-search .input { height: 44px; min-height: 44px; padding-left: 38px; border-radius: 13px; }
.up-filter-k { display: block; margin: 6px 0 0; color: var(--heading); font-size: 12.5px; font-weight: 750; }
.up-types { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 980px) { .up-types { display: grid; gap: 4px; } }
.up-type { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 11px; background: var(--up-soft); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 650; text-align: left; cursor: pointer; transition: background .15s var(--fed), color .15s var(--fed); }
.up-type:hover { background: #eef1f6; color: var(--heading); }
.up-type[aria-pressed="true"] { background: var(--heading); color: #fff; }
.up-type:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.up-type__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.up-type[aria-pressed="true"] .up-type__dot { box-shadow: 0 0 0 3px #ffffff33; }
.up-type__n { margin-left: auto; padding-left: 8px; color: inherit; opacity: .7; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.up-select { height: 42px; min-height: 42px; border-radius: 12px; }
.up-side-card { display: grid; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--up-line); }
.up-rss { display: flex; align-items: flex-start; gap: 10px; padding: 8px; border-radius: 12px; color: inherit; text-decoration: none; }
.up-rss:hover { background: var(--up-soft); }
.up-rss > .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-700); }
.up-rss b { display: block; color: var(--heading); font-size: 13px; }
.up-rss small { display: block; color: var(--ink-muted); font-size: 11.5px; line-height: 1.4; }

/* Liste */
.up-list__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.up-status { margin: 0 auto 0 0; color: var(--ink-muted); font-size: 13px; font-weight: 700; }
.up-clear, .up-chip-clear { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--up-line); border-radius: 999px; background: #fff; color: var(--heading); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.up-chip-clear { border-color: #ffc89c; background: #fff4ea; color: var(--brand-700); }
.up-chip-clear .icon { width: 14px; height: 14px; }

.up-month + .up-month { margin-top: 22px; }
.up-month__title { position: sticky; top: var(--header-h, 64px); z-index: 2; display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; padding: 8px 0; background: linear-gradient(var(--bg, #f7f8fb) 80%, transparent); color: var(--heading); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.up-month__title span { color: var(--ink-muted); font-size: 12.5px; font-weight: 650; }
.up-items { position: relative; display: grid; gap: 12px; margin: 0; padding: 0 0 0 30px; list-style: none; }
.up-items::before { content: ''; position: absolute; top: 8px; bottom: 8px; left: 11px; width: 2px; border-radius: 2px; background: linear-gradient(#dfe4ee, #eef1f6); }
.up-item { position: relative; scroll-margin-top: 120px; }
.up-item__dot { position: absolute; top: 16px; left: -30px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; box-shadow: 0 0 0 4px #fff, 0 6px 12px -6px var(--c); }
.up-item__dot .icon { width: 13px; height: 13px; }
.up-card { padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--up-line), 0 18px 34px -32px #1b234080; }
.up-item:target .up-card, .up-item.is-target .up-card { box-shadow: inset 0 0 0 2px var(--c), 0 18px 34px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.up-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; }
.up-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 82%, #111827); font-size: 11.5px; font-weight: 800; }
.up-card__meta time { color: var(--ink-muted); font-size: 12px; font-weight: 650; }
.up-no { margin-left: auto; color: #9aa3b5; font-size: 12px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.up-no:hover { color: var(--brand-700); }
.up-card__title { margin: 0; color: var(--heading); font-size: 15.5px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }
.up-card__detail { display: grid; gap: 4px; margin: 8px 0 0; padding: 0 0 0 18px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.up-card__detail li::marker { color: var(--c); }
.up-card__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.up-tool { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px 0 4px; border-radius: 999px; background: var(--up-soft); box-shadow: inset 0 0 0 1px var(--up-line); color: var(--heading); font-size: 12.5px; font-weight: 750; text-decoration: none; transition: background .15s var(--fed), box-shadow .15s var(--fed); }
.up-tool:hover { background: #fff4ea; box-shadow: inset 0 0 0 1px #ffc89c; color: var(--brand-700); }
.up-tool__ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--brand-700); box-shadow: 0 1px 2px #1b23401f; }
.up-tool__ico .icon { width: 15px; height: 15px; }
.up-tool__go { width: 14px; height: 14px; }

.up-empty { display: grid; justify-items: start; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--up-line); }
.up-empty p { margin: 0; color: var(--ink-2); font-size: 14px; }
.up-more { margin: 16px auto 0; display: flex; }

@media (max-width: 560px) {
  .up-items { padding-left: 24px; }
  .up-items::before { left: 8px; }
  .up-item__dot { left: -24px; width: 20px; height: 20px; }
  .up-card { padding: 12px 13px; }
  .up-month__title { top: var(--header-h, 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .up-feat, .up-feat__go .icon { transition: none; }
}
@media (max-width: 560px) {
  .up-feat-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
  .up-feat-list::-webkit-scrollbar { display: none; }
  .up-feat-list li { scroll-snap-align: start; }
}
