/* Paylaş Stüdyosu (Sabır Kervanı · 26 Kas 2026): lacivert, krem ve altın; Lora ve Rubik. Yalnız yerel yazı tipleri. */
html.ps-acik, html.ps-acik body { overflow: hidden; overscroll-behavior: none; }
.ps-kok { --ps-lacivert: #0a1428; --ps-lacivert2: #101d3a; --ps-krem: #f3ead6; --ps-altin: #d9b45a; --ps-soluk: #9aa5bd;
  position: fixed; inset: 0; z-index: 2147483000; display: flex; flex-direction: column; background: var(--ps-lacivert); color: var(--ps-krem);
  font-family: Rubik, system-ui, sans-serif; font-size: 15px; -webkit-tap-highlight-color: transparent; }
.ps-kok *, .ps-kok *::before, .ps-kok *::after { box-sizing: border-box; }
.ps-ust { display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) 14px 10px; border-bottom: 1px solid rgba(217,180,90,.18); }
.ps-adi { flex: 1; font-family: Lora, Georgia, serif; font-weight: 600; font-size: 17px; letter-spacing: .02em; }
.ps-kapat { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(243,234,214,.22); background: transparent; color: var(--ps-krem); font-size: 17px; cursor: pointer; }
.ps-paylas { min-height: 44px; padding: 0 22px; border-radius: 22px; border: 0; background: var(--ps-altin); color: #1a1405; font: 500 15px Rubik, sans-serif; cursor: pointer; }
.ps-paylas:disabled { opacity: .45; }
.ps-govde { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ps-sol { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.ps-sahne { flex: 1 1 auto; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 14px; background: radial-gradient(ellipse at 50% 40%, #14234a, #070d1d 75%); }
.ps-tuvalkap { position: relative; box-shadow: 0 10px 40px rgba(0,0,0,.55); line-height: 0; }
.ps-tuval { width: 100%; height: 100%; display: block; touch-action: none; background: #0a1428; }
.ps-toast { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px); max-width: calc(100% - 28px); padding: 10px 16px; border-radius: 14px; background: rgba(243,234,214,.96); color: #1b2236;
  font-size: 14px; line-height: 1.35; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.ps-toast.ps-goster { opacity: 1; transform: translate(-50%, 0); }
.ps-yan { flex: 0 0 auto; display: flex; flex-direction: column; background: var(--ps-lacivert2); border-top: 1px solid rgba(217,180,90,.2); max-height: 44%; min-height: 200px; padding-bottom: env(safe-area-inset-bottom); }
.ps-sekmeler { display: flex; gap: 4px; overflow-x: auto; padding: 6px 10px 0; scrollbar-width: none; flex: 0 0 auto; }
.ps-sekmeler::-webkit-scrollbar { display: none; }
.ps-sekmeler[hidden] { display: none; }
.ps-sekme { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--ps-soluk); font: 500 14px Rubik, sans-serif; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.ps-sekme[aria-selected="true"] { color: var(--ps-krem); border-bottom-color: var(--ps-altin); }
.ps-panel { flex: 1 1 auto; overflow-y: auto; padding: 10px 14px 16px; -webkit-overflow-scrolling: touch; }
.ps-grup { margin-bottom: 12px; }
.ps-etiket { font-size: 12px; color: var(--ps-soluk); margin: 0 0 6px; letter-spacing: .03em; }
.ps-sira { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.ps-kalip { flex: 0 0 auto; width: 100px; padding: 0; border: 2px solid transparent; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; text-align: center; }
.ps-kalip[aria-pressed="true"] { border-color: var(--ps-altin); }
.ps-kalip-resim { display: block; width: 96px; height: 120px; object-fit: cover; border-radius: 9px; background: #0a1428; margin: 0 auto; }
.ps-kalip-ad { display: block; font-size: 12px; padding: 5px 2px 6px; line-height: 1.2; }
.ps-kalip-ad i { display: block; color: var(--ps-altin); font-style: normal; font-size: 10.5px; }
.ps-ornek, .ps-poz { flex: 0 0 auto; position: relative; width: 84px; height: 62px; border: 2px solid transparent; border-radius: 11px; background-size: cover; background-position: center; cursor: pointer; padding: 0; overflow: hidden; }
.ps-poz { width: 78px; height: 78px; background-size: contain; background-repeat: no-repeat; background-position: 50% 100%; background-color: #0b1530; }
.ps-poz:disabled { opacity: .35; }
.ps-ornek[aria-pressed="true"], .ps-poz[aria-pressed="true"] { border-color: var(--ps-altin); }
.ps-ornek-ad { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 3px 2px; font-size: 10.5px; line-height: 1.1; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); text-align: center; }
.ps-chip { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid rgba(243,234,214,.26); background: transparent; color: var(--ps-krem); font: 400 14px Rubik, sans-serif; cursor: pointer; white-space: nowrap; }
.ps-chip[aria-pressed="true"] { background: var(--ps-altin); color: #1a1405; border-color: var(--ps-altin); }
.ps-chip small { display: block; font-size: 10.5px; opacity: .75; line-height: 1; margin-top: 2px; }
.ps-chip-iki { padding: 4px 14px; line-height: 1.1; }
.ps-suwak { display: block; margin: 4px 0 12px; }
.ps-suwak-d { display: block; font-size: 12.5px; color: var(--ps-soluk); margin-bottom: 4px; }
.ps-suwak-d b { color: var(--ps-krem); font-weight: 500; }
.ps-suwak input { width: 100%; min-height: 32px; accent-color: var(--ps-altin); }
.ps-pasif { opacity: .45; }
.ps-alan { display: block; margin-bottom: 10px; }
.ps-alan-ad { display: block; font-size: 12px; color: var(--ps-soluk); margin-bottom: 4px; }
.ps-alan input, .ps-alan textarea { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(243,234,214,.22); background: #0a1428; color: var(--ps-krem); font: 400 16px Lora, Georgia, serif; }
.ps-alan textarea.ps-ar, .ps-alan input.ps-ar { font: 400 20px Amiri, serif; }
.ps-not { font-size: 12.5px; line-height: 1.45; color: var(--ps-soluk); margin: 6px 0 0; }
.ps-uyari { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; background: rgba(233,150,90,.14); border: 1px solid rgba(233,150,90,.4); color: #f4d2b4; font-size: 13px; line-height: 1.4; }
.ps-uyari[hidden] { display: none; }
.ps-menu { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(10,20,40,.97); border: 1px solid rgba(217,180,90,.35); }
.ps-menu p { margin: 0 0 4px; font-size: 14px; color: var(--ps-krem); }
.ps-btn { min-height: 44px; border-radius: 12px; border: 0; background: var(--ps-altin); color: #1a1405; font: 500 15px Rubik, sans-serif; cursor: pointer; }
.ps-btn.ps-ikinci { background: transparent; color: var(--ps-krem); border: 1px solid rgba(243,234,214,.28); }
.ps-kok button:focus-visible, .ps-kok input:focus-visible, .ps-kok textarea:focus-visible { outline: 2px solid var(--ps-altin); outline-offset: 2px; }
@media (min-width: 900px) {
  .ps-govde { flex-direction: row; }
  .ps-yan { width: 400px; max-height: none; border-top: 0; border-left: 1px solid rgba(217,180,90,.2); }
  .ps-sahne { flex: 1; }
}
@media (max-height: 640px) and (max-width: 899px) { .ps-yan { max-height: 52%; } }
@media (prefers-reduced-motion: reduce) { .ps-toast { transition: none; } }

/* v2 (26 Kas): rastgele düğmesi, kaydet, yazı boyutu */
.ps-rast { flex: 0 0 auto; width: 100%; height: 34px; border: 0; border-top: 1px solid rgba(217,180,90,.3); border-bottom: 1px solid rgba(217,180,90,.18); background: linear-gradient(90deg, rgba(217,180,90,.06), rgba(217,180,90,.2), rgba(217,180,90,.06)); color: var(--ps-altin);
  font: 500 13px Rubik, sans-serif; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.ps-rast::before { content: "\2684  "; letter-spacing: 0; }
.ps-rast.ps-mesgul { opacity: .55; }
.ps-kaydet { min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid rgba(243,234,214,.3); background: transparent; color: var(--ps-krem); font: 500 14px Rubik, sans-serif; cursor: pointer; }
.ps-yuzde { align-self: center; min-width: 48px; text-align: center; color: var(--ps-krem); font: 500 14px Rubik, sans-serif; }
.ps-chip-iki { text-align: center; }
.ps-ornek.ps-foto { width: 96px; }
@media (max-width: 380px) { .ps-kaydet { padding: 0 10px; } .ps-paylas { padding: 0 16px; } .ps-adi { font-size: 15px; } }
.ps-kok .ps-rast { margin: 0; padding: 0; min-height: 0; border-radius: 0; height: 34px; max-width: 100%; }
.ps-kok .ps-kaydet, .ps-kok .ps-paylas, .ps-kok .ps-kapat { margin: 0; }
.ps-setoniz { min-height: 0; }
.ps-setkart { flex: 0 0 auto; border-radius: 6px; background: #0a1428; border: 1px solid rgba(217,180,90,.3); }
.ps-kok .ps-btn { margin: 0; }

/* v3: Basit ve Gelişmiş kip, dokunma hedefleri en az 48 px */
.ps-kapat { width: 48px; height: 48px; flex: 0 0 auto; }
.ps-paylas, .ps-kaydet, .ps-mod { min-height: 48px; flex: 0 0 auto; }
.ps-ust { gap: 8px; padding-left: 10px; padding-right: 10px; }
.ps-adi { min-width: 0; font-size: 15px; line-height: 1.15; }
.ps-ust .ps-kaydet, .ps-ust .ps-paylas { padding: 0 12px; }
.ps-mod { padding: 0 12px; border-radius: 24px; border: 1px solid var(--ps-altin); background: transparent; color: var(--ps-altin); font: 500 13px Rubik, sans-serif; cursor: pointer; line-height: 1.1; max-width: 104px; }
.ps-sekme, .ps-chip, .ps-btn { min-height: 48px; }
.ps-yan { max-height: 56%; }
.ps-kok[data-mod="basit"] .ps-yan { max-height: 50%; }
.ps-tarzlar { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 8px; }
.ps-tarz { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; width: 100%; }
.ps-tarz svg { flex: 0 0 auto; }
.ps-ucluk { overflow-x: visible; justify-content: space-between; }
.ps-ucluk .ps-kalip { width: calc(33.3% - 6px); }
.ps-ucluk .ps-kalip-resim { width: 100%; height: auto; }
.ps-kalip i { display: block; font-style: normal; font-size: 11px; color: var(--ps-altin); }
.ps-adim { margin-bottom: 12px; }
.ps-ps-btn + .ps-btn { margin-left: 8px; }
@media (min-width: 1024px) {
  .ps-govde { flex-direction: row; }
  .ps-sol { flex: 1 1 auto; min-width: 0; }
  .ps-yan { flex: 0 0 min(480px, 38vw); max-height: none; min-height: 0; border-top: 0; border-left: 1px solid rgba(217,180,90,.2); }
  .ps-kok[data-mod="basit"] .ps-yan { max-height: none; }
}
.ps-sw { display: inline-block; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(243,234,214,.35); flex: 0 0 auto; }
.ps-tarz { font-size: 13px; padding: 0 6px; }
/* v3: dar ekranda üst çubuk taşmaz: başlık gerekirse kısalır */
.ps-adi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .ps-ust { gap: 6px; padding-left: 8px; padding-right: 8px; } .ps-kapat { width: 44px; height: 48px; border-radius: 24px; } .ps-mod { max-width: 92px; padding: 0 8px; font-size: 12px; } .ps-ust .ps-kaydet, .ps-ust .ps-paylas { padding: 0 10px; } }

/* v3.1: Basit kipte tek satırlık kalıp şeridi; dar ekranda başlık gizlenir; metin alanı yok */
.ps-serit { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 6px; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; padding-bottom: 6px; }
.ps-serit .ps-kalip { flex: 0 0 auto; width: 66px; scroll-snap-align: start; border-radius: 10px; }
.ps-serit .ps-kalip-resim { width: 62px; height: auto; max-height: 82px; border-radius: 7px; }
.ps-serit .ps-kalip-ad { font-size: 10.5px; padding: 3px 1px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 64px; }
.ps-serit .ps-kalip-ad i { font-size: 9.5px; }
@media (max-width: 600px) { .ps-adi { visibility: hidden; flex: 1 1 0; min-width: 0; font-size: 0; } }

.ps-zserit .ps-ornek.ps-foto { width: 64px; height: 80px; flex: 0 0 auto; scroll-snap-align: start; }
