.community-page{--c-accent:#e0364a;--c-card:#0e0e10;--c-line:rgba(255,255,255,.09);--c-muted:#9b9ba3;padding-top:132px;padding-bottom:80px;color:#f4f4f5}
.community-page a{color:inherit;text-decoration:none}
.community-eyebrow{display:block;color:var(--c-muted);font:700 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.18em;text-transform:uppercase}
.community-page h1{margin:8px 0 10px;font-size:clamp(2.4rem,6vw,4rem);font-weight:800;letter-spacing:-.02em;line-height:1}
.community-page h2,.community-page h3{margin:0;font-size:1.15rem;font-weight:800}
.community-subnav{display:inline-flex;gap:4px;margin-bottom:14px;padding:4px;border:1px solid var(--c-line);border-radius:12px;background:rgba(255,255,255,.03)}
.community-subnav a{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:9px;color:var(--c-muted);font-weight:700;font-size:.9rem}
.community-subnav a[aria-current=page]{background:#1f1f23;color:#fff;box-shadow:inset 0 -2px var(--c-accent)}
.community-hero{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}
.community-hero p{max-width:520px;margin:0;color:var(--c-muted);line-height:1.55}
.community-stats{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));margin:0;overflow:hidden;border:1px solid var(--c-line);border-radius:14px;background:var(--c-card)}
.community-stats>div{padding:14px 18px;border-left:1px solid var(--c-line)}
.community-stats>div:first-child{border-left:0}
.community-stats dt{order:2;color:var(--c-muted);font:700 10px/1.2 ui-monospace,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.community-stats dd{margin:0 0 4px;font-size:1.7rem;font-weight:800;line-height:1.1}
.community-stats>div{display:flex;flex-direction:column}
.community-stats dd.is-accent{color:var(--c-accent)}
.community-card{margin-bottom:20px;border:1px solid var(--c-line);border-radius:18px;background:var(--c-card);padding:22px}
.community-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.community-empty{margin:0;padding:22px 4px;color:var(--c-muted);text-align:center}

/* Rütbe yolu */
.community-rank{padding:26px 28px 24px}
.community-rank-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.community-rank-now{display:flex;align-items:center;gap:16px;min-width:0}
.community-rank-now img{flex:none;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 6px 14px rgba(224,54,74,.35))}
.community-rank-now h2{font-size:1.9rem;line-height:1.1}
.community-rank-now p{margin:4px 0 0;color:var(--c-muted);font-size:.92rem}
.community-help{flex:none;display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--c-line);border-radius:50%;background:transparent;color:#f4f4f5;font-weight:800;cursor:pointer}
.community-help:hover,.community-help[aria-expanded=true]{border-color:var(--c-accent);color:var(--c-accent)}
.community-help-panel{margin-top:16px;padding:14px 16px;border:1px solid var(--c-line);border-radius:12px;background:rgba(255,255,255,.03)}
.community-help-panel ul{display:grid;gap:6px;margin:10px 0;padding:0;list-style:none}
.community-help-panel li{display:flex;justify-content:space-between;gap:12px}
.community-help-panel b{color:var(--c-accent)}
.community-help-panel small{color:var(--c-muted)}
.community-road{position:relative;height:130px;margin:34px 40px 4px;padding:0;list-style:none}
.community-road::before{content:"";z-index:0;position:absolute;left:0;right:0;top:46px;height:3px;border-radius:2px;background:rgba(255,255,255,.14)}
.community-road::after{content:"";z-index:0;position:absolute;left:0;top:46px;width:var(--you,0%);height:3px;border-radius:2px;background:var(--c-accent)}
.community-road-step{z-index:1;position:absolute;top:14px;width:96px;margin-left:-48px;text-align:center}
.community-road-step img{display:block;width:64px;height:64px;margin:0 auto 8px;object-fit:contain;transition:filter .2s,transform .2s}
.community-road-step strong{display:block;font-size:.95rem}
.community-road-step small{color:var(--c-muted);font:600 10px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.1em}
.community-road-step.is-locked img{filter:grayscale(1) brightness(.55)}
.community-road-step.is-locked strong{color:#b7b7bf}
.community-road-step.is-current img{transform:scale(1.12);filter:drop-shadow(0 4px 14px rgba(224,54,74,.55))}
.community-road-you{position:absolute;top:-24px;width:0;height:0;z-index:2}
.community-road-you span{position:absolute;left:0;transform:translateX(-50%);white-space:nowrap;padding:4px 10px;border-radius:7px;background:var(--c-accent);color:#fff;font:800 10px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.12em}
.community-road-you span::after{content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;margin-left:-4px;background:var(--c-accent);transform:rotate(45deg)}

/* Yorum ve lider alanı */
.community-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:20px;align-items:start}
.community-grid.is-single{grid-template-columns:minmax(0,1fr)}
.community-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--c-line);border-radius:12px;background:rgba(255,255,255,.03)}
.community-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:var(--c-muted);font-family:inherit;font-size:.85rem;font-weight:700;cursor:pointer}
.community-tabs button[aria-selected=true]{background:#1f1f23;color:#fff;box-shadow:inset 0 -2px var(--c-accent)}
.community-tabs button:focus-visible,.community-help:focus-visible,.community-spoiler:focus-visible,.community-page a:focus-visible{outline:2px solid var(--c-accent);outline-offset:2px}
.community-comments,.community-leaders ol,.community-episodes ol{margin:0;padding:0;list-style:none}
.community-comments>li{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--c-line)}
.community-comments>li:first-child{border-top:0;padding-top:4px}
.community-avatar{flex:none;display:block;width:40px;height:40px;overflow:hidden;border-radius:50%;background:#1b1b1f}
.community-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.community-comment-body{min-width:0;flex:1}
.community-comment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:.85rem}
.community-author{font-weight:800}
a.community-author:hover{color:var(--c-accent)}
.community-comment-meta time{color:var(--c-muted)}
.community-likes{color:var(--c-accent);font-weight:700}
.community-comment-body p{margin:6px 0 8px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}
.community-spoiler{display:block;margin:6px 0 8px;padding:7px 12px;border:1px dashed var(--c-line);border-radius:8px;background:transparent;color:var(--c-muted);font:inherit;font-size:.85rem;cursor:pointer}
.community-target{display:inline-flex;align-items:center;gap:6px;max-width:100%;color:var(--c-muted);font-size:.82rem;font-weight:700}
.community-target:hover{color:var(--c-accent)}

