/* Telefon (phone.js): son model akıllı telefon görünümü — marka/model yazmaz.
   Ekran 390×846 tasarlanır, --ps ile ölçeklenir. Arayüz koyu temada. */
#phoneWin { position: fixed; z-index: 55; user-select: none; }
#phoneWin.hidden { display: none; }
#phoneWin .ph-tools { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 10px; cursor: move; opacity: .6; transition: opacity .2s; color: #ddd; font: 12px var(--sans, system-ui); }
#phoneWin:hover .ph-tools { opacity: 1; }
#phoneWin .ph-tools button { width: 24px; height: 22px; border-radius: 11px; border: 1px solid #555; background: #000b; color: #eee; cursor: pointer; font-size: 13px; line-height: 1; }
#phoneWin .ph-tools button:hover { background: #333; }
#phoneWin .ph-owner { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; text-shadow: 0 1px 3px #000; }
#phoneWin .ph-scale { width: 414px; height: 870px; transform: scale(var(--ps, .72)); transform-origin: 0 0; }
#phoneWin .ph-rs { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; cursor: nwse-resize; border-right: 3px solid #888a; border-bottom: 3px solid #888a; border-radius: 0 0 14px 0; opacity: 0; transition: opacity .2s; }
#phoneWin:hover .ph-rs { opacity: 1; }

