/* Sana İyi Gelsin — liste sayfaları (tools/listeler.mjs üretir) */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2?v=2') format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2?v=2') format('woff2'); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('/fonts/onest.woff2?v=2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #F7F5FB; --surface: #FFFFFF; --field: #F1EEF8;
  --ink: #1F1D2B; --body: #3A3748; --muted: #5D5A6E;
  --line: #EEEAF4; --accent: #5A4A9C; --ph: #E6DFF7;
  --solid: #1F1D2B; --on-solid: #FFFFFF;
  --shadow: rgba(52, 40, 110, 0.07);
  --c-film: #E6DFF7; --c-music: #D5EFE3; --c-book: #FBEFC4; --c-art: #FCDFCF;
  --i-film: #5A4A9C; --i-music: #2F6B52; --i-book: #8A6412; --i-art: #95491F;
  --c-mood: #F6DDEB; --i-mood: #983C60;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #15131F; --surface: #1F1C2C; --field: #2A2640;
  --ink: #F2EFFA; --body: #DAD6E8; --muted: #B3AEC6;
  --line: #332F48; --accent: #B9A8F5; --ph: #2E2750;
  --solid: #F2EFFA; --on-solid: #15131F;
  --shadow: rgba(0, 0, 0, 0.35);
  --c-film: #2E2750; --c-music: #1E3A31; --c-book: #3A3220; --c-art: #40281F;
  --i-film: #C9BCFA; --i-music: #9FD8BD; --i-book: #EBCB74; --i-art: #F3B08C;
  --c-mood: #43223A; --i-mood: #F0A3C2;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico.sm { width: 16px; height: 16px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; }
.brand { font-family: var(--font-head); font-size: 26px; font-weight: 600; line-height: 1; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand em { font-style: italic; font-weight: 500; color: var(--accent); }
.wm-i { position: relative; display: inline-block; }
.wm-i svg { position: absolute; left: 50%; top: -0.12em; width: 0.44em; height: 0.44em; transform: translateX(-36%); }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--solid); color: var(--on-solid); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; }
.crumbs a { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--ph); padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
body.t-film .eyebrow { background: var(--c-film); color: var(--i-film); }
body.t-music .eyebrow { background: var(--c-music); color: var(--i-music); }
body.t-book .eyebrow { background: var(--c-book); color: var(--i-book); }
body.t-art .eyebrow { background: var(--c-art); color: var(--i-art); }
h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(34px, 7vw, 56px); line-height: 1.05; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: 17px; color: var(--muted); margin: 0 0 28px; max-width: 720px; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { background: var(--surface); border-radius: 24px; padding: 20px; box-shadow: 0 4px 14px var(--shadow); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.num { font-family: var(--font-head); font-size: 15px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.t-film .tag { background: var(--c-film); color: var(--i-film); }
.t-music .tag { background: var(--c-music); color: var(--i-music); }
.t-book .tag { background: var(--c-book); color: var(--i-book); }
.t-art .tag { background: var(--c-art); color: var(--i-art); }
.card h3 { font-family: var(--font-head); font-weight: 400; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0; overflow-wrap: anywhere; }
.meta { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.note { margin: 4px 0 8px; font-size: 15px; }
.acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--solid); color: var(--on-solid); text-decoration: none; font-weight: 600; font-size: 14px; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
.btn:hover, .pill:hover, .solid:hover { filter: brightness(1.08); }

.cta { margin: 32px 0; background: var(--ph); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.cta h2 { font-family: var(--font-head); font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--ink); margin: 0 0 6px; }
.cta p { margin: 0; color: var(--body); max-width: 560px; }
.solid { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--solid); color: var(--on-solid); text-decoration: none; font-weight: 600; white-space: nowrap; }

.more h2, .hub-group h2 { font-family: var(--font-head); font-weight: 400; font-size: 28px; color: var(--ink); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.more-group { margin-bottom: 16px; }
.more-group h3 { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.chip.t-film { background: var(--c-film); color: var(--i-film); }
.chip.t-music { background: var(--c-music); color: var(--i-music); }
.chip.t-book { background: var(--c-book); color: var(--i-book); }
.chip.t-art { background: var(--c-art); color: var(--i-art); }

.hub-group { margin: 8px 0 28px; }
.hub-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.hub-card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 24px; text-decoration: none; color: var(--ink); min-width: 0; }
.hub-card.t-film { background: var(--c-film); } .hub-card.t-music { background: var(--c-music); }
.hub-card.t-book { background: var(--c-book); } .hub-card.t-art { background: var(--c-art); }
.hub-card strong { font-family: var(--font-head); font-weight: 400; font-size: 24px; line-height: 1.15; }
.hub-count { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.t-film .hub-count { color: var(--i-film); } .t-music .hub-count { color: var(--i-music); }
.t-book .hub-count { color: var(--i-book); } .t-art .hub-count { color: var(--i-art); }
.hub-desc { font-size: 14px; color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-card:hover { transform: translateY(-2px); }

.foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.foot a { color: var(--muted); text-underline-offset: 3px; }

@media (max-width: 359px) {
  .brand { font-size: 22px; }
  .pill { padding: 0 12px; font-size: 13px; }
}
@media (min-width: 600px) {
  .wrap { padding: 0 32px 64px; }
  .grid, .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .card { padding: 24px; }
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px; }
}
@media (min-width: 1024px) {
  .grid, .hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  .hub-card { transition: transform .2s ease; }
}

/* Ruh hali listeleri */
body.t-mood .eyebrow { background: var(--c-mood); color: var(--i-mood); }
.chip.t-mood { background: var(--c-mood); color: var(--i-mood); }
.hub-card.t-mood { background: var(--c-mood); }
.t-mood .hub-count { color: var(--i-mood); }
.type-sec { margin-bottom: 28px; }
.type-sec h2 { font-family: var(--font-head); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }

.hub-part { font-family: var(--font-head); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--ink); margin: 28px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.hub-part:first-of-type { border-top: 0; padding-top: 0; }
.hub-group h3 { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

/* Renkli kartlar: ana sayfadaki kartlarla aynı tür renkleri */
.card { box-shadow: none; }
.card.t-film { background: var(--c-film); } .card.t-music { background: var(--c-music); }
.card.t-book { background: var(--c-book); } .card.t-art { background: var(--c-art); }
.card .tag { background: var(--surface) !important; }
.card.t-film .link { color: var(--i-film); } .card.t-music .link { color: var(--i-music); }
.card.t-book .link { color: var(--i-book); } .card.t-art .link { color: var(--i-art); }

/* Listeyi paylaş */
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: none; border-radius: 999px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 8px var(--shadow); margin: -8px 0 28px; }
.share-btn:hover { filter: brightness(0.97); }
.share-btn.solid-share { background: var(--solid); color: var(--on-solid); box-shadow: none; margin: 0; }
.share-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin: 28px 0 0; text-align: center; }
.share-end p { margin: 0; font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.share-dlg { width: min(440px, calc(100vw - 32px)); border: none; border-radius: 28px; padding: 20px; background: var(--surface); color: var(--body); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.share-dlg::backdrop { background: rgba(20, 16, 40, .45); }
.share-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.share-head h2 { font-family: var(--font-head); font-weight: 400; font-size: 24px; color: var(--ink); margin: 0; }
.share-x { width: 44px; height: 44px; border: none; border-radius: 999px; background: var(--field); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.share-prev { margin: 0 0 14px; padding: 12px 14px; border-radius: 16px; background: var(--field); font-size: 14px; white-space: pre-line; overflow-wrap: anywhere; }
.share-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.share-opt { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 88px; padding: 10px 4px; border: none; border-radius: 18px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; text-decoration: none; text-align: center; cursor: pointer; }
.share-opt:hover { background: var(--field); }
.share-ic { width: 48px; height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.share-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
