/* Ana sayfa "Topluluk Anketleri": yan yana kartlar, tek seferde 1 anket (sağa / sola kaydırılır), kart sayfa genişliğine hizalı.
   Kart: yuvarlak görsel + başlık, açıklama, altında istatistikler. Karta tıklayınca TAM SAYFA pencere açılır (arkadaki sayfa kaymaz). */
.ap-polls { margin-top: 56px; text-align: left; }
.ap-polls[hidden] { display: none; }
.ap-polls__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ap-polls__h { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--ap-ink); }
.ap-polls__n { flex: none; font-size: 15px; font-weight: 600; color: var(--ap-mute); font-variant-numeric: tabular-nums; }
/* Şerit: kenarlara 14 px taşar ki kart gölgesi kesilmesin; kart yine de içerik sütununun tam genişliğindedir (diğer bölümlerle aynı sol-sağ hiza) */
.ap-pcar { display: flex; gap: 24px; margin: 0 -14px; padding: 6px 14px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ap-pcar::-webkit-scrollbar { display: none; }
.ap-pcard { flex: 0 0 100%; min-width: 0; box-sizing: border-box; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid rgba(0, 0, 0, .07); border-radius: 22px; background: #fff; box-shadow: 0 2px 14px rgba(0, 0, 0, .05); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: box-shadow .3s var(--ap-ease); }
.ap-pcard:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .1); }
.ap-pcard__top, .ap-psheet__bar { display: flex; align-items: center; gap: 14px; }
.ap-pimg { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ap-blue); box-shadow: 0 0 0 2px #fff, 0 4px 12px rgba(0, 0, 0, .12); }
.ap-pimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-pimg svg { width: 34px; height: 34px; }
.ap-pimg--lg { width: 48px; height: 48px; }
.ap-pcard__t { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--ap-ink); }
.ap-pcard__d { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--ap-mute); letter-spacing: -.01em; }
.ap-pstats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: auto; color: var(--ap-mute); font-size: 13.5px; }
.ap-pstat { display: inline-flex; align-items: center; gap: 7px; }
.ap-pstat svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ap-pstat b { display: inline-block; font-weight: 500; font-variant-numeric: tabular-nums; }
.ap-pstat b.is-tick { animation: ap-tick .9s var(--ap-ease); }      /* canlı değişen sayı kısa süre vurgulanır */
@keyframes ap-tick { 0% { color: var(--ap-blue); transform: scale(1.22); } 100% { color: inherit; transform: none; } }
@media (min-width: 900px) { .ap-pcard { padding: 30px 36px; gap: 18px; } .ap-pimg { width: 64px; height: 64px; } .ap-pimg svg { width: 42px; height: 42px; } .ap-pcard__t { font-size: 21px; } .ap-pcard__d { font-size: 16.5px; } }
/* Gezinme: noktalar (her yerde), oklar (yalnızca fareli masaüstü) */
.ap-pnav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2px; }
.ap-pnav[hidden] { display: none; }
.ap-pdots { display: inline-flex; align-items: center; }
.ap-pdots__vp { display: block; overflow: hidden; padding: 12px 0; margin: -12px 0; transition: width .4s var(--ap-ease); }      /* dikey dolgu: nokta dokunma alanı kırpılmasın */
.ap-pdots__tr { display: flex; align-items: center; gap: 8px; transition: transform .4s var(--ap-ease); will-change: transform; }
.ap-pdot { position: relative; flex: none; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(0, 0, 0, .2); cursor: pointer; transition: width .3s var(--ap-ease), background .3s, transform .3s var(--ap-ease), opacity .3s; }
.ap-pdot::after { content: ""; position: absolute; inset: -12px -5px; }
.ap-pdot.is-on { width: 22px; background: var(--ap-blue); }
.ap-pdot.is-edge { transform: scale(.6); }
.ap-pdot.is-out { opacity: 0; pointer-events: none; }
.ap-pnav__b { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .ap-pnav__b { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--ap-line); border-radius: 50%; background: #fff; color: var(--ap-ink); font-size: 22px; line-height: 1; cursor: pointer; transition: background .2s, opacity .2s; }
  .ap-pnav__b:hover:not(:disabled) { background: var(--ap-alt); }
  .ap-pnav__b:disabled { opacity: .35; cursor: default; }
}
/* Pencere: TAM SAYFA, aşağıdan yukarı açılır. Üst çubuk ve alt (giriş) çubuğu sabit; yalnızca ortadaki alan kayar, arkadaki sayfa kayma(z). .ap-rsheet kabuğunu kullanır; çerez bildiriminin (katman 4000) ÜSTÜNDE olmalı. */
.ap-rsheet { z-index: 4100; }
.ap-psheet .ap-rsheet__panel { width: min(640px, 100%); height: 100%; max-height: none; padding: 0; border-radius: 0; overflow: hidden; display: flex; flex-direction: column; overscroll-behavior: contain; }
@supports (height: 100dvh) { .ap-psheet .ap-rsheet__panel { height: 100dvh; } }
.ap-psheet__bar { flex: none; padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 14px 24px; border-bottom: 1px solid rgba(0, 0, 0, .08); background: #fff; }
.ap-psheet .ap-rsheet__x { position: static; flex: none; }
.ap-psheet__t { flex: 1; min-width: 0; margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; color: var(--ap-ink); }
.ap-psheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 22px 24px calc(32px + env(safe-area-inset-bottom, 0px)); }
.ap-psheet__d { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--ap-mute); white-space: pre-line; }
.ap-psheet__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.ap-psheet__tags:empty { display: none; }
.ap-ptag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(238, 99, 4, .1); color: var(--ap-link); font-size: 13px; font-weight: 600; }
.ap-ptag--mute { background: #f1f1f3; color: #5f6368; }
.ap-psheet .ap-pstats { margin: 0 0 8px; }
.ap-psheet__h { margin: 26px 0 14px; font-size: 16px; font-weight: 700; color: var(--ap-ink); }
.ap-psheet__h span { color: var(--ap-mute); font-weight: 600; }
.ap-popts { display: flex; flex-direction: column; gap: 16px; }
.ap-popt { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 9px; padding: 6px 0; cursor: default; }
.ap-popt__ind { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #c9c9ce; }
.ap-popt--multi .ap-popt__ind { border-radius: 6px; }
.ap-popt__l { min-width: 0; font-size: 15.5px; color: var(--ap-ink); }
.ap-popt__p { font-size: 13.5px; font-weight: 600; color: var(--ap-link); font-variant-numeric: tabular-nums; }
.ap-popt__bar { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: rgba(238, 99, 4, .1); overflow: hidden; }
.ap-popt__bar i { display: block; height: 100%; border-radius: 2px; background: var(--ap-blue); transition: width .6s var(--ap-ease); }
.ap-psheet__lock { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #fff7ef; color: var(--ap-link); font-size: 14px; font-weight: 600; }
.ap-psheet__lock svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ap-pc { display: flex; gap: 12px; padding: 16px 0; }
.ap-pc + .ap-pc { border-top: 1px solid rgba(0, 0, 0, .09); }
.ap-pc__av { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ap-blue); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ap-pc__b { flex: 1; min-width: 0; }
.ap-pc__n { font-size: 14px; font-weight: 600; color: var(--ap-ink); }
.ap-pc__day { margin-left: 8px; font-size: 12.5px; color: var(--ap-mute); }
.ap-pc__t { margin: 4px 0 6px; font-size: 15px; line-height: 1.5; color: var(--ap-ink); white-space: pre-line; word-break: break-word; }
.ap-pc__r { display: flex; gap: 18px; color: var(--ap-mute); font-size: 12.5px; }
.ap-pc__r span { display: inline-flex; align-items: center; gap: 5px; }
.ap-pc__r svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ap-psheet__empty { padding: 22px 0; text-align: center; color: var(--ap-mute); font-size: 15px; }
/* Pencere açıkken arkadaki sayfa kilitlenir (JS konumu korur ve kapanınca geri döner) */
html.ap-lock { overflow: hidden; scrollbar-gutter: auto; }      /* ayrılmış çubuk boşluğu bırakılır: pencere ve arka perde ekranın TAMAMINI örter */
body.ap-lock { position: fixed; left: 0; right: 0; width: 100%; box-sizing: border-box; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ap-pcard, .ap-pdot, .ap-pdots__vp, .ap-pdots__tr, .ap-popt__bar i, .ap-pstat b.is-tick { transition: none; animation: none; } }

/* Giriş yapmadan oy ve yorum (TP yalnızca üyelere) */
.ap-popt--btn { appearance: none; -webkit-appearance: none; box-sizing: border-box; width: calc(100% + 16px); margin: 0 -8px; padding: 10px 8px; border: 0; border-radius: 12px; background: none; font: inherit; text-align: left; cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.ap-popt--btn:hover { background: rgba(238, 99, 4, .06); }
.ap-popt--btn:focus-visible { outline: 2px solid var(--ap-blue); outline-offset: 2px; }
.ap-popt--btn.is-on { background: rgba(238, 99, 4, .1); }
.ap-popt--btn.is-on .ap-popt__ind, .ap-popt.is-mine .ap-popt__ind { background: radial-gradient(circle, var(--ap-blue) 0 4.5px, #fff 5.5px); box-shadow: inset 0 0 0 2px var(--ap-blue); }
.ap-popt--multi.is-on .ap-popt__ind, .ap-popt--multi.is-mine .ap-popt__ind { background: var(--ap-blue); box-shadow: none; position: relative; }
.ap-popt--multi.is-on .ap-popt__ind::after, .ap-popt--multi.is-mine .ap-popt__ind::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ap-popt.is-mine .ap-popt__l { font-weight: 600; }
.ap-pvote { margin-top: 18px; }
.ap-pvote[hidden] { display: none; }
.ap-pvote__b { width: 100%; }
.ap-pvote__b:disabled { opacity: .45; cursor: not-allowed; }
.ap-pmsg { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.4; }
.ap-pmsg[hidden] { display: none; }
.ap-pmsg--ok { background: #e9f8ee; color: #17803d; }
.ap-pmsg--err { background: #fdecec; color: #c5221f; }
.ap-pform { display: flex; flex-direction: column; gap: 10px; margin: 0 0 8px; padding: 16px; border: 1px solid rgba(0, 0, 0, .09); border-radius: 16px; background: #fbfbfc; }
.ap-pform[hidden] { display: none; }
.ap-pform__t { width: 100%; box-sizing: border-box; min-height: 84px; padding: 12px 14px; border: 1px solid #d8d8dd; border-radius: 12px; background: #fff; color: var(--ap-ink); font: inherit; font-size: 16px; line-height: 1.45; resize: vertical; touch-action: manipulation; }      /* 16 px altı yazıda iPhone Safari, alana dokunulunca sayfayı yakınlaştırır */
.ap-pform__r { display: flex; align-items: center; gap: 12px; }
.ap-pform__n { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #d8d8dd; border-radius: 12px; background: #fff; color: var(--ap-ink); font: inherit; font-size: 16px; touch-action: manipulation; }
.ap-pform__t:focus, .ap-pform__n:focus { outline: 2px solid var(--ap-blue); outline-offset: 1px; border-color: transparent; }
.ap-pform__c { flex: none; font-size: 12.5px; color: var(--ap-mute); font-variant-numeric: tabular-nums; }
.ap-pform .ap-btn { align-self: flex-end; }
.ap-pform .ap-pmsg { margin-top: 0; align-self: stretch; }
.ap-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; font-size: 16px; }
.ap-pc__chip { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #f1f1f3; color: #5f6368; font-size: 11.5px; font-weight: 600; }
.ap-pc__chip--wait { background: #fff4d6; color: #8a5a00; }
.ap-pc.is-pending { opacity: .88; }
.ap-psheet__lock a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
