@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/Poppins_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
:root {
  --bg: #050811; --surface: #0A1222; --surface-2: #0D1930; --surface-3: #13233F; --line: #19304A; --text: #F4F7FF; --muted: #9AAAC4; --faint: #667792;
  --cyan: #00E5FF; --blue: #1677FF; --purple: #762BFF; --magenta: #E62BFF; --gold: #FBBF24; --danger: #FF4D6D;
  --grad: linear-gradient(100deg, #00E5FF 0%, #1677FF 38%, #762BFF 72%, #E62BFF 100%);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.45 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: -20% -20% auto; height: 70vh; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 15% 20%, rgba(0, 229, 255, .12), transparent 70%), radial-gradient(40% 50% at 85% 10%, rgba(230, 43, 255, .14), transparent 70%); }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--cyan); text-decoration: none; }
.ic { display: inline-flex; } .ic svg { width: 18px; height: 18px; }
.wrap { width: min(720px, 100%); margin: 0 auto; padding: 0 14px 96px; }
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(5, 8, 17, .78); border-bottom: 1px solid rgba(25, 48, 74, .7); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; gap: 10px; height: 60px; padding-bottom: 0; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 800; letter-spacing: .03em; }
.brand img { width: 32px; height: 32px; border-radius: 26%; }
.brand small { display: block; font-size: .62rem; font-weight: 600; color: var(--muted); letter-spacing: .12em; }
.grow { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 24px -12px rgba(22, 119, 255, .9); }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: .85rem; }
.btn.ghost { background: none; }
.btn:disabled { opacity: .5; cursor: default; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.avatar.lg { width: 76px; height: 76px; font-size: 1.8rem; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font-weight: 600; font-size: .86rem; cursor: pointer; white-space: nowrap; }
.tab.on { background: var(--grad); border-color: transparent; color: #fff; }
.hero { margin: 14px 0 6px; padding: 18px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(80% 140% at 0 0, rgba(0, 229, 255, .14), transparent 60%), radial-gradient(80% 140% at 100% 100%, rgba(230, 43, 255, .16), transparent 60%), var(--surface); }
.hero h1 { margin: 0 0 6px; font-size: 1.45rem; line-height: 1.15; font-weight: 800; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.card { margin-top: 12px; padding: 14px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), var(--surface); }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head b { display: block; font-size: .95rem; cursor: pointer; }
.post-head small { color: var(--faint); font-size: .74rem; }
.caption { margin: 10px 0; white-space: pre-wrap; word-break: break-word; }
.embed { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 72vh; border-radius: 14px; overflow: hidden; background: #000; margin: 6px auto; }
.embed.wide { aspect-ratio: 16 / 9; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.linkbox { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: .85rem; word-break: break-all; }
.actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.act { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted);
  font-size: .82rem; font-weight: 600; cursor: pointer; }
.act.on { color: #fff; border-color: transparent; background: linear-gradient(140deg, #22c55e, #059669); }
.act.down.on { background: linear-gradient(140deg, #fb7185, #be123c); }
.stars { display: inline-flex; gap: 1px; margin-left: auto; }
.star { background: none; border: 0; padding: 2px; cursor: pointer; color: #3a4a66; font-size: 1.15rem; line-height: 1; }
.star.on { color: var(--gold); }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: .82rem; } .center { text-align: center; }
.comments { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 8px; }
.comment { font-size: .86rem; } .comment b { margin-right: 6px; cursor: pointer; }
.row { display: flex; gap: 8px; align-items: center; }
.input, textarea { width: 100%; padding: 11px 13px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); outline: none; }
.input:focus, textarea:focus { border-color: var(--blue); }
textarea { resize: vertical; min-height: 78px; }
.field { display: grid; gap: 5px; margin-bottom: 10px; } .field span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(2, 4, 10, .72); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.sheet { width: min(420px, 100%); max-height: 92dvh; overflow: auto; border-radius: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); }
.sheet h2 { margin: 0 0 4px; } .sheet p { margin: 0 0 14px; color: var(--muted); font-size: .88rem; }
.code { letter-spacing: .5em; text-align: center; font-size: 1.5rem; font-weight: 800; }
.profile { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.profile h2 { margin: 0; font-size: 1.25rem; } .profile .handle { color: var(--muted); font-size: .85rem; }
.counts { display: flex; gap: 18px; margin: 12px 0; } .counts b { display: block; font-size: 1.1rem; } .counts span { font-size: .75rem; color: var(--muted); }
.chat { display: flex; flex-direction: column; height: calc(100dvh - 210px); min-height: 360px; }
.msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px 2px; }
.msg { max-width: 82%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--surface-2); border: 1px solid var(--line); align-self: flex-start; }
.msg.me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: linear-gradient(140deg, rgba(22, 119, 255, .55), rgba(118, 43, 255, .55)); border-color: transparent; }
.msg b { display: block; font-size: .72rem; color: var(--cyan); cursor: pointer; } .msg.me b { color: #dfe8ff; }
.msg time { display: block; font-size: .64rem; color: var(--faint); margin-top: 2px; text-align: right; }
.composer { display: flex; gap: 8px; padding-top: 8px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); } .stat b { display: block; font-size: 1.35rem; } .stat span { font-size: .72rem; color: var(--muted); }
.list { display: grid; gap: 6px; } .list > div { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.empty { padding: 26px 10px; text-align: center; color: var(--muted); }
#toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); opacity: 0; transition: .25s; z-index: 60; background: var(--surface-3); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 14px; font-size: .88rem; max-width: calc(100% - 32px); pointer-events: none; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.foot { margin-top: 26px; text-align: center; font-size: .75rem; color: var(--faint); }
/* owner 2026-11-15: the workshop's purpose up front, quick sharing, private chats, people */
.purpose h1 { font-size: 1.35rem; }
.steps { display: flex; flex-wrap: wrap; gap: 6px; }
.steps span { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; }
.share-bar { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; color: var(--muted); font: inherit; }
.fab { position: fixed; right: 18px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 30; width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(22, 119, 255, .9); cursor: pointer; }
.fab .ic svg { width: 26px; height: 26px; }
.tab .count, .chat-meta .count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff3b5c; color: #fff; font-size: .68rem; font-weight: 800;
  display: inline-grid; place-items: center; }
.tab .count[hidden] { display: none; }
.person, .chat-row { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid rgba(25, 48, 74, .6); width: 100%; background: none;
  border-left: 0; border-right: 0; border-top: 0; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.person:last-child, .chat-row:last-child { border-bottom: 0; }
.person b, .chat-row b { display: block; font-size: .92rem; }
.person small, .chat-row small { color: var(--faint); font-size: .76rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52vw; }
.chat-row.new b { color: var(--cyan); }
.chat-meta { display: grid; justify-items: end; gap: 4px; }
.tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; background: rgba(255, 255, 255, .08); color: var(--muted); }
.tag.ok { background: rgba(34, 197, 94, .18); color: #4ade80; }
.wrap-row { flex-wrap: wrap; }
.list-people { padding-top: 4px; padding-bottom: 4px; }
/* the owner's activity chart */
.bars { display: flex; align-items: flex-end; gap: 4px; height: 140px; margin-top: 14px; padding-top: 6px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.bar .stack { width: 100%; min-height: 2px; display: flex; flex-direction: column-reverse; border-radius: 6px 6px 0 0; overflow: hidden; background: rgba(255, 255, 255, .05); }
.bar .stack i { display: block; min-height: 2px; }
.bar small { font-size: .6rem; color: var(--faint); }
.legend { display: flex; gap: 12px; margin-top: 8px; font-size: .74rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
/* ---------- owner 2026-11-16: "the workshop is too plain" — livelier look */
body::before { height: 100vh; background: radial-gradient(45% 40% at 10% 10%, rgba(0, 229, 255, .16), transparent 70%), radial-gradient(45% 40% at 90% 0%, rgba(230, 43, 255, .18), transparent 70%),
  radial-gradient(60% 40% at 50% 100%, rgba(118, 43, 255, .14), transparent 70%); }
.top { background: linear-gradient(90deg, rgba(0, 229, 255, .08), rgba(230, 43, 255, .08)), rgba(5, 8, 17, .82); }
.brand span { background: linear-gradient(90deg, #fff, #c9d6ff); -webkit-background-clip: text; background-clip: text; }
.tab { transition: transform .12s, background .2s; }
.tab:active { transform: scale(.96); }
.purpose { position: relative; overflow: hidden; border: 1px solid rgba(118, 43, 255, .45);
  background: radial-gradient(70% 120% at 0 0, rgba(0, 229, 255, .22), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(230, 43, 255, .26), transparent 60%), #0b1326; }
.purpose::after { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .06), transparent 30%); animation: spin 9s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: rotate(1turn); } }
.purpose > * { position: relative; z-index: 1; }
.purpose h1 { font-size: 1.45rem; }
.steps span { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
/* stories: active members */
.stories { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 14px 2px 4px; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: none; display: grid; justify-items: center; gap: 5px; border: 0; background: none; color: var(--text); cursor: pointer; font: inherit; width: 70px; }
.story small { font-size: .7rem; color: var(--muted); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ring { display: inline-grid; padding: 2px; border-radius: 50%; background: conic-gradient(#00E5FF, #1677FF, #762BFF, #E62BFF, #00E5FF); flex: none; }
.ring .avatar { box-shadow: 0 0 0 2px var(--bg); }
.ring.friend { background: conic-gradient(#22c55e, #4ade80, #22c55e); }
.story .avatar.lg { width: 60px; height: 60px; font-size: 1.4rem; }
/* posts */
.card.post { transition: transform .15s, box-shadow .2s; }
.card.post:hover { box-shadow: 0 18px 40px -24px rgba(22, 119, 255, .7); }
.card.post.hot { border-color: rgba(251, 191, 36, .45); background: radial-gradient(80% 60% at 100% 0, rgba(251, 191, 36, .1), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)), var(--surface); }
.hot-tag { margin-left: 8px; font-size: .66rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, #fbbf24, #f97316); color: #2b1400; vertical-align: 1px; }
.caption { font-size: 1rem; }
.embed { border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.act { transition: transform .1s; }
.act:active { transform: scale(.92); }
.empty.big { padding: 40px 10px; }
.empty .emoji { font-size: 2.6rem; margin-bottom: 8px; }
/* chat */
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.live { font-size: .72rem; font-weight: 700; color: #4ade80; }
.msgs { gap: 2px; padding-top: 10px; }
.line { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.line.same { margin-top: 2px; }
.line.me { justify-content: flex-end; }
.line .avatar { width: 30px; height: 30px; font-size: .8rem; cursor: pointer; }
.av-space { width: 30px; flex: none; }
.line.me .av-space { display: none; }
.msg { max-width: 78%; align-self: auto; animation: pop .18s ease-out; }
.msg.big { background: none; border: 0; font-size: 2rem; padding: 0 4px; }
@keyframes pop { from { transform: translateY(6px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.emojis { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0 0; }
.emo { flex: none; width: 40px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 1.2rem; cursor: pointer; }
.emo:active { transform: scale(.9); }
.fab { animation: glow 3s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 14px 34px -6px rgba(230, 43, 255, .9); } }
@media (prefers-reduced-motion: reduce) { .purpose::after, .fab, .msg { animation: none; } }
.ios-tip { display: flex; align-items: center; gap: 10px; font-size: .85rem; border-color: rgba(0, 229, 255, .4); }
.ios-tip > span:first-child { font-size: 1.4rem; }
/* ---------- owner 2026-11-17: profile photos and a chat that looks like a real messenger */
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av-btn { position: relative; border: 0; background: none; padding: 0; cursor: pointer; }
.av-cam { position: absolute; right: -2px; bottom: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem;
  background: var(--grad); box-shadow: 0 0 0 3px var(--surface); }
.channels { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; }
.channels::-webkit-scrollbar { display: none; }
.chan { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font: 600 .84rem Poppins, sans-serif; cursor: pointer; }
.chan.on { color: #fff; border-color: transparent; background: linear-gradient(140deg, rgba(0, 229, 255, .3), rgba(118, 43, 255, .45)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.chat { padding: 0; overflow: hidden; height: calc(100dvh - 230px); min-height: 420px; background:
  radial-gradient(60% 50% at 100% 0, rgba(118, 43, 255, .12), transparent 70%), radial-gradient(60% 50% at 0 100%, rgba(0, 229, 255, .08), transparent 70%), #0a1222; }
.chat-head { padding: 12px 14px; border-bottom: 1px solid var(--line); background: rgba(5, 8, 17, .55); backdrop-filter: blur(8px); }
.chat-head b { display: block; font-size: .98rem; } .chat-head small { display: block; color: var(--faint); font-size: .72rem; }
.ch-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(255, 255, 255, .07); flex: none; }
.who { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.msgs-wrap { position: relative; flex: 1; min-height: 0; display: flex; }
.msgs { flex: 1; padding: 6px 12px 10px; }
.day { display: flex; justify-content: center; margin: 14px 0 6px; }
.day span { font-size: .68rem; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .06); padding: 3px 10px; border-radius: 999px; }
.line .av .avatar { width: 32px; height: 32px; }
.av-space { width: 32px; }
.msg { position: relative; padding: 7px 12px 6px; border-radius: 18px 18px 18px 6px; background: #16233d; border: 0; box-shadow: 0 2px 6px -3px rgba(0, 0, 0, .6); }
.line.same .msg { border-radius: 18px; }
.msg.me { border-radius: 18px 18px 6px 18px; background: linear-gradient(140deg, #1677ff, #762bff); }
.line.me.same .msg.me { border-radius: 18px; }
.msg b { font-size: .74rem; margin-bottom: 1px; }
.msg .txt { white-space: pre-wrap; word-break: break-word; }
.msg time { display: inline-block; margin: 0 0 0 8px; float: right; font-size: .62rem; color: rgba(255, 255, 255, .55); transform: translateY(5px); }
.msg.big { background: none; box-shadow: none; font-size: 2.4rem; padding: 0; }
.msg.big time { display: none; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); padding: 30px 20px; font-size: .9rem; }
.chat-empty .emoji { font-size: 2.6rem; margin-bottom: 8px; }
.new-pill { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); border: 0; border-radius: 999px; padding: 6px 14px; font: 700 .76rem Poppins, sans-serif;
  color: #fff; background: var(--grad); box-shadow: 0 8px 20px -8px rgba(22, 119, 255, .9); cursor: pointer; }
.new-pill[hidden] { display: none; }
.emojis { padding: 6px 12px 0; }
.emoji-panel { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; padding: 8px 12px 0; }
.emoji-panel[hidden] { display: none; }
.emoji-panel .emo { width: auto; }
.chat .composer { padding: 8px 10px 10px; align-items: center; }
.chat .composer .input { border-radius: 999px; padding: 11px 16px; background: #13203a; }
.emo-toggle { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); font-size: 1.2rem; cursor: pointer; }
.send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(118, 43, 255, .9); }
.send:active, .emo-toggle:active { transform: scale(.92); }

/* ---------------------------------------------------------------- Video Atölyesi 2.0, phase 1 (owner 2026-11-25) */
.wrap { width: min(760px, 100%); }
.brand { min-width: 0; }
.brand > span { min-width: 0; }
.brand .bt { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 1.02rem; }
.brand .bt em { font-style: normal; font-weight: 600; background: linear-gradient(90deg, #c4b5fd, #e879f9); -webkit-background-clip: text; background-clip: text; color: transparent; overflow: hidden; text-overflow: ellipsis; }
.brand .sep { width: 1px; height: 16px; background: var(--line); display: inline-block; }
.brand small { letter-spacing: .02em; font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbtn { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(19, 35, 63, .6); color: var(--text); cursor: pointer; padding: 0; }
.hbtn .ic svg { width: 19px; height: 19px; }
.hbtn.me { padding: 0; border: 0; background: conic-gradient(#00E5FF, #762BFF, #E62BFF, #00E5FF); padding: 2px; }
.hbtn.me .avatar { width: 36px; height: 36px; box-shadow: 0 0 0 2px var(--bg); }
.hbtn .count { position: absolute; top: -3px; right: -3px; }
.count { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff3d7f; color: #fff; font-size: .68rem; font-weight: 800; display: inline-grid; place-items: center; }
.count[hidden] { display: none; }
.tabs { gap: 8px; padding-top: 14px; }
.tab { padding: 9px 16px; font-size: .9rem; background: rgba(10, 18, 34, .8); }
.tab.on { box-shadow: 0 10px 26px -14px rgba(118, 43, 255, .95); }

/* promo carousel: text on the left, a real photo on the right */
.hero.purpose { padding: 0; }
.slide-stage { min-height: 214px; }
.slide { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; align-items: center; padding: 18px 18px 10px; animation: up .35s; }
.slide h1 { margin: 0; font-size: clamp(1.35rem, 5.4vw, 2rem); font-weight: 800; line-height: 1.1; }
.slide h2 { margin: 4px 0 6px; font-size: clamp(1rem, 4vw, 1.4rem); font-weight: 800; line-height: 1.15; }
.grad-text { background: linear-gradient(90deg, #c084fc, #e879f9 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide p { margin: 6px 0 12px; color: #cbd5e1; font-size: .85rem; }
.slide .btn { min-height: 38px; font-size: .86rem; }
.slide-pic { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 0 0 2px rgba(230, 43, 255, .55), 0 18px 40px -16px rgba(118, 43, 255, .9); }
.slide-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pic-play { position: absolute; inset: 0; display: grid; place-items: center; }
.pic-play .ic svg { width: 46px; height: 46px; color: #fff; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .6)); }
.dots { display: flex; justify-content: center; gap: 7px; padding: 0 0 12px; }
.dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: width .2s; }
.dot.on { width: 22px; background: var(--grad); }
@media (max-width: 420px) {
  .slide { grid-template-columns: 1fr; }
  .slide-pic { order: -1; aspect-ratio: 16 / 8; transform: none; }
}

/* shortcuts: one row that scrolls on a phone */
.shortcuts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(96px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 12px; padding-bottom: 2px; }
.shortcuts::-webkit-scrollbar { display: none; }
.sc { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 86px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), var(--surface); color: var(--text); font: 600 .74rem/1.2 Poppins, system-ui, sans-serif;
  text-align: center; cursor: pointer; }
.sc .ic svg { width: 24px; height: 24px; }
.sc.c1 .sc-ico { color: #fb7185; } .sc.c2 .sc-ico { color: #fbbf24; } .sc.c3 .sc-ico { color: #38bdf8; } .sc.c4 .sc-ico { color: #a78bfa; }
.sc.c5 .sc-ico { color: #e879f9; } .sc.c6 .sc-ico { color: #22d3ee; } .sc.c7 .sc-ico { color: #facc15; }
.sc.c1 { border-color: rgba(251, 113, 133, .35); } .sc.c6 { border-color: rgba(34, 211, 238, .35); }

/* community row */
.community { padding-bottom: 8px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; }
.sec-head b { font-size: 1.02rem; }
.link { background: none; border: 0; color: var(--muted); font: 600 .82rem Poppins, system-ui, sans-serif; cursor: pointer; }
.ring.add { background: var(--grad); }
.avatar.plus { background: linear-gradient(140deg, #1677FF, #762BFF) !important; }
.avatar.plus .ic svg { width: 28px; height: 28px; }

/* feed filters */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font: 600 .86rem Poppins, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--grad); border-color: transparent; color: #fff; }

/* the post card */
.post .who { min-width: 0; }
.post .who b { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.post .who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verified { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: linear-gradient(140deg, #6366f1, #a855f7); color: #fff; }
.verified .ic svg { width: 11px; height: 11px; stroke-width: 3.2; }
.hot-tag { margin-left: 4px; }
.follow-btn { flex: none; display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(230, 43, 255, .7);
  background: rgba(118, 43, 255, .14); color: #fff; font: 600 .8rem Poppins, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.follow-btn span { display: inline-flex; align-items: center; gap: 4px; }
.follow-btn .ic svg { width: 15px; height: 15px; }
.follow-btn.on { border-color: var(--line); background: var(--surface-2); color: var(--muted); }
.act.icon-only { padding: 6px 8px; border-color: transparent; background: none; }
.more-wrap { position: relative; }
.menu-pop { position: absolute; right: 0; top: 38px; z-index: 20; min-width: 200px; padding: 6px; border-radius: 14px; border: 1px solid var(--line-2, #24405f);
  background: var(--surface-3); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); display: grid; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: var(--text); text-align: left;
  font: 500 .88rem Poppins, system-ui, sans-serif; cursor: pointer; }
.menu-item:hover { background: rgba(255, 255, 255, .06); }
.share-act { margin-left: 0; }
.actions .stars { margin-left: auto; }
@media (max-width: 420px) {
  .follow-btn .label-long { display: none; }
  .actions { gap: 5px; }
  .act { padding: 6px 9px; }
}
@keyframes up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .brand .bt .bn { display: none; }
  .brand .bt { font-size: .98rem; }
  .brand .bt .sep { display: none; }
  .hbtn { width: 36px; height: 36px; }
  .top .wrap { gap: 7px; }
}

/* ---------------------------------------------------------------- Video Atölyesi 2.0, phase 2 (owner 2026-11-25) */
.composer-sheet { width: min(520px, 100%); }
.type-row { margin: 8px 0 12px; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.video-pick { display: grid; gap: 8px; margin-bottom: 12px; padding: 12px; border-radius: 16px; border: 1px dashed rgba(118, 43, 255, .55); background: rgba(118, 43, 255, .06); }
.pick-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 14px; border: 0; background: var(--grad); color: #fff;
  font: 600 .92rem Poppins, system-ui, sans-serif; cursor: pointer; }
.pick-btn.alt { background: var(--surface-3); border: 1px solid var(--line); }
.pick-preview { width: 100%; max-height: 46vh; border-radius: 12px; background: #000; object-fit: contain; }
.cover-row { display: flex; gap: 10px; align-items: center; }
.cover-img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; border: 2px solid rgba(230, 43, 255, .6); }
.cover-row input[type=range] { width: 100%; accent-color: #a855f7; }
.upload-status { display: grid; gap: 6px; margin-top: 8px; }
.upload-status .err { color: var(--danger); font-size: .85rem; margin: 0; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--grad); transition: width .2s; }
.video-wrap { position: relative; margin: 8px 0; border-radius: 16px; overflow: hidden; background: #000; }
.post-video { display: block; width: 100%; max-height: 78vh; background: #000; object-fit: contain; }
.video-wrap .badge { position: absolute; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .74rem; font-weight: 700;
  pointer-events: none; backdrop-filter: blur(4px); }
.video-wrap .badge.dur { left: 10px; bottom: 52px; }
.video-wrap .badge.fmt { right: 10px; bottom: 52px; letter-spacing: .02em; }
.post-title { margin: 10px 0 0; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.hashtags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; font-size: .84rem; }
.hashtags span { color: #c084fc; }
.post-tags { display: flex; gap: 6px; margin-top: 8px; }
.type-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--surface-3); color: var(--muted); }
.type-tag .ic svg { width: 12px; height: 12px; }
.type-tag.t-idea { background: rgba(250, 204, 21, .14); color: #facc15; } .type-tag.t-question { background: rgba(56, 189, 248, .14); color: #38bdf8; }
.type-tag.t-project { background: rgba(168, 85, 247, .16); color: #c084fc; } .type-tag.t-private { background: rgba(255, 77, 109, .14); color: #fb7185; }
.reposted-by { display: flex; align-items: center; gap: 6px; margin: -2px 0 8px; } .reposted-by .ic svg { width: 14px; height: 14px; }
.act.save-on { background: linear-gradient(140deg, #a855f7, #6366f1); }
.autoplay { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); cursor: pointer; }
.autoplay input { accent-color: #a855f7; }
.view-title { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 1.15rem; }
.comment { display: grid; gap: 2px; }
.comment.reply { margin-left: 22px; padding-left: 10px; border-left: 2px solid var(--line); }
.c-acts { display: flex; align-items: center; gap: 10px; }
.c-act { display: inline-flex; align-items: center; gap: 3px; padding: 0; border: 0; background: none; color: var(--faint); font: 600 .74rem Poppins, system-ui, sans-serif; cursor: pointer; }
.c-act .ic svg { width: 13px; height: 13px; }
.c-act.on { color: #fb7185; }
.reply-bar { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); color: var(--muted); }
.reply-bar[hidden] { display: none; }
.err { color: var(--danger); }

/* ---------------------------------------------------------------- owner 2026-11-29: a more beautiful Atölye */
/* sign in / sign up */
.auth-modal { background: radial-gradient(60% 40% at 50% 20%, rgba(118, 43, 255, .25), transparent 70%), rgba(2, 4, 10, .8); }
.auth-sheet { position: relative; overflow: hidden auto; padding: 26px 22px 18px; border-radius: 26px; border: 1px solid rgba(118, 43, 255, .35);
  background: radial-gradient(90% 50% at 50% 0, rgba(0, 229, 255, .10), transparent 70%), linear-gradient(180deg, #0d1730, #080e1c);
  box-shadow: 0 30px 80px -30px rgba(118, 43, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .06); animation: auth-in .28s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes auth-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.auth-head { text-align: center; margin-bottom: 16px; }
.auth-head h2 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; margin: 10px 0 4px; }
.auth-head p { margin: 0 auto 12px; max-width: 300px; }
.auth-logo { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; padding: 2px; background: var(--grad);
  box-shadow: 0 0 0 6px rgba(118, 43, 255, .12), 0 14px 34px -10px rgba(118, 43, 255, .8); }
.auth-logo img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; }
.auth-logo .ic svg { width: 28px; height: 28px; color: #fff; }
.auth-head.small .auth-logo { width: 52px; height: 52px; border-radius: 17px; }
.auth-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.auth-perks span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; color: #cfd9ee;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.auth-perks .ic svg { width: 14px; height: 14px; color: var(--cyan); }
.in-ic { position: relative; display: flex; align-items: center; }
.in-ic > .ic { position: absolute; left: 13px; color: var(--faint); pointer-events: none; }
.in-ic > .ic svg { width: 17px; height: 17px; }
.in-ic .input { width: 100%; padding-left: 40px; min-height: 48px; border-radius: 14px; background: rgba(5, 10, 22, .7); transition: border-color .15s, box-shadow .15s; }
.in-ic .input:focus { outline: none; border-color: #6d5cff; box-shadow: 0 0 0 4px rgba(118, 43, 255, .18); }
.in-ic:focus-within > .ic { color: #a98bff; }
.pw-eye { position: absolute; right: 6px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; color: var(--faint); cursor: pointer; border-radius: 10px; }
.pw-eye:hover { color: var(--text); }
.btn.auth-go { width: 100%; min-height: 50px; margin-top: 6px; font-weight: 800; font-size: 1rem; border-radius: 16px; letter-spacing: .01em; }
.auth-links { display: flex; justify-content: center; margin: 4px 0 2px; } .auth-links.right { justify-content: flex-end; margin: -4px 0 6px; }
.link-btn { border: 0; background: none; color: #8fb4ff; font-weight: 600; font-size: .84rem; padding: 8px 4px; cursor: pointer; }
.link-btn:hover { color: var(--cyan); }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; color: var(--faint); font-size: .78rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.btn.auth-new { width: 100%; min-height: 48px; border-radius: 16px; font-weight: 700; color: var(--text);
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.auth-foot { text-align: center; margin: 14px 0 0 !important; font-size: .7rem !important; color: var(--faint) !important; letter-spacing: .04em; }
.input.code { width: 100%; min-height: 58px; text-align: center; font-size: 1.6rem; font-weight: 800; letter-spacing: .5em; border-radius: 16px; }

/* post cards: calmer frame, a clean poster with a big play button, a tidy action bar */
.card.post { padding: 12px 12px 8px; border-radius: 22px; border-color: rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008)), var(--surface); box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .9); }
.post-head .ring { padding: 2px; border-radius: 50%; background: var(--grad); }
.post-head .ring > * { border: 2px solid var(--surface); }
.post-title { font-size: 1.02rem; margin: 10px 2px 2px; }
.video-wrap { border-radius: 18px; margin: 10px 0 6px; box-shadow: 0 16px 36px -22px rgba(0, 0, 0, .9); }
.video-wrap::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); pointer-events: none; transition: opacity .2s; }
.video-wrap.started::after, .video-wrap.playing::after { opacity: 0; }
.big-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 14, 30, .38); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); transition: transform .15s, opacity .2s; z-index: 2; }
.big-play .ic svg { width: 28px; height: 28px; margin-left: 4px; }
.big-play:active { transform: scale(.92); }
.video-wrap.playing .big-play, .video-wrap.started .big-play { opacity: 0; pointer-events: none; }
.video-wrap .badge { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 1; }
.video-wrap .badge.dur { left: 10px; top: 10px; bottom: auto; }
.video-wrap .badge.fmt { right: 10px; top: 10px; bottom: auto; }
.video-wrap.started .badge { opacity: 0; transition: opacity .3s; }
.caption { margin: 6px 2px 2px; }
.actions { gap: 2px; margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .06); }
.act { border: 0; background: none; padding: 8px 9px; color: #aebbd3; font-weight: 600; font-size: .84rem; }
.act .ic svg { width: 19px; height: 19px; }
.act:hover { background: rgba(255, 255, 255, .05); }
.act.on { background: none; color: #34d399; } .act.down.on { background: none; color: #fb7185; } .act.save-on { background: none; color: #c084fc; }
.act.on .ic svg { fill: currentColor; fill-opacity: .25; }
.actions .stars { order: 10; flex-basis: 100%; margin: 0 0 2px 6px; }
.star { font-size: 1rem; }
.share-act { margin-left: auto; }
.follow-btn { border-radius: 999px; }
/* the autoplay switch */
.autoplay { gap: 9px; user-select: none; }
.autoplay input { appearance: none; -webkit-appearance: none; width: 36px; height: 21px; margin: 0; border-radius: 999px; background: var(--surface-3); border: 1px solid var(--line);
  position: relative; cursor: pointer; transition: background .2s; }
.autoplay input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #cfd9ee; transition: transform .2s; }
.autoplay input:checked { background: var(--grad); border-color: transparent; }
.autoplay input:checked::after { transform: translateX(15px); background: #fff; }
.auth-perks { flex-wrap: nowrap; gap: 5px; } .auth-perks span { padding: 4px 8px; font-size: .68rem; white-space: nowrap; }
.auth-perks .ic { background: none !important; padding: 0 !important; }