.community-leaders li+li{margin-top:4px}
.community-leader{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px}
a.community-leader[href]:hover{background:rgba(255,255,255,.05)}
.community-leaders .is-you .community-leader{background:rgba(224,54,74,.12);box-shadow:inset 3px 0 var(--c-accent)}
.community-place{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#1f1f23;font:800 12px/1 ui-monospace,Consolas,monospace}
.place-1{background:#c9a227;color:#1a1400}.place-2{background:#a9b0b8;color:#14171a}.place-3{background:#b0703a;color:#1b0e04}
.community-leaders .community-avatar{width:44px;height:44px}
.community-leader-name{min-width:0;flex:1}
.community-leader-name strong,.community-leader-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-leader-name small{color:var(--c-muted);font-size:.78rem}
.community-leader-rank{flex:none;width:32px;height:32px;object-fit:contain}
.community-xp{flex:none;color:var(--c-muted);font-size:.8rem;text-align:right}
.community-xp b{color:#fff;font-size:1rem}

/* Haftanın bölümleri */
.community-section-head{margin:8px 0 14px}
.community-weekly-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.community-weekly-grid .community-card{margin-bottom:0}
.community-episodes h3 i{margin-right:6px;color:var(--c-accent)}
.community-episodes li+li{margin-top:4px}
.community-episodes a{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px}
.community-episodes a:hover{background:rgba(255,255,255,.05)}
.community-episode-rank{flex:none;width:20px;color:var(--c-muted);font:800 13px/1 ui-monospace,Consolas,monospace;text-align:center}
.community-episode-thumb{flex:none;width:96px;height:54px;overflow:hidden;border-radius:8px;background:#1b1b1f}
.community-episode-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.community-episode-text{min-width:0;flex:1}
.community-episode-text strong,.community-episode-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-episode-text small{color:var(--c-muted);font-size:.78rem}
.community-episode-count{flex:none;color:var(--c-muted);font-size:.75rem;text-align:right}
.community-episode-count b{display:block;color:#fff;font-size:1rem}

@media(max-width:1040px){.community-grid{grid-template-columns:minmax(0,1fr)}.community-weekly-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:720px){
  .community-page{padding-top:96px}
  .community-hero{align-items:stretch}
  .community-stats{width:100%}
  .community-stats>div{padding:12px}
  .community-stats dd{font-size:1.35rem}
  .community-card{padding:16px;border-radius:14px}
  .community-rank{padding:18px 14px}
  .community-rank-now img{width:56px;height:56px}
  .community-rank-now h2{font-size:1.5rem}
  .community-road{height:128px;margin:30px 30px 4px}
  .community-road-step{width:60px;margin-left:-30px}
  .community-road-step img{width:44px;height:44px}
  .community-road-step strong{font-size:.72rem}
  .community-road-step small{font-size:8px;letter-spacing:0}
  .community-road::before,.community-road::after{top:36px}
  .community-tabs{width:100%}
  .community-tabs button{flex:1;justify-content:center;padding:0 8px}
  .community-episode-thumb{width:72px;height:41px}
}
@media(prefers-reduced-motion:reduce){.community-road-step img{transition:none}}

.community-more{display:inline-block;margin-top:10px;font-weight:700;font-size:.9rem;color:var(--c-accent)}
.community-topics .community-comment-body>p{margin:2px 0 4px;color:var(--c-muted);font-size:.85rem}
.community-rank h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:1.7rem;letter-spacing:-.01em}
.community-inline{display:inline}
.community-daily-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:6px 0 10px}
.community-reset{display:inline-flex;align-items:center;gap:8px;color:var(--c-muted);font:700 11px/1.3 ui-monospace,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}
.community-reset i{width:6px;height:6px;border-radius:50%;background:var(--c-accent)}
.community-reset b{color:#fff;font-weight:800}
.community-daily{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:0;padding:0;overflow:hidden;list-style:none;border:1px solid var(--c-line);border-radius:14px}
.community-daily>li{display:flex;align-items:center;gap:12px;min-width:0;padding:16px;border-left:1px solid var(--c-line)}
.community-daily>li:first-child{border-left:0}
.community-daily-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--c-line);border-radius:10px;background:rgba(255,255,255,.04);color:#f4f4f5;font-size:.9rem}
.community-daily-text{min-width:0;flex:1}
.community-daily-text strong,.community-daily-text small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-daily-text strong{font-size:.92rem}
.community-daily-text small{margin-top:2px;color:var(--c-accent);font:800 11px/1.3 ui-monospace,Consolas,monospace}
.community-daily-check{flex:none;display:grid;place-items:center;width:22px;height:22px;border:1.5px solid rgba(255,255,255,.22);border-radius:50%;font-size:.65rem}
.community-daily>li.is-done{background:rgba(255,255,255,.04);color:#6f6f78}
.community-daily>li.is-done strong{text-decoration:line-through}
.community-daily>li.is-done .community-daily-icon{color:#6f6f78}
.community-daily>li.is-done small{color:#6f6f78;text-decoration:line-through}
.community-daily>li.is-done .community-daily-check{border-color:transparent;background:#8a8a92;color:#0e0e10}
@media(max-width:1040px){.community-daily{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}.community-daily>li{border-left:0;border-top:1px solid var(--c-line)}.community-daily>li:nth-child(-n+2){border-top:0}.community-daily>li:nth-child(even){border-left:1px solid var(--c-line)}}
@media(max-width:560px){.community-daily{grid-template-columns:minmax(0,1fr)}.community-daily>li{border-left:0!important}.community-daily>li:nth-child(2){border-top:1px solid var(--c-line)}.community-rank h2{font-size:1.35rem}}

/* Akış, lider ve haftalık kartları: başlık şeridi + çizgiyle bölünmüş satırlar */
.community-feed,.community-leaders,.community-episodes{padding:0;overflow:hidden}
.community-feed>.community-card-head,.community-leaders>.community-card-head,.community-episodes>.community-card-head{margin:0;padding:14px 22px;border-bottom:1px solid var(--c-line)}
.community-feed>.community-card-head h2,.community-leaders>.community-card-head h2,.community-episodes>.community-card-head h3{color:var(--c-muted);font:700 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.18em;text-transform:uppercase}
.community-episodes h3 i{color:var(--c-accent)}
.community-tabs button[aria-selected=true]{box-shadow:inset 0 -2px var(--c-accent)}
.community-comments>li,.community-comments>li:first-child{padding:16px 22px;border-top:1px solid var(--c-line)}
.community-comments>li:first-child{border-top:0}
.community-comments>li:hover{background:rgba(255,255,255,.025)}
.community-empty{padding:26px 22px}
.community-more{display:block;margin:0;padding:14px 22px;border-top:1px solid var(--c-line);font:700 11px/1.3 ui-monospace,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}
.community-more:hover{background:rgba(255,255,255,.04)}
.community-leaders li+li{margin-top:0;border-top:1px solid var(--c-line)}
.community-leader{padding:12px 22px;border-radius:0}
.community-leaders .is-you .community-leader{box-shadow:inset 3px 0 var(--c-accent)}
.community-episodes li+li{margin-top:0;border-top:1px solid var(--c-line)}
.community-episodes a{padding:12px 22px;border-radius:0}
.community-place{border:1px solid var(--c-line);background:rgba(255,255,255,.04)}
.community-place.place-1,.community-place.place-2,.community-place.place-3{border-color:transparent}
.community-section-head h2{font-size:1.7rem;letter-spacing:-.01em}
@media(max-width:720px){
  .community-feed>.community-card-head,.community-leaders>.community-card-head,.community-episodes>.community-card-head{padding:12px 16px}
  .community-comments>li,.community-comments>li:first-child{padding:14px 16px}
  .community-leader,.community-episodes a{padding:12px 16px}
}
.community-place:not(.place-1):not(.place-2):not(.place-3){color:#f4f4f5}

/* Sade tema: etkileşimler nötr; kırmızı yalnızca XP ödülü, "SEN" etiketi ve yenilenme noktasında */
.community-page a:focus-visible,.community-help:focus-visible,.community-spoiler:focus-visible,.community-tabs button:focus-visible{outline:2px solid rgba(255,255,255,.7);outline-offset:2px}
.community-subnav a[aria-current=page],.community-tabs button[aria-selected=true]{box-shadow:none;background:#26262b;color:#fff;outline:1px solid rgba(255,255,255,.14);outline-offset:-1px}
.community-help:hover,.community-help[aria-expanded=true]{border-color:rgba(255,255,255,.5);color:#fff}
.community-help-panel b{color:#fff}
a.community-author:hover,.community-target:hover,.community-more:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.community-likes{color:var(--c-muted)}
.community-more{color:#e4e4e7}
.community-episodes h3 i{color:var(--c-muted)}
.community-leaders .is-you .community-leader{background:rgba(255,255,255,.06);box-shadow:inset 2px 0 #f4f4f5}
.community-road-step.is-current img{filter:drop-shadow(0 4px 14px rgba(255,255,255,.28))}
.community-place.place-1{background:#c9a227;color:#1a1400}
.community-place.place-2{background:#a9b0b8;color:#14171a}
.community-place.place-3{background:#b0703a;color:#1b0e04}

/* Üye olmayanlar için çağrı */
.community-guest{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:8px;padding:18px 20px;border:1px solid var(--c-line);border-radius:14px;background:rgba(255,255,255,.03)}
.community-guest strong{display:block;font-size:1rem}
.community-guest span{display:block;margin-top:4px;color:var(--c-muted);font-size:.9rem}
.community-guest-actions{display:flex;flex-wrap:wrap;gap:10px}
.community-guest-btn{display:inline-flex;align-items:center;min-height:42px;padding:0 20px;border:1px solid rgba(255,255,255,.2);border-radius:12px;font-weight:700}
.community-guest-btn.is-primary{border-color:#f4f4f5;background:#f4f4f5;color:#0b0b0c}
.community-guest-btn:hover{border-color:#fff}