.phone { position: relative; width: 414px; height: 870px; border-radius: 68px; background: #0a0a0c; padding: 12px; box-sizing: border-box; cursor: move;
  box-shadow: 0 0 0 2px #8d8d94, 0 0 0 4px #3b3b40, 0 0 0 5px #1a1a1d, 0 40px 90px #000d, inset 0 0 0 2px #1d1d20; }
.ph-k { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #5b5b61, #8d8d94); }
.ph-k.k1 { left: -6px; top: 150px; height: 32px; }
.ph-k.k2 { left: -6px; top: 210px; height: 64px; }
.ph-k.k3 { left: -6px; top: 290px; height: 64px; }
.ph-k.k4 { right: -6px; left: auto; top: 238px; height: 100px; cursor: pointer; background: linear-gradient(270deg, #5b5b61, #8d8d94); }
.ph-screen { position: absolute; inset: 12px; border-radius: 56px; overflow: hidden; background: #000; color: #fff; cursor: default;
  font: 16px -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; user-select: text; }
.ph-screen button { font-family: inherit; }
.ph-island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; border-radius: 20px; background: #000; transform: translateX(-50%); box-shadow: 0 0 0 1px #111; }
.ph-app { position: absolute; inset: 0; padding-top: 54px; display: flex; flex-direction: column; background: #000; }
.ph-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.ph-scroll::-webkit-scrollbar { display: none; }
.ph-home { position: absolute; left: 50%; bottom: 8px; width: 138px; height: 5px; border-radius: 3px; background: #ffffffe0; transform: translateX(-50%); z-index: 7; cursor: pointer; }
.ph-home::before { content: ""; position: absolute; inset: -10px -10px -6px; }
.ph-banner { position: absolute; left: 10px; right: 10px; top: 52px; z-index: 8; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 24px; background: #2c2c30f0; box-shadow: 0 10px 30px #000a; transform: translateY(calc(-100% - 70px)); visibility: hidden; transition: transform .35s cubic-bezier(.2, .9, .3, 1.1), visibility 0s .35s; cursor: pointer; }
/* boş/gizli kart görünmez: yoksa boşken yalnız 24 px olduğu için -160% onu saat şeridinin üstünde bırakıyordu */
.ph-banner.in { transform: translateY(0); visibility: visible; transition: transform .35s cubic-bezier(.2, .9, .3, 1.1); }
.ph-viewer { position: absolute; inset: 0; z-index: 9; background: #000f; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: zoom-out; }
.ph-viewer img { max-width: 100%; max-height: 85%; }
.ph-viewer .pv-x { color: #8e8e93; font-size: 13px; margin-top: 12px; }
.pn-t { flex: 1; min-width: 0; }
.pn-t b { font-size: 15px; }
.pn-t span { display: block; font-size: 12px; color: #a1a1a6; }
.pn-t div { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.ph-empty { color: #8e8e93; text-align: center; padding: 60px 30px; line-height: 1.6; }
.ph-empty.small { padding: 24px 20px; font-size: 14px; }
.ph-empty a, .ph-screen a { color: #0a84ff; cursor: pointer; }

/* ortak öğeler */
.phav { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%; background: linear-gradient(#8e8e93, #636366) center/cover; color: #fff; font-weight: 600; }
.phav[style*="background-image"] { background-size: cover; background-position: center; }
.phav-grp { position: relative; flex: none; display: inline-block; }
.phav-grp .phav { position: absolute; left: 0; top: 0; }
.phav-grp .phav + .phav { left: auto; top: auto; right: 0; bottom: 0; box-shadow: 0 0 0 2px #000; }
.phav-sp { width: 26px; flex: none; }
.vtick { width: 18px; height: 18px; fill: #1d9bf0; margin-left: 3px; vertical-align: -3px; flex: none; }
.ph-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 23%; flex: none; box-shadow: 0 2px 8px #0005; }
.ph-ic svg { width: 64%; height: 64%; }
.ic-msgs { background: linear-gradient(#67e86f, #1fbd3a); }
.ic-net { background: #000; box-shadow: 0 0 0 1px #3a3a3c, 0 2px 8px #0005; }
.ic-contacts { background: linear-gradient(#b8b8bd, #7a7a80); }
.ic-settings { background: linear-gradient(#9a9aa0, #5f5f65); }
.ic-bell { background: linear-gradient(#ff6961, #e0302a); }
.ph-head { height: 44px; display: flex; align-items: center; padding: 0 8px; flex: none; }
.ph-back { background: none; border: none; color: #0a84ff; cursor: pointer; padding: 6px; display: flex; }
.ph-back svg { width: 24px; height: 24px; }
.ph-title { flex: 1; text-align: center; font-weight: 600; font-size: 17px; }
.ph-right { min-width: 38px; display: flex; justify-content: flex-end; }
.ph-ib { background: none; border: none; color: #0a84ff; cursor: pointer; padding: 4px; display: flex; }
.ph-ib svg { width: 26px; height: 26px; }
.ph-h1 { font-size: 34px; font-weight: 700; margin: 2px 16px 10px; letter-spacing: .3px; }
.chip { cursor: pointer; }

/* kilit ekranı: telefon seçimi */
.lock { height: 100%; display: flex; flex-direction: column; align-items: center; text-shadow: 0 1px 8px #0007; }
.lk-date { margin-top: 26px; font-size: 19px; font-weight: 600; opacity: .9; }
.lk-time { font-size: 96px; font-weight: 600; line-height: 1; letter-spacing: -2px; margin-bottom: 10px; }
.lk-list { width: 100%; padding: 6px 14px 40px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; text-shadow: none; }
.lk-h { font-size: 13px; color: #fffc; padding: 0 6px; font-weight: 600; }
.lk-i { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 20px; background: #1c1c1ecc; cursor: pointer; }
.lk-i:hover { background: #2c2c2ee0; }
.lk-i b { display: block; font-size: 16px; }
.lk-i span { font-size: 13px; color: #aeaeb2; }
.lk-empty { padding: 20px; text-align: center; background: #1c1c1ecc; border-radius: 20px; color: #ddd; }

/* ana ekran */
.home { height: 100%; display: flex; flex-direction: column; }
.hm-widget { margin: 22px 26px 26px; padding: 16px 20px; border-radius: 24px; background: #ffffff22; box-shadow: inset 0 0 0 1px #ffffff18; }
.hw-day { font-size: 13px; font-weight: 700; color: #ff6961; letter-spacing: .5px; }
.hw-time { font-size: 58px; font-weight: 300; line-height: 1.05; }
.hw-date { font-size: 15px; opacity: .8; }
.hm-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(5, 80px); gap: 12px 0; padding: 0 14px;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.hm-cell { display: flex; justify-content: center; min-width: 0; }
.hm-cell.drag-src { opacity: .25; }
.hm-grid.edit .hm-cell:not(.drag-src) .ph-ic { animation: hmjig .26s ease-in-out infinite alternate; }
.hm-grid.edit .hm-cell:nth-child(2n) .ph-ic { animation-delay: -.13s; animation-direction: alternate-reverse; }
@keyframes hmjig { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
.hm-slot { border-radius: 18px; margin: 0 8px 18px; background: #ffffff26; box-shadow: inset 0 0 0 2px #ffffff55; pointer-events: none; }
.hm-ghost { position: absolute; left: 0; top: 0; z-index: 30; width: 76px; pointer-events: none; filter: drop-shadow(0 8px 14px #000a); }
.hm-ghost .hm-app { pointer-events: none; }
.hm-done { position: absolute; top: 54px; right: 18px; z-index: 5; padding: 5px 14px; border: 0; border-radius: 14px; background: #ffffff38; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); }
.hm-app { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; font-size: 12px; text-shadow: 0 1px 4px #0008; }
.hm-app span:last-child:not(.ph-ic) { max-width: 76px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hm-app:active .ph-ic { filter: brightness(.7); }
.hm-badge { position: absolute; top: -7px; left: calc(50% + 18px); min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: 11px; background: #ff3b30; color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; text-shadow: none; }
.hm-dock { margin: auto 12px 30px; padding: 14px 10px; border-radius: 34px; background: #ffffff2e; display: flex; justify-content: space-around; }
.hm-dock .hm-app { gap: 0; }

/* Mesajlar */
.th-i { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 4px; cursor: pointer; }
.th-i:hover { background: #111; }
.th-i .dot { width: 10px; height: 10px; border-radius: 50%; background: #0a84ff; flex: none; }
.th-i .dot.off { background: none; }
.th-b { flex: 1; min-width: 0; padding: 10px 0 11px; border-bottom: .5px solid #38383a; }
.th-top { display: flex; justify-content: space-between; gap: 8px; }
.th-top b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.th-top span { color: #8e8e93; font-size: 14px; flex: none; }
.th-last { color: #8e8e93; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-i.unread .th-last { color: #d1d1d6; }
.ch-head { position: relative; flex: none; display: flex; justify-content: center; padding: 2px 0 8px; background: #161618f0; border-bottom: .5px solid #38383a; }
.ch-head .ph-back { position: absolute; left: 6px; top: 14px; }
.ch-who { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; max-width: 70%; }
.ch-name { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.ch-sub { font-size: 11px; color: #8e8e93; }
.ch-list { padding: 8px 12px 6px; display: flex; flex-direction: column; }
.ch-day { text-align: center; color: #8e8e93; font-size: 11.5px; margin: 14px 0 6px; font-weight: 500; }
.ch-from { font-size: 11.5px; color: #8e8e93; margin: 6px 0 2px 42px; }
.ch-row { display: flex; align-items: flex-end; gap: 6px; margin: 1px 0; }
.ch-row.me { justify-content: flex-end; }
.ch-row.tail { margin-bottom: 7px; }
.bub { max-width: 74%; padding: 8px 13px; border-radius: 19px; font-size: 16px; line-height: 1.3; word-wrap: break-word; overflow-wrap: anywhere; }
.them .bub { background: #26252a; }
.me .bub { background: #0a84ff; }
.me.tail .bub { border-bottom-right-radius: 6px; }
.them.tail .bub { border-bottom-left-radius: 6px; }
.bub img { display: block; max-width: 100%; max-height: 260px; border-radius: 14px; margin: -3px -8px 4px; max-width: calc(100% + 16px); cursor: zoom-in; }
.bub.imgonly { padding: 0; background: none !important; }
.bub.imgonly img { margin: 0; max-width: 100%; border-radius: 18px; }
.ch-rcpt { align-self: flex-end; color: #8e8e93; font-size: 11.5px; margin: -3px 4px 6px; font-weight: 500; }
.bub.typing { display: flex; gap: 4px; padding: 13px 14px; }
.bub.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8e8e93; animation: phdot 1.2s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .2s; }
.bub.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes phdot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.ch-pend { padding: 0 12px; flex: none; }
.pend { position: relative; display: inline-block; margin: 4px 6px 0 0; }
.pend img { height: 74px; border-radius: 12px; display: block; }
.pend button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: none; background: #3a3a3c; color: #fff; cursor: pointer; font-size: 11px; }
.ch-bar { flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px 30px; }
.ch-bar textarea { flex: 1; resize: none; background: #000; color: #fff; border: 1px solid #3a3a3c; border-radius: 19px; padding: 7px 14px; font: 16px/1.3 inherit; font-family: inherit; max-height: 110px; outline: none; }
.ch-plus { width: 36px; height: 36px; border-radius: 50%; border: none; background: #2c2c2e; color: #aeaeb2; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.ch-plus svg { width: 20px; height: 20px; }
.ch-send { background: none; border: none; padding: 0; cursor: pointer; flex: none; display: flex; }
.ch-send svg { width: 34px; height: 34px; }
.nm-to { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px; border-bottom: .5px solid #38383a; flex: none; color: #8e8e93; }
.nm-to .chip { background: #0a84ff2e; color: #4da3ff; border-radius: 7px; padding: 3px 8px; font-size: 15px; }
.nm-to input { flex: 1; min-width: 80px; background: none; border: none; color: #fff; font: inherit; outline: none; }
.ct-i { display: flex; align-items: center; gap: 12px; padding: 8px 16px; cursor: pointer; }
.ct-i:hover { background: #111; }
.ct-i b { display: block; font-size: 16px; font-weight: 500; }
.ct-i span { font-size: 13px; color: #8e8e93; }
.ct-l { padding: 4px 16px; font-size: 13px; font-weight: 600; color: #8e8e93; background: #111; }
.ct-me { display: flex; align-items: center; gap: 12px; margin: 0 16px 12px; padding: 12px; border-radius: 14px; background: #1c1c1e; cursor: pointer; }
.ct-me b { display: block; font-size: 18px; }
.ct-me span { font-size: 13px; color: #8e8e93; }
.ct-card { display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.ct-card h2 { margin: 10px 0 14px; font-size: 26px; font-weight: 600; display: flex; align-items: center; }
.ct-acts { display: flex; gap: 10px; margin-bottom: 14px; }
.ct-acts button { width: 96px; padding: 9px 0 7px; border-radius: 12px; border: none; background: #1c1c1e; color: #0a84ff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; }
.ct-acts svg { width: 24px; height: 24px; }
.ct-acts svg path { fill: currentColor; stroke: currentColor; }
.ct-acts button:nth-child(n) svg path[fill="none"] { fill: none; }
.ct-box { align-self: stretch; margin: 0 16px 10px; padding: 10px 14px; border-radius: 12px; background: #1c1c1e; }
.ct-box span { display: block; font-size: 13px; color: #d1d1d6; }
.ct-box b { color: #0a84ff; font-weight: 400; font-size: 17px; }

/* sosyal ağ (koyu, X tarzı) */
.app-net, .app-post, .app-profile, .app-compose, .app-editprof { color: #e7e9ea; }
.nt-logo { display: flex; align-items: center; gap: 6px; cursor: default; }
.nt-logo svg { width: 24px; height: 24px; }
.nt-logo b { font-size: 17px; letter-spacing: .3px; }
.nt-feed { padding-bottom: 20px; }
.nt-search { flex: none; display: flex; align-items: center; gap: 8px; margin: 8px 14px 4px; padding: 7px 14px; border-radius: 20px; background: #202327; color: #71767b; }
.nt-search svg { width: 18px; height: 18px; }
.nt-search input { flex: 1; background: none; border: none; outline: none; color: #e7e9ea; font: inherit; font-size: 15px; }
.nt-tabs { flex: none; display: flex; justify-content: space-around; padding: 8px 0 30px; border-top: 1px solid #2f3336; background: #000; }
.nt-tabs button { position: relative; background: none; border: none; color: #71767b; cursor: pointer; padding: 4px 10px; display: flex; }
.nt-tabs button.on { color: #e7e9ea; }
.nt-tabs svg { width: 27px; height: 27px; }
.nt-dot { position: absolute; top: -2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #1d9bf0; color: #fff; font: 600 11px/18px inherit; font-style: normal; text-align: center; }
.nt-fab { position: absolute; right: 18px; bottom: 96px; width: 58px; height: 58px; border-radius: 50%; border: none; background: #1d9bf0; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px #1d9bf066; z-index: 3; }
.nt-fab svg { width: 26px; height: 26px; }
.pp { padding: 12px 14px 4px; border-bottom: 1px solid #2f3336; cursor: pointer; }
.pp:hover { background: #080808; }
.pp.hid { opacity: .55; }
.pp-rp { display: flex; align-items: center; gap: 6px; color: #71767b; font-size: 13px; font-weight: 700; margin: 0 0 4px 28px; }
.pp-rp svg { width: 15px; height: 15px; }
.pp-row { display: flex; gap: 10px; }
.pp-row > span { cursor: pointer; display: flex; align-self: flex-start; }
.pp-b { flex: 1; min-width: 0; }
.pp-h { display: flex; align-items: center; gap: 2px; font-size: 15px; min-width: 0; }
.pp-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
.pp-h b:hover { text-decoration: underline; }
.pp-h > span { color: #71767b; margin-left: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
.pp-more { margin-left: auto; background: none; border: none; color: #71767b; cursor: pointer; padding: 0 2px; display: flex; flex: none; }
.pp-more svg { width: 18px; height: 18px; }
.pp-to { color: #71767b; font-size: 14px; margin: 1px 0 2px; }
.cp-body > .pp-to { padding: 0 14px 0 64px; }
.pp-to a, .pp-to b { color: #1d9bf0; font-weight: 400; }
.pp-hid { color: #f4212e; font-size: 12px; }
.pp-t { font-size: 15.5px; line-height: 1.35; overflow-wrap: anywhere; margin-top: 1px; }
.pp.big .pp-t { font-size: 18px; margin-top: 8px; }
.pp .tag { color: #1d9bf0; }
.pp-imgs { display: grid; gap: 2px; margin-top: 10px; border-radius: 16px; overflow: hidden; border: 1px solid #2f3336; }
.pp-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.pp-imgs.n1 img { height: auto; max-height: 340px; }
.pp-imgs.n2, .pp-imgs.n4 { grid-template-columns: 1fr 1fr; height: 200px; }
.pp-imgs.n4 { grid-template-rows: 1fr 1fr; height: 230px; }
.pp-imgs.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 230px; }
.pp-imgs.n3 img:first-child { grid-row: span 2; }
.pp-time { color: #71767b; font-size: 14px; margin: 12px 0 2px; padding-bottom: 10px; border-bottom: 1px solid #2f3336; }
.pp-acts { display: flex; justify-content: space-between; max-width: 290px; margin: 4px 0 2px -6px; }
.pp-acts button { display: flex; align-items: center; gap: 3px; background: none; border: none; color: #71767b; cursor: pointer; font-size: 13px; padding: 6px; border-radius: 16px; min-width: 50px; }
.pp-acts svg { width: 19px; height: 19px; }
.pp-acts button:hover { color: #1d9bf0; }
.pp-acts .on-lk, .pp-acts button[data-act=like]:hover { color: #f91880; }
.pp-acts .on-rp, .pp-acts button[data-act=repost]:hover { color: #00ba7c; }
.pp-quick { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #2f3336; color: #71767b; cursor: text; }
.tr-h { font-size: 20px; font-weight: 800; padding: 12px 14px 8px; }
.tr-i { padding: 10px 14px; cursor: pointer; }
.tr-i:hover { background: #080808; }
.tr-i span { display: block; color: #71767b; font-size: 13px; }
.tr-i b { display: block; font-size: 15.5px; margin: 2px 0; }
.nf-i { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #2f3336; cursor: pointer; font-size: 15px; }
.nf-ic { color: #f91880; display: flex; }
.nf-ic svg { width: 26px; height: 26px; }
.nf-t { color: #71767b; margin-top: 4px; font-size: 14px; }
.pr-btn { border: 1px solid #536471; background: none; color: #e7e9ea; border-radius: 18px; padding: 7px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.pr-btn:hover { background: #181818; }
.pr-info { padding: 10px 14px 4px; }
.pr-info h2 { margin: 0; font-size: 21px; font-weight: 800; display: flex; align-items: center; }
.pr-h { color: #71767b; font-size: 15px; }
.pr-bio { font-size: 15px; line-height: 1.35; margin: 10px 0; }
.pr-bio .tag { color: #1d9bf0; }
.pr-st { color: #71767b; font-size: 14px; margin: 8px 0; }
.pr-st b { color: #e7e9ea; }
.pr-unl { color: #f4212e; }
.cp-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; }
.cp-x { background: none; border: none; color: #e7e9ea; font-size: 16px; cursor: pointer; }
.cp-go { background: #1d9bf0; color: #fff; border: none; border-radius: 18px; padding: 7px 18px; font-weight: 700; font-size: 15px; cursor: pointer; }
.cp-parent .pp { border: none; padding-bottom: 0; }
.cp-parent .pp-acts { display: none; }
.cp-row { display: flex; gap: 10px; padding: 10px 14px; }
.cp-row textarea { flex: 1; min-height: 150px; resize: none; background: none; border: none; outline: none; color: #e7e9ea; font: 19px/1.35 inherit; font-family: inherit; }
.cp-imgs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 0 64px; }
.cp-imgs .pend img { height: 96px; }
.cp-tools { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 32px; border-top: 1px solid #2f3336; }
.cp-tools button { background: none; border: none; color: #1d9bf0; cursor: pointer; display: flex; }
.cp-tools svg { width: 24px; height: 24px; }
.cp-n { color: #71767b; font-size: 14px; }
.ep { padding: 8px 16px 30px; }
.ep-av > span:last-child { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #0007; color: #fff; }
.ep-av > span:last-child svg { width: 28px; height: 28px; }
.ep label { display: flex; flex-direction: column; gap: 5px; color: #71767b; font-size: 13px; margin-bottom: 12px; }
.ep input, .ep textarea, .set input, .set textarea, .set select { background: #16181c; border: 1px solid #2f3336; border-radius: 8px; padding: 8px 10px; color: #fff; font: 15px inherit; font-family: inherit; outline: none; }
.ep input:focus, .ep textarea:focus, .set input:focus, .set textarea:focus { border-color: #1d9bf0; }
.ep textarea { min-height: 70px; resize: vertical; }
.ep .ep-ck { flex-direction: row; align-items: center; gap: 8px; color: #e7e9ea; font-size: 15px; }
.ep-hint { color: #71767b; font-size: 12px; margin: -8px 0 12px; }
.ep-gm { border-top: 1px solid #2f3336; padding-top: 12px; margin-top: 6px; }
.ep-h { color: #f4212e; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; }

/* Ayarlar */
.set { padding-bottom: 30px; }
.set-me { display: flex; align-items: center; gap: 14px; margin: 4px 16px 6px; padding: 10px 14px; border-radius: 14px; background: #1c1c1e; cursor: pointer; }
.set-me b { display: block; font-size: 19px; }
.set-me span { font-size: 13px; color: #8e8e93; }
.set-h { color: #8e8e93; font-size: 13px; text-transform: uppercase; padding: 18px 32px 7px; }
.set-g { margin: 0 16px; border-radius: 12px; background: #1c1c1e; overflow: hidden; }
.set-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 16px; border-bottom: .5px solid #38383a; cursor: pointer; color: #fff; font-size: 16px; }
.set-r:last-child { border-bottom: none; }
.set-r > :last-child:not(span):not(input[type=checkbox]) { color: #0a84ff; }
.set-r input:not([type=checkbox]) { flex: 1; min-width: 0; }
.set-r input[type=checkbox] { width: 20px; height: 20px; accent-color: #30d158; }
.set-walls { display: flex; gap: 8px; margin: 0 16px; flex-wrap: wrap; }
.set-walls button { width: 48px; height: 86px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; }
.set-walls button.on { border-color: #0a84ff; }
.set-walls button.own { position: relative; }
.set-walls button.own i { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #3a3a3c; color: #fff; font: 700 11px/20px sans-serif; font-style: normal; text-align: center; }
.set-walls button.add { background: #2c2c2e; color: #aeaeb2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; }
.set-walls button.add svg { width: 22px; height: 22px; }
.set-note { color: #8e8e93; font-size: 12px; padding: 7px 32px 0; line-height: 1.4; }
.set-b { background: #2c2c2e; color: #0a84ff; border: none; border-radius: 8px; padding: 6px 11px; cursor: pointer; font-size: 14px; flex: none; }
.set-b:hover { background: #3a3a3c; }
.set-b.red { color: #ff453a; }
.set-b.wide { width: 100%; padding: 9px; font-weight: 600; }
.set-push { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.set-push textarea { min-height: 60px; resize: vertical; }
.set-acc { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: .5px solid #38383a; }
.set-acc b { display: block; font-size: 15px; font-weight: 500; }
.set-acc span { font-size: 12px; color: #8e8e93; }
.set-acc .grow { flex: 1; min-width: 0; overflow: hidden; }

.pp-menu { position: absolute; left: 10px; right: 10px; bottom: 36px; z-index: 9; display: flex; flex-direction: column; gap: 8px; animation: phup .2s ease-out; }
.pp-menu button { padding: 16px; border: none; border-radius: 14px; background: #2c2c2e; color: #0a84ff; font-size: 18px; cursor: pointer; }
.pp-menu button.red { color: #ff453a; }
.pp-menu button[data-m=x] { font-weight: 600; }
@keyframes phup { from { transform: translateY(40px); opacity: 0; } }

/* telefon kapalıyken gelen bildirim kartları (sağ alt) */
#phPops { position: fixed; right: 16px; bottom: 110px; z-index: 9000; display: flex; flex-direction: column; gap: 8px; width: 340px; max-width: calc(100vw - 32px); }
.ph-pop { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 34px 12px 14px; border-radius: 20px; background: #2a2a2ef5; color: #fff; box-shadow: 0 10px 30px #000b; cursor: pointer;
  font: 14px -apple-system, "Segoe UI", system-ui, sans-serif; animation: phin .4s cubic-bezier(.2, .9, .3, 1.2), phshake .12s 3 .4s; transition: opacity .5s, transform .5s; }
.ph-pop.strong { box-shadow: 0 0 0 1px #ff453a, 0 10px 30px #000b; }
.ph-pop.out { opacity: 0; transform: translateX(40px); }
.pn-x { position: absolute; top: 8px; right: 10px; background: none; border: none; color: #8e8e93; cursor: pointer; }
@keyframes phin { from { transform: translateX(110%); opacity: 0; } }

/* titreşim */
@keyframes phshake {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-3px, 1px) rotate(-1.5deg); }
  75% { transform: translate(3px, -1px) rotate(1.5deg); }
}
#phoneWin.ph-shake .ph-scale > .phone { animation: phshake .1s 10; }
#tPhone.ph-shake .ti { display: inline-block; animation: phshake .1s 10; }

/* ---- durum çubuğu: saat, çekim, Wi-Fi, pil ---- */
.ph-status { position: absolute; left: 0; right: 0; top: 0; height: 56px; z-index: 6; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 52px; pointer-events: none; }
.ph-clock { font: 600 17px/1 -apple-system, "SF Pro Text", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif; letter-spacing: -.2px; width: 58px; text-align: center; font-variant-numeric: tabular-nums; }
.ph-icons { display: flex; align-items: center; gap: 6px; padding-right: 2px; }
.ph-icons svg { fill: #fff; display: block; }
.ph-icons .sig { width: 18px; height: 12px; }
.ph-icons .wifi { width: 17px; height: 12px; }
.ph-icons .bat { width: 27px; height: 13px; }

/* ---- Mesajlar: üstte sabitlenmiş kişiler ---- */
.pin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 6px; padding: 4px 14px 16px; border-bottom: .5px solid #38383a; margin-bottom: 4px; }
.pin { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.pin .phav { box-shadow: 0 2px 10px #0008; }
.pin:hover .phav { filter: brightness(1.12); }
.pin span { font-size: 12.5px; color: #d1d1d6; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pin-dot { position: absolute; top: 0; left: calc(50% - 38px); width: 13px; height: 13px; border-radius: 50%; background: #0a84ff; box-shadow: 0 0 0 2px #000; }
.ct-i b { display: flex; align-items: center; }

/* ---- Ayarlar ---- */
.set-me + .set-g { margin-top: 14px; }
.set-r.nolink { cursor: default; }
.set-num { font-weight: 400; color: #8e8e93 !important; font-size: 16px; }
.set-sub { color: #8e8e93; font-size: 15px; }

/* ---- Pulse ---- */
.nt-head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 8px; }
.nt-me { cursor: pointer; display: flex; }
.nt-x { background: none; border: none; color: #e7e9ea; cursor: pointer; padding: 4px; display: flex; width: 32px; justify-content: center; }
.nt-x svg { width: 20px; height: 20px; }
.nt-sub { flex: none; display: flex; border-bottom: 1px solid #2f3336; }
.nt-sub button { flex: 1; background: none; border: none; color: #71767b; font-size: 15px; font-weight: 500; padding: 12px 0 0; cursor: pointer; }
.nt-sub button span { display: inline-block; padding-bottom: 10px; border-bottom: 4px solid transparent; }
.nt-sub button.on { color: #e7e9ea; font-weight: 700; }
.nt-sub button.on span { border-bottom-color: #1d9bf0; }
.nt-title { flex: none; font-size: 20px; font-weight: 800; padding: 6px 16px 12px; border-bottom: 1px solid #2f3336; }
.nt-bar { flex: none; display: flex; align-items: center; gap: 18px; padding: 0 8px 8px; font-size: 19px; }
.nt-bar .ph-back { color: #e7e9ea; }
.app-net .nt-search { margin-bottom: 8px; }
.pp-av { position: relative; }
.pp-hh { color: #71767b; font-size: 15px; margin-top: -1px; }
.pp-stats { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid #2f3336; font-size: 14px; color: #71767b; }
.pp-stats b { color: #e7e9ea; }
.pp.big .pp-acts { padding: 4px 0; border-bottom: 1px solid #2f3336; margin-bottom: 0; }
.pp.big { padding-bottom: 0; }
.pp-acts { max-width: none; }
.pp-acts .pp-views { cursor: default; }
.pp-acts .pp-views:hover { color: #71767b; }
.pp-acts button[data-act=bookmark] { min-width: 0; }
.pp-acts .on-bm, .pp-acts button[data-act=bookmark]:hover { color: #1d9bf0; }
.pp-quick b { margin-left: auto; background: #1d9bf0; color: #fff; border-radius: 16px; padding: 5px 14px; font-size: 14px; opacity: .55; }
.wf-i { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; cursor: pointer; }
.wf-i:hover { background: #080808; }
.wf-b { flex: 1; min-width: 0; }
.wf-b b { display: flex; align-items: center; font-size: 15px; }
.wf-b > span { color: #71767b; font-size: 14px; }
.wf-b > div { font-size: 14px; margin-top: 3px; color: #e7e9ea; }
.fl-btn { flex: none; background: #eff3f4; color: #0f1419; border: 1px solid #eff3f4; border-radius: 18px; padding: 6px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.fl-btn.on { background: none; color: #e7e9ea; border-color: #536471; }
.fl-btn.on:hover { border-color: #67070f; color: #f4212e; background: #f4212e1a; }
.fl-btn.on:hover span { font-size: 0; }
.fl-btn.on:hover span::after { content: "Unfollow"; font-size: 14px; }
.nf-avs { display: flex; gap: 4px; margin-bottom: 6px; }
.nf-ic.fol { color: #1d9bf0; }
.pr-wrap { position: relative; }
.pr-ban { height: 120px; background-size: cover !important; background-position: center !important; position: relative; }
.pr-bk { position: absolute; left: 10px; top: 8px; width: 34px; height: 34px; border-radius: 50%; border: none; background: #000a; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pr-bk svg { width: 20px; height: 20px; }
.pr-top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 14px; margin-top: -42px; }
.pr-av .phav { box-shadow: 0 0 0 4px #000; }
.pr-btns { display: flex; gap: 8px; align-items: center; padding-bottom: 2px; }
.pr-ic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #536471; background: none; color: #e7e9ea; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pr-ic svg { width: 19px; height: 19px; }
.pr-fy { font-style: normal; font-size: 12px; background: #202327; color: #71767b; border-radius: 4px; padding: 1px 5px; margin-left: 6px; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: #71767b; font-size: 14.5px; margin: 8px 0; }
.pr-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pr-meta svg { width: 17px; height: 17px; }
.pr-meta .lnk { color: #1d9bf0; }
.pr-st { display: flex; gap: 18px; flex-wrap: wrap; }
.pr-tabs { display: flex; border-bottom: 1px solid #2f3336; margin-top: 6px; }
.pr-tabs button { flex: 1; background: none; border: none; color: #71767b; font-size: 15px; font-weight: 500; padding: 12px 0 0; cursor: pointer; }
.pr-tabs button span { display: inline-block; padding-bottom: 10px; border-bottom: 4px solid transparent; }
.pr-tabs button.on { color: #e7e9ea; font-weight: 700; }
.pr-tabs button.on span { border-bottom-color: #1d9bf0; }
.pr-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pr-media img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; cursor: pointer; }
.ep { padding: 0 0 30px; }
.ep > label, .ep > .ep-hint, .ep > .ep-gm { margin-left: 16px; margin-right: 16px; }
.ep-ban { position: relative; height: 120px; background-size: cover !important; background-position: center !important; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ep-ban > span { width: 44px; height: 44px; border-radius: 50%; background: #000a; display: flex; align-items: center; justify-content: center; color: #fff; }
.ep-ban > span svg { width: 22px; height: 22px; }
.ep-rm { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 50%; border: none; background: #000a; color: #fff; cursor: pointer; }
.ep-av { position: relative; width: 84px; margin: -42px 0 12px 16px; cursor: pointer; border-radius: 50%; box-shadow: 0 0 0 4px #000; }
.ep-hint.c { margin-top: -4px; margin-bottom: 14px; color: #1d9bf0; }
.ep-at { display: flex; align-items: center; background: #16181c; border: 1px solid #2f3336; border-radius: 8px; padding-left: 10px; color: #71767b; }
.ep-at input { border: none !important; flex: 1; padding-left: 2px !important; }
.nt-fab svg { width: 28px; height: 28px; }

/* Characters listesinde telefon simgesi (adın hemen yanında) ve araç çubuğundaki Phone */
.phbtn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-left: 8px; vertical-align: middle; border-radius: 50%;
  border: 1px solid #c0222e99; background: radial-gradient(circle at 35% 30%, #c0222e55, #3a0d17cc); color: #ff8a8a; cursor: pointer; padding: 0;
  box-shadow: 0 0 10px #c0222e55; transition: transform .15s, box-shadow .15s, color .15s; }
.phbtn svg { width: 17px; height: 17px; }
.phbtn:hover { transform: scale(1.15); color: #fff; box-shadow: 0 0 16px #ff3b3b99; }
#tPhone .ti svg { width: calc(20px * var(--ts)); height: calc(20px * var(--ts)); display: block; margin: 0 auto; }

/* Okunmamış mesajı olan telefon: karakter satırı yanıp söner, simgesi okunana kadar titrer */
@keyframes phring { 0%, 42%, 100% { transform: rotate(0); } 4% { transform: rotate(-16deg); } 8% { transform: rotate(16deg); } 12% { transform: rotate(-14deg); } 16% { transform: rotate(14deg); } 20% { transform: rotate(-10deg); } 24% { transform: rotate(10deg); } 28% { transform: rotate(-5deg); } 32% { transform: rotate(5deg); } }
@keyframes phrow { 0%, 100% { background-color: transparent; box-shadow: inset 3px 0 0 #c0222e; } 50% { background-color: #c0222e38; box-shadow: inset 3px 0 0 #ff4d4d; } }
#charList li.ph-ring { animation: phrow 1.4s ease-in-out infinite; }
#charList li.ph-ring .phbtn { animation: phring 1.6s ease-in-out infinite; color: #fff; border-color: #ff4d4d; box-shadow: 0 0 14px #ff3b3bcc; }
#tPhone.ringing .ti { display: inline-block; animation: phring 1.6s ease-in-out infinite; color: #ff6b6b; }
.ph-banner .phav, .ph-pop .phav { box-shadow: none; }

/* sağ paneldeki Phone sekmesi: oyun saati + log */
#phTab { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
#phTab .pt-clock { text-align: center; padding: 12px 8px; border-radius: 10px; background: linear-gradient(160deg, #2a1c33, #120d18); border: 1px solid var(--line); }
#phTab .pt-day { font: 600 13px var(--sans); color: #cdbfd6; }
#phTab .pt-time { font: 300 44px/1.1 var(--sans); color: #fff; letter-spacing: 1px; }
#phTab .pt-time small { font-size: 18px; color: #9a8fa5; }
#phTab .pt-gm { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px dashed var(--line); border-radius: 8px; }
#phTab .pt-gm .row { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
#phTab .pt-gm input[type=datetime-local] { flex: 1; min-width: 0; }
#phTab .grow { flex: 1; }
#phTab .pt-h { margin: 6px 0 0; font: 600 15px var(--serif); display: flex; gap: 8px; align-items: baseline; }
#phTab .pt-filter { display: flex; gap: 4px; flex-wrap: wrap; }
#phTab .pt-filter select { flex: 1; min-width: 100px; }
#phTab .pt-filter input { flex: 2; min-width: 120px; }
#phTab .pt-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
#phTab .pt-log li { display: flex; gap: 8px; padding: 6px; border-radius: 6px; background: var(--panel2); cursor: pointer; align-items: flex-start; }
#phTab .pt-log li:hover { background: #2e2b36; }
#phTab .pt-log .phav { flex: none; }
#phTab .pl-b { flex: 1; min-width: 0; }
#phTab .pl-h { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; }
#phTab .pl-h b { color: var(--text); }
#phTab .pl-k { color: #4aa3ff; }
#phTab .pl-t { margin-left: auto; font-size: 11px; white-space: nowrap; }
#phTab .pl-x { font-size: 13px; overflow-wrap: anywhere; margin-top: 2px; }
#phTab .pl-imgs { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
#phTab .pl-imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }

/* diğer telefonlarda okunmamış mesaj şeridi */
.ph-other { display: flex; flex-direction: column; gap: 4px; margin: 0 12px 8px; }
.home .ph-other { margin: 8px 14px 0; }
.ph-oth { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 12px; background: #0a84ff26; color: #fff; font-size: 13px; cursor: pointer; }
.ph-oth span { flex: 1; min-width: 0; }
.ph-oth i { font-style: normal; background: #ff3b30; color: #fff; border-radius: 10px; padding: 0 7px; font-weight: 700; font-size: 12px; }

/* ---------- fotoğraf düzenleyici (phone-photo.js): kırp + yazı ---------- */
.pe { position: absolute; inset: 0; z-index: 10; background: #000; display: flex; flex-direction: column; padding: 46px 0 22px; color: #e7e9ea; }
.pe-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; }
.pe-top b { font-size: 16px; }
.pe-x { background: none; border: none; color: #e7e9ea; font-size: 15px; cursor: pointer; }
.pe-ok { background: #eff3f4; color: #0f1419; border: none; border-radius: 18px; padding: 6px 16px; font-weight: 700; font-size: 14px; cursor: pointer; }
.pe-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #16181c; }
.pe-frame { position: relative; overflow: hidden; touch-action: none; cursor: grab; box-shadow: 0 0 0 1px #fff6; }
.pe-frame:active { cursor: grabbing; }
.pe-frame canvas { width: 100%; height: 100%; display: block; }
.pe-frame.round::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px #000a; pointer-events: none; }
.pe-tools, .pe-txt { flex: none; padding: 8px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.pe-row { display: flex; align-items: center; gap: 8px; }
.pe-ratios { justify-content: center; }
.pe-chip { background: #202327; color: #e7e9ea; border: 1px solid #333639; border-radius: 16px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.pe-chip.on { background: #1d9bf0; border-color: #1d9bf0; color: #fff; }
.pe-chip.red { color: #f4212e; }
.pe-ic { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #202327; border: 1px solid #333639; color: #e7e9ea; font-size: 17px; font-weight: 700; cursor: pointer; }
.pe-z, .pe-sz { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.pe-z input, .pe-sz input { flex: 1; accent-color: #1d9bf0; min-width: 0; }
.pe-hint { color: #71767b; font-size: 11px; text-align: center; line-height: 1.3; }
.pe-txt textarea { resize: none; background: #202327; color: #e7e9ea; border: 1px solid #333639; border-radius: 12px; padding: 8px 10px; font: 15px/1.3 inherit; font-family: inherit; outline: none; }
.pe-txt textarea:focus { border-color: #1d9bf0; }
.pe-cols { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; flex: 1; }
.pe-cols button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #333639; cursor: pointer; padding: 0; }
.pe-cols button.on { border-color: #1d9bf0; box-shadow: 0 0 0 2px #000, 0 0 0 4px #1d9bf0; }
.pe-txt.hidden { display: none; }
.pend img { cursor: pointer; }
.pend .pend-ed { position: absolute; left: 4px; bottom: 4px; top: auto; right: auto; width: auto; height: auto; padding: 2px 7px; border-radius: 10px; background: #000b; font-size: 11px; font-weight: 700; }
.ep-crop { position: absolute; right: 6px; bottom: 6px; background: #000a; color: #fff; border: none; border-radius: 14px; padding: 3px 9px; font-size: 12px; cursor: pointer; z-index: 2; }
.ep-av .ep-crop { right: -4px; bottom: -4px; }
.cp-when { color: #71767b; font-size: 12px; flex: 1; text-align: right; padding-right: 12px; }

/* ---------- rehber: numarayla kişi ekleme ---------- */
.ct-search { display: flex; align-items: center; gap: 6px; margin: 0 16px 12px; padding: 7px 10px; border-radius: 10px; background: #1c1c1e; color: #8e8e93; }
.ct-search svg { width: 16px; height: 16px; flex: none; }
.ct-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; font: 16px inherit; font-family: inherit; }
.ct-l.gm { margin-top: 18px; color: #ff9f0a; }
.ct-edit { font-size: 16px; }
.ct-real { margin: -10px 0 12px; color: #8e8e93; font-size: 13px; }
.ct-add { display: flex; flex-direction: column; align-items: center; padding: 14px 0; }
.ct-add-av .phav { display: flex; align-items: center; justify-content: center; background-color: #3a3a3c; }
.ct-add-av .phav svg { width: 56%; height: 56%; }
.ct-add-hint { color: #8e8e93; font-size: 12px; margin: 8px 0 18px; }
.ct-g { align-self: stretch; display: flex; align-items: center; gap: 10px; margin: 0 16px 10px; padding: 0 14px; border-radius: 12px; background: #1c1c1e; }
.ct-g input { flex: 1; min-width: 0; padding: 12px 0; background: none; border: none; outline: none; color: #fff; font: 17px inherit; font-family: inherit; }
.ct-g input[readonly] { color: #8e8e93; }
.ct-gl { color: #0a84ff; font-size: 14px; flex: none; }
.ct-del { margin-top: 18px; align-self: stretch; margin-left: 16px; margin-right: 16px; padding: 12px; border: none; border-radius: 12px; background: #1c1c1e; color: #ff453a; font-size: 17px; cursor: pointer; }
.ch-add svg { width: 22px; height: 22px; }
.ct-add-hint.err { color: #ff453a; font-size: 14px; }
.phav.anon { display: inline-flex; align-items: center; justify-content: center; background: #8e8e93 !important; } .phav.anon svg { width: 60%; height: 60%; }
/* Pulse: akışın üstündeki yazma kutusu (X gibi) */
.nt-comp { display: flex; gap: 10px; padding: 12px 14px 8px; border-bottom: 1px solid #2f3336; }
.nt-comp-b { flex: 1; min-width: 0; }
.nt-comp textarea { width: 100%; box-sizing: border-box; min-height: 52px; resize: none; background: none; border: none; outline: none; color: #e7e9ea; font: 18px/1.35 inherit; font-family: inherit; padding: 8px 0; }
.nt-comp textarea::placeholder { color: #71767b; }
.nt-comp .cp-imgs { padding: 4px 0 8px; }
.nt-comp .cp-imgs .pend img { height: 72px; }
.nt-comp-t { display: flex; align-items: center; gap: 10px; border-top: 1px solid #2f3336; padding-top: 8px; }
.nt-comp-t button[data-act="postimg"] { background: none; border: none; color: #1d9bf0; cursor: pointer; display: flex; padding: 0; }
.nt-comp-t svg { width: 22px; height: 22px; }
.nt-comp-t .cp-n { margin-left: auto; color: #71767b; font-size: 13px; }
.nt-comp-t .cp-go { padding: 6px 16px; }
.cp-go:disabled { opacity: .5; cursor: default; }

/* --- Oyunlar: XOX --- */
.ic-games { background: linear-gradient(#ff6a7a, #b3122b); }
.gm-card { display: flex; align-items: center; gap: 12px; margin: 0 16px 14px; padding: 12px 14px; border-radius: 16px; background: #1c1c1e; cursor: pointer; }
.gm-card:hover { background: #26262a; }
.gm-card b { display: block; font-size: 17px; }
.gm-card span { font-size: 13px; color: #8e8e93; }
.gm-card > div { flex: 1; }
.gm-xo { display: flex; gap: 2px; font-size: 24px; font-weight: 800; font-style: normal; }
.gm-xo i { font-style: normal; }
.gm-plus { width: 30px; height: 30px; border-radius: 50%; background: #0a84ff; display: flex; align-items: center; justify-content: center; }
.gm-plus svg { width: 18px; height: 18px; }
.gm-hot { color: #ff453a; font-weight: 600; }
.gm-hint { padding: 6px 16px 12px; font-size: 15px; color: #aeaeb2; }
.xo { display: flex; flex-direction: column; align-items: center; padding: 6px 18px 20px; }
.xo-ps { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 6px 0 14px; width: 100%; }
.xo-p { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 16px; min-width: 104px; border: 2px solid transparent; }
.xo-p.on { border-color: #ff453a; background: #ff453a14; }
.xo-p b { font-size: 14px; font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xo-p i { font-style: normal; font-weight: 800; font-size: 18px; }
.xo-vs { color: #8e8e93; font-size: 14px; }
.xo-x { color: #ff453a; font-style: normal; }
.xo-o { color: #64d2ff; font-style: normal; }
.xo-st { font-size: 16px; margin-bottom: 14px; min-height: 22px; text-align: center; }
.xo-b { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 330px; aspect-ratio: 1; }
.xo-b.dim { opacity: .4; }
.xo-c { border: none; border-radius: 18px; background: #1c1c1e; display: flex; align-items: center; justify-content: center; font-size: 64px; font-weight: 800; padding: 0; cursor: default; }
.xo-c.open { cursor: pointer; }
.xo-c.open:hover { background: #2c2c2e; }
.xo-c.xo-win { background: #3a1418; box-shadow: inset 0 0 0 2px #ff453a; }
/* Oyun canlanmaları (kullanıcı isteği 2026-11-29): yalnız yeni konan kare/taş canlanır (phone.js gDiff);
   --ago = ekran yeniden çizildiğinde geçen süre, animasyon baştan başlamasın diye gecikmeden düşülür. */
.xo-c, .wd-c, .wd-t, .wd-bw, .wd-pop { --d: 0ms; --ago: 0ms; }
.xo-b { position: relative; }
.xo-c { position: relative; transition: background .15s, transform .12s; }
.xo-c.open:active { transform: scale(.94); }
.xo-m { width: 72%; height: 72%; fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; overflow: visible; }
.xo-m.xo-x { color: #ff453a; filter: drop-shadow(0 0 6px #ff453a88); }
.xo-m.xo-o { color: #64d2ff; filter: drop-shadow(0 0 6px #64d2ff88); }
.xo-m path, .xo-m circle { stroke-dasharray: 100; }
.xo-c.xo-new .xo-m path, .xo-c.xo-new .xo-m circle { animation: xoDraw .2s ease-out both; animation-delay: calc(0ms - var(--ago)); }
.xo-c.xo-new .xo-m .p2 { animation-delay: calc(140ms - var(--ago)); }
.xo-c.xo-new .xo-m circle { animation-duration: .32s; }
@keyframes xoDraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.xo-gh { display: contents; }
.xo-gh .xo-m { opacity: 0; transform: scale(.8); transition: opacity .12s, transform .12s; filter: none; }
.xo-c.open:hover .xo-gh .xo-m { opacity: .22; transform: none; }
.xo-b.my-turn { animation: xoTurn 2.2s ease-in-out infinite; border-radius: 22px; }
@keyframes xoTurn { 50% { box-shadow: 0 0 0 4px #30d15833, 0 0 26px #30d15833; } }
.xo-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.xo-line line { stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 100; vector-effect: non-scaling-stroke; stroke-width: 9px; }
.xo-line.x line { stroke: #ffffffee; filter: drop-shadow(0 0 8px #ff453a); }
.xo-line.o line { stroke: #ffffffee; filter: drop-shadow(0 0 8px #64d2ff); }
.xo-line.fresh line { animation: xoDraw .45s ease-out both; animation-delay: calc(450ms - var(--ago)); }
.ph-confetti { position: absolute; inset: 0; z-index: 50; pointer-events: none; overflow: hidden; }
.ph-confetti i { position: absolute; top: -12px; height: 10px; background: var(--c); border-radius: 2px; animation: phConf 2s cubic-bezier(.25, .6, .5, 1) both; }
@keyframes phConf { from { transform: translate(0, 0) rotate(0); opacity: 1; } 80% { opacity: 1; } to { transform: translate(var(--dx), 760px) rotate(var(--r)); opacity: 0; } }
.wd-p.on { animation: wdTurn 2.2s ease-in-out infinite; }
@keyframes wdTurn { 50% { box-shadow: 0 0 14px #30d15866; } }

/* Word Grid sürükle-bırak */
.wd-t, .wd-c.tent { touch-action: none; }
.wd-t { cursor: grab; }
.wd-ghost { position: absolute; left: 0; top: 0; z-index: 40; width: 44px; height: 46px; border-radius: 7px; background: #ffe58a; color: #2b1d08;
  display: grid; place-items: center; font: 800 22px/1 system-ui; pointer-events: none; box-shadow: 0 3px 0 #b99b62, 0 14px 24px #000a; }
.wd-ghost sub { position: absolute; right: 4px; bottom: 3px; font-size: 10px; font-weight: 700; }
.wd-dragging, .wd-dragging * { cursor: grabbing !important; }
.wd-t.drag-src { opacity: .25; transform: scale(.9); }
.wd-c.tent.drag-src { opacity: .35; }
.wd-c.hov { outline: 2px solid #ffd60a; outline-offset: -2px; background: #4b5d2f !important; z-index: 3; }
.wd-rack.hov { background: #ffffff0d; border-radius: 10px; }
.wd-rack .wd-t { transition: margin .12s, transform .1s, background .1s; }
.wd-rack .wd-t.gap { margin-left: 26px; }
.wd-rack.gap-end::after { content: ""; width: 22px; }
.wd-pv { color: #fff; font-weight: 700; letter-spacing: .03em; }
.wd-pvs { color: #30d158 !important; }
.wd-pvb { color: #ff9f0a !important; }
.wd-bad { color: #ff9f8a; }
.wd-acts .gm-b small { font-size: 11px; opacity: .85; }
.xo-c.xo-new { animation: xoRing .5s ease-out both; animation-delay: calc(0ms - var(--ago)); }
@keyframes xoIn { from { transform: scale(.2); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes xoInX { from { transform: scale(.2) rotate(-70deg); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes xoRing { from { box-shadow: inset 0 0 0 3px #ffffff55; } to { box-shadow: inset 0 0 0 0 #ffffff00; } }
.xo-c.xo-win.fresh { animation: xoWin .9s ease-out both; animation-delay: calc(var(--d) - var(--ago)); }
.xo-c.xo-win.fresh .xo-m { animation: xoWinI .9s ease-out both; animation-delay: calc(var(--d) - var(--ago)); }
@keyframes xoWin { 0% { background: #1c1c1e; box-shadow: inset 0 0 0 0 #ff453a; } 35% { background: #6a1f26; box-shadow: inset 0 0 0 4px #ff453a, 0 0 24px #ff453a88; } 100% { background: #3a1418; box-shadow: inset 0 0 0 2px #ff453a; } }
@keyframes xoWinI { 35% { transform: scale(1.22); } 100% { transform: none; } }

.wd-bw { position: relative; }
.wd-bw.shake { animation: wdShake .4s ease-in-out both; animation-delay: calc(0ms - var(--ago)); }
@keyframes wdShake { 15%, 55% { transform: translateX(-6px); } 35%, 75% { transform: translateX(6px); } 90% { transform: translateX(-2px); } }
.wd-c.tent.drop { animation: wdDrop .26s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(0ms - var(--ago)); z-index: 2; }
@keyframes wdDrop { from { transform: scale(1.7) translateY(-30%); opacity: .3; box-shadow: 0 8px 12px #0008; } to { transform: none; opacity: 1; } }
.wd-c.f.new { animation: wdNew .55s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--d) - var(--ago)); z-index: 2; }
@keyframes wdNew { 0% { transform: scale(.3) rotateX(80deg); opacity: 0; } 55% { transform: scale(1.25); opacity: 1; background: #fff3b0; box-shadow: 0 0 10px #ffe58a; } 100% { transform: none; opacity: 1; } }
.wd-pop { position: absolute; z-index: 5; transform: translate(-50%, -50%); pointer-events: none; padding: 3px 9px; border-radius: 12px;
  background: #30d158; color: #fff; font: 900 17px/1.1 system-ui; text-align: center; box-shadow: 0 4px 14px #0009; white-space: nowrap;
  animation: wdPop 1.5s ease-out both; animation-delay: calc(var(--d) - var(--ago)); }
.wd-pop small { display: block; font-size: 9px; letter-spacing: .08em; }
.wd-pop.bingo { background: linear-gradient(135deg, #ff9f0a, #ff375f); font-size: 20px; }
@keyframes wdPop { 0% { opacity: 0; transform: translate(-50%, -20%) scale(.5); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); } 70% { opacity: 1; transform: translate(-50%, -110%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -170%) scale(.95); } }
.wd-t.lift { animation: wdLift .2s ease-out both; animation-delay: calc(0ms - var(--ago)); }
@keyframes wdLift { from { transform: none; } 60% { transform: translateY(-9px); } to { transform: translateY(-6px); } }
.wd-rack.shuf .wd-t { animation: wdShuf .45s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: calc(var(--d) - var(--ago)); }
@keyframes wdShuf { 0% { transform: translateY(-14px) rotate(-12deg) scale(.85); opacity: .4; } 60% { transform: translateY(2px) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.wd-t { transition: transform .1s, background .1s; }
.wd-t:active { transform: translateY(1px) scale(.96); }
@media (prefers-reduced-motion: reduce) { .xo-c, .xo-m *, .xo-line line, .ph-confetti, .wd-c, .wd-t, .wd-bw, .wd-pop, .wd-rack .wd-t { animation-duration: .01s !important; } }
.gm-bs { display: flex; gap: 10px; margin-top: 18px; width: 100%; max-width: 330px; }
.gm-b { flex: 1; padding: 12px 0; border-radius: 14px; border: none; background: #2c2c2e; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.gm-b.go { background: #0a84ff; }
.gm-b:hover { filter: brightness(1.15); }

/* Pulse sohbetleri ve grupları (kullanıcı isteği 2026-11-29) */
.nt-title { display: flex; align-items: center; justify-content: space-between; }
.ng-new { display: flex; align-items: center; gap: 6px; background: #1d9bf0; color: #fff; border: none; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.ng-new svg { width: 18px; height: 18px; }
.nd-i .th-last i { color: #71767b; font-style: normal; }
.ng-av { background: linear-gradient(140deg, #1d9bf0, #7856ff) !important; color: #fff; font-weight: 800; }
.ng-top { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px 8px; text-align: center; }
.ng-top h2 { margin: 6px 0 0; font-size: 22px; }
.ng-top span { color: #71767b; font-size: 14px; }
.ng-name { display: block; width: calc(100% - 32px); margin: 0 16px 10px; background: #000; color: #fff; border: 1px solid #3a3a3c; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 17px; outline: none; box-sizing: border-box; }
.ng-pub { display: flex; gap: 8px; align-items: center; padding: 0 16px 10px; color: #a1a1a6; font-size: 14px; }
.ch-head.ch-net .ch-sub { color: #1d9bf0; }
/* emoji listesi */
.emo-btn { flex: none; background: none; border: none; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 2px; filter: grayscale(.2); }
.ch-bar .emo-btn { align-self: center; }
.emo-pop { position: absolute; left: 8px; right: 8px; max-height: 46%; overflow-y: auto; z-index: 12; background: #1c1c1e; border: 1px solid #3a3a3c; border-radius: 16px; padding: 6px 8px 10px; box-shadow: 0 10px 30px #000a; animation: phup .15s ease-out; }
.emo-h { color: #8e8e93; font-size: 12px; font-weight: 600; margin: 8px 4px 4px; text-transform: uppercase; letter-spacing: .04em; }
.emo-g { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.emo-g button { background: none; border: none; font-size: 24px; line-height: 1.25; padding: 3px 0; border-radius: 8px; cursor: pointer; }
.emo-g button:hover { background: #3a3a3c; }
/* GM: gönderi tarihi */
.cp-date { background: #000; color: #e7e9ea; border: 1px solid #2f3336; border-radius: 8px; padding: 4px 6px; font: inherit; font-size: 12px; color-scheme: dark; }
.pp-hid.sched { color: #ffb020; }
.pp-date { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 14px; background: #2c2c2e; color: #fff; }
.pp-date input { background: #000; color: #fff; border: 1px solid #3a3a3c; border-radius: 10px; padding: 10px; font: inherit; font-size: 16px; color-scheme: dark; }
.pp-menu button.blue { color: #fff; background: #0a84ff; font-weight: 600; }
/* @ etiketleme önerisi */
.men-pop { position: absolute; left: 12px; right: 12px; z-index: 12; background: #000; border: 1px solid #2f3336; border-radius: 14px; box-shadow: 0 8px 26px #1d9bf033; overflow: hidden; animation: phup .12s ease-out; }
.men-i { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; }
.men-i:hover, .men-i:first-child { background: #16181c; }
.men-i b { display: block; font-size: 15px; color: #e7e9ea; }
.men-i span { color: #71767b; font-size: 13px; }
.tag.men { font-weight: 600; cursor: pointer; }
/* gündem (X gibi) */
.tr-box { border-bottom: 1px solid #2f3336; padding-bottom: 4px; }
.tr-more { color: #1d9bf0; padding: 12px 16px; cursor: pointer; font-size: 15px; }
.tr-more:hover { background: #ffffff08; }
.tr-tag { display: flex; flex-direction: column; padding: 12px 16px; border-bottom: 1px solid #2f3336; }
.tr-tag b { font-size: 20px; font-weight: 800; color: #e7e9ea; }
.tr-tag span { color: #71767b; font-size: 13px; }
.men-hash { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #2f3336; display: grid; place-items: center; color: #1d9bf0; font-weight: 800; flex: none; }
/* Word Grid (kelime oyunu, kullanıcı isteği 2026-11-29) */
.gm-wd { display: flex; gap: 2px; }
.gm-wd i { width: 20px; height: 22px; border-radius: 4px; background: #f3e3bf; color: #3a2a12; font: 800 13px/22px system-ui; text-align: center; font-style: normal; box-shadow: 0 2px 0 #b99b62; }
.gm-net { font-style: normal; font-size: 11px; font-weight: 600; color: #1d9bf0; margin-left: 4px; }
.wd { padding: 6px 8px 20px; }
.wd-ps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 6px; }
.wd-p { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 22px; background: #1c1c1e; border: 2px solid transparent; }
.wd-p.on { border-color: #30d158; }
.wd-p b { display: block; font-size: 13px; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-p span { font-size: 18px; font-weight: 800; }
/* durum satırı hep iki satır yer tutar: kelime önizlemesi uzayıp kısalınca tahta kaymasın (kullanıcı isteği 2026-11-30) */
.wd-last { text-align: center; color: #a1a1a6; font-size: 13px; line-height: 17px; margin: 0 0 6px; height: 34px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.wd-last b { color: #fff; }
.wd-bag { font-size: 13px; color: #a1a1a6; }
.wd-b { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 1px; background: #3a3a3c; border: 1px solid #3a3a3c; border-radius: 6px; overflow: hidden; aspect-ratio: 1; }
.wd-c { position: relative; display: grid; place-items: center; background: #1e2a22; color: #ffffff88; font: 700 8px/1 system-ui; aspect-ratio: 1; user-select: none; }
.wd-c.open { cursor: pointer; }
.wd-c.open:hover { background: #2c3d31; }
.wd-c.b-tw { background: #8e2b2b; color: #ffd0d0; }
.wd-c.b-dw { background: #a35a7a; color: #ffe0ee; }
.wd-c.b-tl { background: #2a5f9a; color: #d5e8ff; }
.wd-c.b-dl { background: #3d8ba6; color: #dff6ff; }
.wd-c.f { background: #f3e3bf; color: #2b1d08; font: 800 15px/1 system-ui; box-shadow: inset 0 -2px 0 #c9ab72; }
.wd-c.f.last { background: #ffe58a; }
.wd-c.f.tent { background: #9fe3a7; box-shadow: inset 0 -2px 0 #4e9a58; cursor: pointer; }
.wd-c sub, .wd-t sub { position: absolute; right: 2px; bottom: 1px; font-size: 7px; font-weight: 700; }
.wd-rack { display: flex; justify-content: center; gap: 5px; margin: 12px 0 10px; min-height: 46px; }
.wd-t { position: relative; width: 44px; height: 46px; border-radius: 7px; border: none; background: #f3e3bf; color: #2b1d08; font: 800 22px/1 system-ui; cursor: pointer; box-shadow: 0 3px 0 #b99b62; }
.wd-t sub { font-size: 10px; right: 4px; bottom: 3px; }
.wd-t.sel { transform: translateY(-6px); background: #ffe58a; box-shadow: 0 3px 0 #b99b62, 0 0 0 2px #0a84ff; }
.wd-t.sw { background: #ff9f8a; }
.wd-acts { display: flex; gap: 6px; }
.wd-acts .gm-b { padding: 10px 0; font-size: 14px; }
.wd-acts .gm-b:disabled { opacity: .4; cursor: default; }
.wd-rules { color: #a1a1a6; font-size: 14px; line-height: 1.5; padding: 12px 8px; text-align: center; }
.wd-pick { position: absolute; left: 10px; right: 10px; bottom: 40px; z-index: 9; background: #1c1c1e; border: 1px solid #3a3a3c; border-radius: 16px; padding: 12px; box-shadow: 0 10px 30px #000c; }
.wd-pick > div { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 8px 0; }
.wd-pick > div button { padding: 7px 0; border: none; border-radius: 6px; background: #f3e3bf; color: #2b1d08; font: 800 16px system-ui; cursor: pointer; }
.wd-pick .gm-b { width: 100%; }

/* Word Grid kelime denetimi (kullanıcı isteği 2026-11-29): taslak kelime sözlükte varsa yeşil, yoksa kırmızı */
.wd-c.f.tent.ok { background: #5fe07a; color: #06310f; box-shadow: inset 0 -2px 0 #2a9a45, 0 0 8px #30d15899; }
.wd-c.f.tent.no { background: #ff6b5e; color: #3a0603; box-shadow: inset 0 -2px 0 #b3261e, 0 0 8px #ff453a99; }
.wd-c.f:not(.tent).ok { box-shadow: inset 0 0 0 2px #30d158; }
.wd-c.f:not(.tent).no { box-shadow: inset 0 0 0 2px #ff453a; }
.wd-pv .ok { color: #30d158; }
.wd-pv .no { color: #ff453a; text-decoration: line-through; text-decoration-thickness: 2px; }
.wd-pv .wait { color: #a1a1a6; }
/* Word Grid: son hamlenin TDK anlamları */
.wd-defs { margin: 10px 2px 0; padding: 8px 12px; border-radius: 12px; background: #1c1c1e; font-size: 13px; line-height: 1.4; }
.wd-dh { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #8e8e93; margin-bottom: 4px; }
.wd-def + .wd-def { border-top: 1px solid #2c2c2e; margin-top: 6px; padding-top: 6px; }
.wd-def b { color: #f3e3bf; font-size: 14px; }
.wd-def ol { margin: 2px 0 0; padding-left: 18px; color: #d1d1d6; }
.wd-def .muted { color: #8e8e93; margin-left: 6px; font-style: italic; }
.wd-def .wd-tdk { float: right; font-size: 11px; color: #0a84ff; text-decoration: none; padding-top: 2px; }
.wd-def .wd-tdk:hover { text-decoration: underline; }

/* Pulse'ta paylaşılan oyun sonucu kartı (kullanıcı isteği 2026-11-29) */
.pg-card { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border: 1px solid #2f3336; border-radius: 16px; background: linear-gradient(135deg, #16181c, #1d2026); }
.pg-card.pg-win { border-color: #5a4a12; background: linear-gradient(135deg, #1d1a0e, #16181c); }
.pg-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pg-card b { font-size: 14px; color: #e7e9ea; }
.pg-card span { font-size: 13px; color: #71767b; }
.pg-ic { font-style: normal; font-size: 22px; }
.pg-xo { display: grid; grid-template-columns: repeat(3, 14px); gap: 2px; flex: none; }
.pg-xo i { width: 14px; height: 14px; border-radius: 3px; background: #2a2d33; font: 800 10px/14px system-ui; text-align: center; font-style: normal; }
.pg-xo i.x { color: #ff6b6b; } .pg-xo i.o { color: #64d2ff; }
.pg-xo i.w { background: #4a3f12; }
.cp-game { padding: 0 12px 0 64px; }

/* ---------- Cistern (kullanıcı isteği 2026-11-30): bilerek eski, güncellenmemiş bir yeraltı forumu ---------- */
.ic-cistern { background: radial-gradient(circle at 35% 30%, #2f6b3a, #0b2412 70%); }
.app-cistern { background: #050d07; }
.cs { position: relative; flex: 1; overflow-y: auto; background: #050d07; color: #8fd69b; font: 12px/1.45 Verdana, Tahoma, Geneva, sans-serif;
  background-image: repeating-linear-gradient(0deg, #7dff9a08 0 1px, transparent 1px 3px); animation: csflick 11s infinite steps(1); }
.cs::-webkit-scrollbar { width: 12px; } .cs::-webkit-scrollbar-track { background: #0b1a0f; }
.cs::-webkit-scrollbar-thumb { background: #2e6b3c; border: 2px outset #4c9a5d; }
@keyframes csflick { 0%, 91%, 93%, 100% { filter: none; } 92% { filter: brightness(1.35) contrast(1.2); } 92.5% { filter: brightness(.7); } }
.cs-in { padding: 12px 12px 28px; }
.cs .mono, .cs-logo, .cs-log { font-family: "Courier New", Courier, monospace; }
.cs a { color: #5fe67c; text-decoration: underline; cursor: pointer; }
.cs a:hover { color: #a6ffb6; }
.cs-dim { color: #4d8a59; }
.cs-logo { margin: 8px 0 0; font-size: 10.5px; line-height: 1.15; color: #6fe08a; text-shadow: 1px 0 #ff3b3b33, -1px 0 #3b7bff33; white-space: pre; overflow: hidden; }
.cs-sub { margin: 4px 0 12px; font-size: 11px; color: #5fa96d; letter-spacing: .5px; }
.cs-warn { background: #0d2513; border: 1px solid #2f7a3e; color: #a8e8b4; padding: 7px 9px; font: 11px/1.4 Tahoma, sans-serif; margin-bottom: 12px; }
.cs-warn b:first-child { display: block; color: #c8ffd2; }
.cs-box { border: 2px groove #1f4d2a; margin: 10px 0; padding: 8px 10px 10px; background: #08140b; }
.cs-box legend { padding: 0 5px; color: #a9eab5; font-weight: bold; font-size: 11px; }
.cs-box label { display: block; font-size: 11px; margin-bottom: 4px; }
.cs-inp { display: block; width: 100%; box-sizing: border-box; background: #020703; color: #a6f0b2; border: 2px inset #1f4d2a; padding: 5px 6px; font: 12px Verdana, sans-serif; border-radius: 0; resize: vertical; outline: none; }
.cs-inp.mono { font: 15px "Courier New", monospace; letter-spacing: 2px; text-transform: uppercase; }
.cs-inp.sm { display: inline-block; width: 120px; padding: 1px 3px; font-size: 12px; letter-spacing: 0; text-transform: none; }
.cs-inp:focus { border-color: #3f8f50; background: #030a05; }
.cs-btn { margin-top: 8px; background: linear-gradient(#3f8f50, #215a2e); color: #e6ffe9; border: 2px outset #62c276; border-radius: 0; padding: 3px 14px; font: bold 11px Tahoma, Verdana, sans-serif; cursor: pointer; }
.cs-btn:active { border-style: inset; }
.cs-btn:disabled { color: #6f9a77; cursor: default; }
.cs-hint { margin-top: 8px; font-size: 10.5px; }
.cs-log { background: #020603; border: 1px solid #174223; padding: 6px 8px; font-size: 11px; color: #6ff08c; min-height: 30px; }
.cs-log div { animation: cstype .25s steps(8); overflow: hidden; white-space: nowrap; }
@keyframes cstype { from { max-width: 0; } to { max-width: 100%; } }
.cs-bad { color: #c46a55; }
.cs-den { margin-top: 4px; color: #ff5a46; font-weight: bold; animation: csden .9s steps(2) 3; }
@keyframes csden { 50% { color: transparent; } }
.cs-foot { margin-top: 18px; text-align: center; font-size: 10px; color: #4d8a59; line-height: 1.6; }
.cs-ctr { display: inline-flex; gap: 1px; vertical-align: middle; }
.cs-ctr i { font: bold 11px "Courier New", monospace; font-style: normal; background: #000; color: #7bd36a; padding: 0 2px; border: 1px solid #333; }
.cs-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid #16391f; padding-bottom: 5px; }
.cs-mini { font: bold 15px "Courier New", monospace; letter-spacing: 3px; color: #7ff59a; text-shadow: 1px 0 #ff3b3b44; }
.cs-who { font-size: 10.5px; }
.cs-who b { color: #b9f5c4; }
.cs-mq { overflow: hidden; white-space: nowrap; margin: 6px 0 8px; background: #091a0d; border: 1px solid #133520; font-size: 10.5px; color: #5fbf72; }
.cs-mq span { display: inline-block; padding-left: 100%; animation: csmq 38s linear infinite; }
@keyframes csmq { to { transform: translateX(-100%); } }
.cs-tabs { display: flex; gap: 2px; border-bottom: 2px solid #1f4d2a; }
.cs-tabs a { padding: 4px 10px 3px; background: linear-gradient(#123a1c, #0b1a0f); border: 1px solid #1f4d2a; border-bottom: 0; color: #79c487 !important; text-decoration: none !important; font-size: 11px; font-weight: bold; }
.cs-tabs a.on { background: linear-gradient(#2c7a3e, #174d25); color: #dcffe2 !important; }
.cs-bh { padding: 5px 6px; background: linear-gradient(#123a1c, #0d2613); border: 1px solid #1a4426; border-top: 0; font-size: 11px; }
.cs-list { border: 1px solid #133520; border-top: 0; }
.cs-post { padding: 6px 8px; background: #07140a; border-bottom: 1px solid #103019; }
.cs-post.alt { background: #050f08; }
.cs-ph { display: flex; gap: 6px; align-items: baseline; font-size: 10.5px; border-bottom: 1px dotted #1b4a27; padding-bottom: 3px; margin-bottom: 4px; }
.cs-ph b { color: #5fe67c; }
.cs-ph span:last-child { margin-left: auto; color: #4d8a59; white-space: nowrap; }
.cs-real { color: #7f8fb3; }
.cs-pb { word-wrap: break-word; color: #a4e8b0; }
.cs-pf { text-align: right; font-size: 10px; }
/* paketli ağ (kullanıcı isteği 2026-11-30): yoldaki ileti soluk, gelen ileti gürültüden çözülür */
.cs-transit { opacity: .55; }
.cs-tr { color: #6ff08c; animation: csden 1.2s steps(2) infinite; }
.cs-dec { color: #6ff08c; text-shadow: 0 0 4px #2bff6a55; }
/* ortak sohbet odası (kullanıcı isteği 2026-11-30): IRC/BBS gibi satırlar, alttan akar, yazma çubuğu en altta */
.cs-room { display: flex; flex-direction: column; overflow: hidden; padding: 8px 10px 26px; }
.cs-room .cs-mq { margin: 6px 0 4px; flex: none; }
.cs-room .cs-top { flex: none; }
.cs-sysd { flex: none; font-size: 10.5px; color: #c08a7a; }
.cs-sysd summary { cursor: pointer; }
.cs-sysd .cs-box { margin: 4px 0; }
.cs-chan { flex: none; font-size: 11px; color: #a9eab5; padding: 3px 6px; background: linear-gradient(#123a1c, #0b1a0f); border: 1px solid #1f4d2a; border-bottom: 0; }
.cs-chat { flex: 1; min-height: 0; overflow-y: auto; background: #020603; border: 1px solid #1f4d2a; padding: 6px 7px; font-size: 11.5px; line-height: 1.45; }
.cs-chat::-webkit-scrollbar { width: 8px; } .cs-chat::-webkit-scrollbar-thumb { background: #1f4d2a; }
.cs-day { text-align: center; color: #3f7a4b; font-size: 10px; margin: 4px 0; }
.cs-msg { word-wrap: break-word; padding: 1px 0; }
.cs-msg .cs-t { color: #3f7a4b; font-size: 10px; }
.cs-msg .cs-al { color: #5fe67c; }
.cs-msg.me .cs-al { color: #c8ffd2; }
.cs-msg .cs-pb { color: #a4e8b0; }
.cs-msg .cs-real { color: #7f8fb3; font-size: 10px; }
.cs a.cs-x { color: #3f7a4b; text-decoration: none; opacity: 0; font-size: 11px; }
.cs-msg:hover a.cs-x { opacity: 1; }
.cs-mlog { margin: 2px 0 4px 34px; padding: 3px 6px; min-height: 0; font-size: 10px; color: #4fd06d; border-color: #10301a; }
.cs-mlog div { animation: none; }  /* liste her satırda yeniden çizilir: yalnız son satır yazılıyormuş gibi açılsın */
.cs-mlog div:last-child { animation: cstype .25s steps(8); }
.cs-bar { flex: none; display: flex; align-items: center; gap: 5px; margin-top: 6px; }
.cs-prompt { color: #6ff08c; font-size: 14px; }
.cs-inp.cs-say { flex: 1; min-width: 0; font: 12px "Courier New", monospace; }
.cs-bar .cs-btn { margin-top: 0; }
.cs-empty { padding: 14px 8px; color: #4d8a59; font-style: italic; text-align: center; }
.cs-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; }
.cs-sys { border-color: #4d2a2a; background: #120b0b; }
.cs-ck { display: flex !important; align-items: center; gap: 6px; }
.cs-sys details { margin-top: 6px; font-size: 11px; }
.cs-sys summary { cursor: pointer; color: #a9eab5; }
.cs-codes { display: grid; grid-template-columns: 1fr 1fr; gap: 1px 10px; margin-top: 5px; font-size: 11px; color: #6fe08a; }
