:root {
  --ink: #18212f;
  --muted: #8993a4;
  --line: #e9edf2;
  --soft: #f7f9fb;
  --blue: #3975f6;
  --purple: #7968e9;
  --green: #45b88b;
  --shadow: 0 16px 45px rgba(35, 53, 83, .07);
  --surface: #fff;
  --surface-soft: #fbfcfd;
  --text-soft: #4f5c6d;
}
* { box-sizing: border-box; }
html { scrollbar-width: thin; scrollbar-color: #b9c4d4 #eef2f7; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 12px; height: 12px; }
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { border-radius: 999px; background: #eef2f7; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb { min-height: 42px; border: 3px solid #eef2f7; border-radius: 999px; background: #b9c4d4; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 254px; flex: 0 0 254px; padding: 31px 18px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; background: var(--surface); }
.brand, .mobile-brand { display: flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -1px; }
.brand { margin: 0 17px 56px; }
.brand-logo { width: 31px; height: 31px; border-radius: 9px; object-fit: cover; }
.brand-name, .gate-brand-name { display: inline-flex; align-items: baseline; gap: 2px; letter-spacing: -1px; }
.brand-name strong, .gate-brand-name strong { font-family: "Penultimate", "Brush Script MT", "Segoe Script", cursive; font-weight: 400; letter-spacing: .3px; }
.brand-name > span, .gate-brand-name > span { font-family: Manrope, sans-serif; font-weight: 500; letter-spacing: -1px; }
.brand-mark { width: 31px; height: 31px; display: inline-grid; place-items: center; border-radius: 10px 10px 10px 3px; background: linear-gradient(140deg, var(--blue), var(--purple)); color: #fff; font-size: 21px; font-family: Georgia, serif; font-style: italic; }
.main-nav { display: grid; gap: 7px; }
.nav-item { height: 46px; display: flex; align-items: center; gap: 15px; padding: 0 16px; border-radius: 13px; color: #778293; font-size: 14px; font-weight: 600; transition: .2s ease; }
.nav-item:hover, .nav-item.active { color: var(--blue); background: #f0f5ff; }
.nav-icon { width: 17px; font-size: 22px; font-weight: 400; text-align: center; line-height: 1; }
.nav-badge { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); font-size: 11px; }
.nav-badge.dot { width: 6px; height: 6px; background: #ef7e72; }
.sidebar-divider { margin: 30px 16px 26px; border-top: 1px solid var(--line); }
.nav-label, .eyebrow { margin: 0 16px 12px; color: #b1b8c3; font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.sidebar-bottom { margin-top: auto; }
.upgrade-card { padding: 18px 17px; border-radius: 15px; background: linear-gradient(145deg, #f1f4ff, #faf8ff); }
.upgrade-spark { color: var(--purple); font-size: 17px; }
.upgrade-card strong { display: block; margin: 10px 0 5px; font-size: 13px; }
.upgrade-card p { margin: 0 0 13px; color: #8590a4; font-size: 11px; line-height: 1.5; }
.text-button { padding: 0; color: var(--blue); background: none; font-size: 11px; font-weight: 700; }
.text-button span { padding-left: 7px; font-size: 15px; }
.mini-profile { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding: 0 8px; }
.mini-profile strong, .mini-profile small { display: block; }
.mini-profile strong { font-size: 12px; }
.mini-profile small { margin-top: 3px; color: #a4adba; font-size: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; }
.avatar-user { background: linear-gradient(140deg, #ffc5ae, #a66c80); }
.avatar-derya { background: linear-gradient(140deg, #a5baf7, #5566aa); }
.avatar-mert, .story-mert { background: linear-gradient(140deg, #f1ae87, #ba6657); }
.avatar-selin, .story-selin { background: linear-gradient(140deg, #8bc6bc, #4b8e8f); }
.avatar-can, .story-can { background: linear-gradient(140deg, #d4aeed, #715ba5); }
.avatar-aysu { background: linear-gradient(140deg, #f1c58d, #d68077); }
.more-button { margin-left: auto; padding: 8px; color: #aeb6c2; background: none; letter-spacing: 2px; }
.mini-profile { position: relative; }
.profile-menu { position: absolute; right: 0; bottom: 44px; z-index: 15; display: none; width: 180px; padding: 7px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.profile-menu.open { display: grid; gap: 2px; }
.profile-menu button { padding: 10px 11px; border-radius: 8px; color: var(--ink); background: transparent; text-align: left; font-size: 11px; }
.profile-menu button:hover { background: var(--surface-soft); }
.profile-menu .danger-menu-item { color: #c52f42; }
.main-content { min-width: 0; flex: 1; }
.topbar { height: 88px; padding: 0 4.8%; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; background: var(--surface); }
.mobile-brand { display: none; }
.search-box { width: min(620px, 58vw); max-width: none; height: 46px; display: flex; align-items: center; gap: 10px; margin: 0 auto; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; color: #b3bcc9; background: var(--surface-soft); }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.search-box kbd { display: none; }
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); font-size: 11px; font-weight: 700; transition: .2s ease; }
.theme-toggle:hover { color: var(--blue); border-color: #a9c1fa; transform: translateY(-1px); }
.login-button { margin-left: 0; }
.login-button { margin-left: 0; padding: 12px 8px; color: var(--muted); background: none; font-size: 12px; font-weight: 600; }
.primary-button { padding: 12px 18px; border-radius: 10px; color: #fff; background: var(--blue); box-shadow: 0 7px 16px rgba(57,117,246,.18); font-size: 12px; font-weight: 700; transition: .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(57,117,246,.27); }
.primary-button span { margin-left: 9px; font-size: 16px; vertical-align: -1px; }
.page-grid { max-width: 1190px; margin: 0 auto; padding: 45px 4.8% 30px; display: grid; grid-template-columns: minmax(0, 1fr) 332px; gap: 64px; }
.welcome-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.welcome-row .eyebrow { margin-left: 0; margin-bottom: 12px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-family: Manrope, sans-serif; font-size: 25px; letter-spacing: -.8px; }
h1 span { color: #f2c16a; font-size: 21px; }
h2 { margin-bottom: 0; font-family: Manrope, sans-serif; font-size: 14px; letter-spacing: -.2px; }
.muted { color: var(--muted); font-size: 12px; }
.welcome-row .muted { margin-bottom: 0; }
.round-action { width: 38px; height: 38px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 22px; box-shadow: 0 7px 16px rgba(57,117,246,.2); }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-heading a { color: var(--blue); font-size: 11px; font-weight: 600; }
.section-heading a span { margin-left: 5px; font-size: 15px; }
.stories { display: flex; gap: 18px; overflow-x: auto; padding: 3px 2px 13px; }
.stories::-webkit-scrollbar { display: none; }
.story { min-width: 53px; display: flex; align-items: center; flex-direction: column; gap: 7px; background: none; font-size: 10px; color: #758094; }
.story-avatar { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; }
.empty-stories { align-self: center; color: var(--muted); font-size: 11px; }
.has-story { border: 2px solid #fff; outline: 2px solid var(--blue); }
.add-avatar { border: 1px dashed #aeb7c7; color: var(--blue); background: #f3f7ff; font-size: 22px; }
.story-deniz { background: linear-gradient(140deg, #8ac2df, #547bb3); }
.story-ece { background: linear-gradient(140deg, #f1c69a, #d88983); }
.composer-card { display: flex; align-items: center; gap: 12px; margin: 20px 0 30px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 5px 20px rgba(33,55,84,.025); }
.composer-input { flex: 1; padding: 9px 0; color: #a6afbd; background: none; text-align: left; font-size: 12px; }
.composer-icon { padding: 8px; color: #9da8b8; background: none; font-size: 19px; }
.feed-filter { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; gap: 22px; }
.filter-tab { position: relative; padding: 0 0 13px; color: #a0a9b6; background: none; font-size: 11px; font-weight: 600; }
.filter-tab.active { color: var(--ink); }
.filter-tab.active:after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: var(--blue); }
.filter-button { padding: 7px 0 13px; color: #98a1af; background: none; font-size: 11px; }
.post-list { display: grid; gap: 4px; }
.post-card { padding: 23px 0 19px; border-bottom: 1px solid var(--line); }
.post-header { display: flex; align-items: center; gap: 11px; }
.post-menu-wrap { position: relative; margin-left: auto; }.post-more { padding: 4px 8px; color: #9ca7b6; background: none; }.post-menu { position: absolute; right: 0; top: 28px; z-index: 3; display: none; min-width: 110px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); }.post-menu.open { display: grid; }.post-menu button { padding: 8px; color: var(--ink); background: none; text-align: left; font-size: 11px; }.post-menu .danger-menu-item { color: #b42335; }
.post-author strong, .post-author small { display: block; }
.post-author strong { font-size: 12px; }
.post-author small { margin-top: 4px; color: #a0a9b6; font-size: 10px; }
.verified { color: #fff; background: var(--blue); display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; font-size: 8px; }
.post-text { margin: 14px 0 13px 49px; color: #4f5c6d; font-size: 12px; line-height: 1.65; }
.post-media { display: block; width: calc(100% - 49px); max-height: 420px; margin: 0 0 17px 49px; border-radius: 12px; object-fit: cover; background: #f3f6fa; }
.connection-note { margin: 0 0 18px 49px; padding: 9px 12px; border-radius: 8px; color: #8190a3; background: #f7faff; font-size: 10px; }
.connection-note span { margin-right: 6px; color: var(--blue); font-size: 17px; vertical-align: -2px; }
.connection-note b { color: var(--blue); }
.topic-tags { margin: 0 0 17px 49px; display: flex; gap: 7px; }
.topic-tags span { padding: 5px 8px; border-radius: 5px; color: #7484a0; background: #f2f5fb; font-size: 10px; }
.post-actions { margin-left: 49px; display: flex; align-items: center; gap: 28px; }
.post-actions button { padding: 0; color: #a6afbc; background: none; font-size: 17px; transition: .2s ease; }
.post-actions button:hover, .post-actions button.liked { color: #ee7f87; }
.post-actions button span { margin-left: 5px; font-size: 10px; vertical-align: 2px; }
.post-actions .save-button { margin-left: auto; }
.comments { margin: 12px 0 0 49px; padding: 10px; border-radius: 9px; background: var(--surface-soft); }.comment-list { display: grid; gap: 8px; }.comment { display: grid; gap: 2px; font-size: 11px; }.comment strong { font-size: 10px; }.comment span { color: var(--muted); }.comment-form, .message-form, .new-message-form { display: flex; gap: 7px; margin-top: 10px; }.comment-form input, .message-form input, .new-message-form input { flex: 1; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); }.comment-form button, .message-form button, .new-message-form button { padding: 7px 10px; border-radius: 7px; color: #fff; background: var(--blue); font-size: 10px; }
.messages-layout { display: grid; grid-template-columns: 220px 1fr; gap: 14px; min-height: 260px; }.conversation-list { border-right: 1px solid var(--line); }.conversation-item { display: grid; width: 100%; gap: 4px; padding: 11px; border-bottom: 1px solid var(--line); color: var(--ink); background: none; text-align: left; }.conversation-item small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.message-list { display: grid; align-content: start; gap: 8px; max-height: 300px; overflow: auto; }.message { display: grid; gap: 2px; width: fit-content; max-width: 85%; padding: 8px 10px; border-radius: 9px; background: var(--surface-soft); font-size: 11px; }.message.mine { margin-left: auto; background: #eaf0ff; }.message strong { font-size: 9px; color: var(--blue); }
.right-column { display: grid; align-content: start; gap: 25px; padding-top: 13px; }
.network-card, .suggestions-card, .education-card { padding: 21px; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); }
.network-card { overflow: hidden; background: linear-gradient(145deg, #fbfdff, #fff); }
.network-card-heading { display: flex; justify-content: space-between; }
.network-card .eyebrow { margin: 0 0 8px; }
.network-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--blue); background: #eff4ff; font-size: 20px; }
.network-visual { position: relative; width: 240px; height: 155px; margin: 10px auto 5px; }
.orbit { position: absolute; border: 1px dashed #c9d8fa; border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { inset: 25px 15px; }.orbit-two { inset: 4px 39px; transform: rotate(55deg); }.orbit-three { inset: 40px 42px; transform: rotate(-55deg); }
.network-center, .network-node { position: absolute; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 9px; font-weight: 700; box-shadow: 0 4px 12px rgba(60, 100, 180, .18); }
.network-center { top: 60px; left: 105px; width: 42px; height: 42px; z-index: 1; background: linear-gradient(140deg, #ffc5ae, #a66c80); border: 3px solid #fff; }
.network-node { width: 29px; height: 29px; border: 2px solid #fff; }
.node-one { top: 12px; left: 99px; background: #d38470; }.node-two { top: 64px; left: 25px; background: #667dbb; }.node-three { top: 117px; left: 83px; background: #4b8e8f; }.node-four { top: 73px; right: 19px; background: #765fa5; }.node-five { top: 22px; right: 33px; color: #6882ba; background: #e6efff; font-size: 8px; }
.network-stats { display: flex; justify-content: space-between; padding: 10px 0 17px; border-top: 1px solid var(--line); }
.network-stats div { display: grid; gap: 4px; }.network-stats strong { font-family: Manrope, sans-serif; font-size: 17px; }.network-stats span { color: #a0a9b6; font-size: 9px; }
.outline-button { width: 100%; padding: 10px; border: 1px solid #dce6ff; border-radius: 8px; color: var(--blue); background: #f8faff; font-size: 11px; font-weight: 700; }.outline-button span { margin-left: 8px; font-size: 15px; }
.suggestions-card .section-heading { margin-bottom: 16px; }.suggestions-card .section-heading a { font-size: 10px; }
.suggestion { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f2f5; }.suggestion:last-child { border-bottom: 0; }
.suggestion-info { min-width: 0; flex: 1; }.suggestion-info strong, .suggestion-info small, .suggestion-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.suggestion-info strong { font-size: 11px; }.suggestion-info small { margin-top: 3px; color: #919baa; font-size: 9px; }.suggestion-info span { margin-top: 4px; color: var(--blue); font-size: 9px; }
.empty-card, .empty-feed { padding: 16px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.empty-feed { padding: 28px 0; text-align: center; border-bottom: 1px solid var(--line); }
.follow-button { width: 27px; height: 27px; border: 1px solid #dce6ff; border-radius: 8px; color: var(--blue); background: #f8faff; font-size: 17px; }
.education-card .section-heading button { padding: 0; color: #aeb7c5; background: none; }.timeline { position: relative; padding-left: 19px; }.timeline:before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 5px; width: 1px; background: #e0e7f0; }.timeline-item { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }.timeline-item:last-child { padding-bottom: 4px; }.timeline-dot { position: absolute; left: -19px; top: 3px; width: 9px; height: 9px; border: 2px solid #dce4f2; border-radius: 50%; background: #fff; }.timeline-dot.current { border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 4px #eaf0ff; }.timeline-item strong, .timeline-item small { display: block; }.timeline-item strong { font-size: 10px; }.timeline-item small { margin-top: 5px; color: #9aa4b3; font-size: 9px; line-height: 1.4; }.add-education { margin-top: 11px; }
.footer-links { max-width: 1190px; margin: 0 auto; padding: 10px 4.8% 28px; color: #b2bac5; font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; padding: 13px 18px; border-radius: 10px; color: #fff; background: #1d293b; box-shadow: var(--shadow); font-size: 12px; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .25s ease; }.toast.visible { opacity: 1; transform: translateY(0); }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(20,29,43,.45); opacity: 0; pointer-events: none; transition: .25s ease; }.modal-backdrop.open { opacity: 1; pointer-events: auto; }.auth-modal { position: relative; width: min(100%, 410px); padding: 32px; border-radius: 18px; background: #fff; box-shadow: 0 25px 80px rgba(19,38,70,.25); transform: translateY(15px) scale(.98); transition: .25s ease; }.profile-edit-modal { width: min(100%, 520px); padding: 36px; }.profile-edit-modal h2 { margin-bottom: 24px; }.profile-edit-modal form { grid-template-columns: 1fr 1fr; gap: 18px; }.profile-edit-modal > form > label:nth-of-type(3), .profile-edit-modal > form > label:nth-of-type(4), .profile-edit-modal > form > button { grid-column: 1 / -1; }.profile-edit-modal > form > label:has(#profile-bio) { grid-column: 1 / -1; }.profile-edit-modal textarea, .auth-modal select { width: 100%; min-height: 92px; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; outline: 0; resize: vertical; color: var(--ink); font: inherit; font-size: 12px; }.auth-modal select { min-height: auto; }.open .auth-modal { transform: translateY(0) scale(1); }.modal-close { position: absolute; top: 14px; right: 16px; color: #9ca7b6; background: none; font-size: 25px; }.auth-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-family: Manrope, sans-serif; font-weight: 800; }.auth-brand .brand-mark { width: 27px; height: 27px; font-size: 18px; }.auth-modal .eyebrow { margin: 0 0 10px; }.auth-modal h2 { margin-bottom: 8px; font-size: 23px; }.auth-modal .muted { line-height: 1.5; }.auth-tabs { display: flex; gap: 20px; margin: 26px 0 20px; border-bottom: 1px solid var(--line); }.auth-tab { position: relative; padding: 0 0 12px; color: #a4aebb; background: none; font-size: 12px; font-weight: 700; }.auth-tab.active { color: var(--blue); }.auth-tab.active:after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--blue); }.auth-modal form { display: grid; gap: 14px; }.auth-modal label { display: grid; gap: 7px; color: #5f6a7a; font-size: 11px; font-weight: 600; }.auth-modal input { width: 100%; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; outline: 0; color: var(--ink); font-size: 12px; transition: .2s ease; }.auth-modal input:focus, .auth-modal textarea:focus, .auth-modal select:focus { border-color: #9cbaff; box-shadow: 0 0 0 3px #edf3ff; }.full-width { width: 100%; margin-top: 6px; }.terms { display: block; margin-top: 18px; color: #a7afbb; text-align: center; font-size: 10px; }
.profile-education-fields { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.profile-education-fields legend { grid-column: 1 / -1; padding: 0 5px; color: #5f6a7a; font-size: 11px; font-weight: 700; }
.profile-photo-control { display: flex; grid-column: 1 / -1; align-items: center; gap: 14px; }
.profile-photo-control .avatar { width: 58px; height: 58px; background-size: cover; background-position: center; }
.secondary-button { padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface-soft); font-size: 11px; font-weight: 700; }
.secondary-button:hover { border-color: #a9c1fa; color: var(--blue); }
.crop-modal { width: min(100%, 430px); }
.crop-stage { width: min(100%, 320px); margin: 18px auto; overflow: hidden; border-radius: 50%; background: #101827; box-shadow: 0 0 0 5px #edf3ff; aspect-ratio: 1; }
.crop-stage canvas { display: block; width: 100%; height: 100%; }
.crop-zoom { display: grid; gap: 8px; color: #5f6a7a; font-size: 11px; }
.crop-zoom input { width: 100%; padding: 0; accent-color: var(--blue); }
.crop-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.profile-edit-modal { max-height: calc(100vh - 40px); overflow-y: auto; }
.profile-edit-modal::-webkit-scrollbar { width: 10px; }
.profile-edit-modal::-webkit-scrollbar-track { margin: 10px 0; border-radius: 999px; background: #eef2f7; }
.profile-edit-modal::-webkit-scrollbar-thumb { border: 2px solid #eef2f7; border-radius: 999px; background: #b9c4d4; }
.profile-page-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 30px; }
.profile-page-avatar { width: 112px; height: 112px; flex: 0 0 112px; border-radius: 50%; object-fit: cover; }
.profile-page-info { min-width: 0; flex: 1; }
.profile-page-info .panel-kicker { margin-left: 0; }
.profile-page-username { margin: -2px 0 12px; color: var(--muted); font-size: 12px; }
.profile-stats { display: flex; gap: 28px; margin: 18px 0 20px; }
.profile-stats div { display: grid; gap: 4px; min-width: 58px; justify-items: center; text-align: center; }
.profile-stat-button { display: grid; gap: 4px; min-width: 58px; justify-items: center; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: center; cursor: pointer; }
.profile-stat-button:hover strong, .profile-stat-button:hover span { color: var(--blue); }
.profile-stats strong { font-family: Manrope, sans-serif; font-size: 18px; }
.profile-stats span { color: var(--muted); font-size: 10px; }
.profile-page-bio { margin: 0 0 18px; }
.profile-tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 14px; border-bottom: 1px solid var(--line); }
.profile-tab { padding: 7px 14px; color: var(--muted); background: none; border-bottom: 2px solid transparent; font-size: 11px; font-weight: 700; }
.profile-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.profile-person { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-person strong, .profile-person small { display: block; }
.profile-person small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.profile-people-modal { width: min(100%, 430px); max-height: min(560px, calc(100vh - 40px)); overflow-y: auto; }
.profile-people-list { max-height: 350px; overflow-y: auto; }
.profile-posts-title { margin: 0 0 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.profile-post-list { display: grid; }
.profile-post-list .post-card { padding-top: 14px; }
.profile-follow-button { width: auto; min-width: 72px; padding: 7px 9px; font-size: 10px; }
.guest-mode .app-shell { visibility: hidden; }
.auth-checking .app-shell { visibility: hidden; }
.auth-gate { z-index: 30; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 92px 20px 82px; background: linear-gradient(120deg, rgba(13,20,36,.72), rgba(27,39,67,.35)), url("Giriş%20Ekranı.jpeg") center / cover no-repeat; }
.auth-gate.open { opacity: 1; }
.auth-gate .auth-modal { max-height: calc(100vh - 150px); overflow: auto; }
.auth-gate .auth-modal::-webkit-scrollbar { width: 9px; }
.auth-gate .auth-modal::-webkit-scrollbar-track { margin: 12px 0; border-radius: 999px; background: #f1f4f8; }
.auth-gate .auth-modal::-webkit-scrollbar-thumb { border: 2px solid #f1f4f8; border-radius: 999px; background: #c5cedc; }
.auth-gate .auth-modal { scrollbar-width: thin; scrollbar-color: #c5cedc #f1f4f8; }
.auth-gate::-webkit-scrollbar { width: 12px; }
.auth-gate::-webkit-scrollbar-track { margin: 8px 0; border-radius: 999px; background: rgba(238,242,247,.7); }
.auth-gate::-webkit-scrollbar-thumb { border: 3px solid rgba(238,242,247,.7); border-radius: 999px; background: rgba(185,196,212,.95); }
.auth-gate { scrollbar-width: thin; scrollbar-color: #b9c4d4 rgba(238,242,247,.7); }
.gate-header { position: absolute; top: 28px; left: 50%; display: flex; align-items: center; gap: 12px; color: #fff; font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; letter-spacing: .5px; transform: translateX(-50%); }
.gate-header img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.gate-footer { position: absolute; bottom: 27px; left: 50%; display: flex; gap: 20px; transform: translateX(-50%); }
.gate-footer button, .auth-link { padding: 0; color: #fff; background: transparent; font-size: 11px; }
.auth-modal .auth-link { color: var(--blue); font-weight: 700; }
.auth-create-copy { margin: 18px 0 0; color: #8c97a8; text-align: center; font-size: 11px; }
.auth-login-prompt { display: none; }
body.dark-mode { --ink: #edf2fb; --muted: #9daac0; --line: #2a3547; --soft: #111a28; --surface: #172131; --surface-soft: #1d2939; --text-soft: #c1cad8; --shadow: 0 16px 45px rgba(0, 0, 0, .24); background: #0f1724; }
body.dark-mode .app-shell, body.dark-mode .main-content { background: #0f1724; }
body.dark-mode .nav-item { color: #a9b5c8; }
body.dark-mode .nav-item:hover, body.dark-mode .nav-item.active { color: #8eb1ff; background: #202e49; }
body.dark-mode .upgrade-card, body.dark-mode .network-card { background: linear-gradient(145deg, #1d2a42, #172131); }
body.dark-mode .post-text { color: var(--text-soft); }
body.dark-mode .connection-note { background: #1c2a40; }
body.dark-mode .topic-tags span { color: #b4c2d8; background: #243249; }
body.dark-mode .add-avatar { background: #1c2a40; }
body.dark-mode .post-media { background: #1b2738; }
body.dark-mode .modal-backdrop:not(.auth-gate) { background: rgba(3, 8, 16, .72); }
body.dark-mode .auth-modal, body.dark-mode .section-panel { color: var(--ink); background: var(--surface); }
body.dark-mode .auth-modal input, body.dark-mode .auth-modal textarea, body.dark-mode .auth-modal select { color: var(--ink); border-color: var(--line); background: var(--surface-soft); }
body.dark-mode .auth-modal input::placeholder, body.dark-mode .search-box input::placeholder { color: #8290a6; }
body.dark-mode .profile-edit-modal textarea, body.dark-mode .auth-modal select { color: var(--ink); background: var(--surface-soft); }
body.dark-mode .gate-footer button { color: #fff; }
body.dark-mode .profile-education-fields { border-color: var(--line); }
body.dark-mode .secondary-button { color: var(--ink); border-color: var(--line); background: var(--surface-soft); }
body.dark-mode .section-panel-inner,
body.dark-mode .panel-list-item { color: var(--ink); border-color: var(--line); background: #1d2f50; }
body.dark-mode .section-panel-inner { background: #0f1724; }
body.dark-mode .panel-tile { color: var(--ink); border-color: var(--line); background: #1d2f50; }
body.dark-mode .panel-tile small,
body.dark-mode .panel-list-item small { color: #b8c8e2; }
.registration-education { display: grid; gap: 10px; margin: 2px 0; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; }.registration-education legend { padding: 0 5px; color: #5f6a7a; font-size: 11px; font-weight: 700; }.registration-education label { font-size: 10px; }.logout-button { width: 100%; margin-top: 18px; padding: 10px; border: 1px solid #f0c9cf; border-radius: 8px; color: #b42335; background: #fff7f8; font-size: 12px; font-weight: 700; }
.mobile-menu { display: none; }
.post-modal textarea { width: 100%; min-height: 130px; resize: vertical; padding: 13px; border: 1px solid var(--line); border-radius: 10px; outline: 0; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; }
.post-modal textarea:focus { border-color: #9cbaff; box-shadow: 0 0 0 3px #edf3ff; }
.post-form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; color: #9ca7b6; font-size: 10px; }
.auth-modal textarea, .auth-modal select { width: 100%; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; outline: 0; color: var(--ink); background: #fff; font-size: 12px; }
.auth-modal textarea { min-height: 80px; resize: vertical; }.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.section-panel { position: fixed; inset: 0; z-index: 8; display: grid; place-items: center; padding: 22px; background: rgba(20,29,43,.38); opacity: 0; pointer-events: none; transition: .25s ease; }
.section-panel.open { opacity: 1; pointer-events: auto; }
.section-panel-inner { position: relative; width: min(720px, 100%); max-height: min(720px, 90vh); overflow: auto; padding: 34px; border-radius: 20px; background: #fff; box-shadow: 0 25px 80px rgba(19,38,70,.25); transform: translateY(12px); transition: .25s ease; }
.section-panel.open .section-panel-inner { transform: translateY(0); }
.profile-page-panel { padding: 0; background: var(--surface); }
.profile-page-panel .section-panel-inner { width: min(920px, 100%); max-height: 100vh; min-height: 100vh; padding: 52px 52px 52px; border-radius: 0; background: var(--surface); box-shadow: none; }
.profile-page-panel .panel-close { top: 24px; left: 30px; right: auto; }
.profile-page-panel .profile-page-header { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 24px; text-align: center; }
.profile-page-panel #profile-page-edit { display: block; margin: 0 auto; }
.profile-page-panel .profile-page-info { width: min(100%, 650px); }
.profile-page-panel .profile-page-info .panel-kicker { margin-left: 0; }
.profile-page-panel .profile-page-username { margin-bottom: 14px; }
.profile-page-panel .profile-stats { justify-content: center; }
.profile-page-panel .profile-posts-title { width: min(100%, 650px); margin-right: auto; margin-left: auto; text-align: center; }
.profile-page-panel .profile-post-list { width: min(100%, 650px); margin: 0 auto; }
.profile-page-panel .profile-tabs { width: min(100%, 650px); }
.toast { display: none !important; }
.modal-backdrop, .modal-backdrop.open, .auth-modal, .open .auth-modal, .section-panel, .section-panel.open, .section-panel-inner, .section-panel.open .section-panel-inner { transition: none !important; transform: none !important; }
.panel-close { position: absolute; top: 15px; left: 18px; right: auto; padding: 4px 8px; color: #9ca7b6; background: none; font-size: 25px; }
.panel-kicker { margin: 0 0 8px; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.panel-title { margin: 0 0 8px; font-family: Manrope, sans-serif; font-size: 26px; letter-spacing: -.8px; }
.panel-subtitle { margin: 0 0 25px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.panel-tile { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }
.panel-tile strong, .panel-tile small { display: block; }.panel-tile strong { font-size: 13px; }.panel-tile small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.panel-list { display: grid; gap: 10px; }.panel-list-item { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 11px; }.panel-list-item > div:last-child { flex: 1; }.panel-list-item strong, .panel-list-item small { display: block; }.panel-list-item strong { font-size: 12px; }.panel-list-item small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }.settings-row:last-child { border-bottom: 0; }.settings-row strong, .settings-row small { display: block; }.settings-row strong { font-size: 12px; }.settings-row small { margin-top: 4px; color: var(--muted); font-size: 10px; }.switch { width: 38px; height: 22px; padding: 3px; border-radius: 20px; background: #d9e1ec; }.switch.on { background: var(--blue); }.switch:after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; }.switch.on:after { transform: translateX(16px); }
@media (max-width: 560px) { .section-panel-inner { padding: 28px 20px; }.profile-page-panel .section-panel-inner { padding: 56px 20px 32px; }.profile-page-panel .panel-close { top: 18px; left: 16px; right: auto; }.panel-grid { grid-template-columns: 1fr; }.panel-title { font-size: 22px; }.profile-page-header { display: block; }.profile-page-panel .profile-page-header { display: flex; }.profile-page-avatar { margin-bottom: 18px; }.profile-stats { gap: 18px; }.profile-edit-modal { max-height: calc(100vh - 20px); } }
@media (max-width: 1050px) { .page-grid { gap: 30px; }.sidebar { width: 220px; flex-basis: 220px; }.network-visual { transform: scale(.9); margin: 0 auto -2px; } }
@media (max-width: 840px) { .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 12; display: flex; width: 254px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 12px 0 35px rgba(35,53,83,.12); }.sidebar.mobile-open { transform: translateX(0); }.mobile-brand { display: flex; margin-right: auto; font-size: 21px; }.topbar { height: 70px; padding: 0 20px; }.search-box { max-width: none; width: min(560px, 72vw); order: 3; }.login-button, .top-signup { display: none; }.mobile-menu { display: block; order: 2; padding: 5px; color: #748095; background: none; font-size: 20px; }.page-grid { display: block; max-width: 650px; padding: 35px 24px; }.right-column { display: grid; grid-template-columns: 1fr 1fr; padding-top: 35px; }.education-card { grid-column: span 2; }.footer-links { padding: 10px 24px 28px; } }
@media (max-width: 560px) { .topbar { flex-wrap: wrap; height: auto; padding: 16px 18px; gap: 8px; }.mobile-brand { margin-right: 0; }.mobile-menu { margin-left: auto; }.search-box { max-width: none; width: 100%; order: 3; flex-basis: 100%; }.page-grid { padding: 28px 18px; }.welcome-row { align-items: flex-start; }.welcome-row h1 { font-size: 21px; }.right-column { display: block; }.right-column > section { margin-bottom: 20px; }.education-card { margin-bottom: 0 !important; }.post-text, .connection-note, .topic-tags, .post-actions { margin-left: 0; }.post-actions { gap: 20px; }.filter-tabs { gap: 14px; }.filter-tab, .filter-button { font-size: 10px; }.auth-modal, .profile-edit-modal { padding: 26px 22px; }.profile-edit-modal form, .profile-education-fields { grid-template-columns: 1fr; }.profile-edit-modal label, .profile-edit-modal button, .profile-education-fields legend { grid-column: auto; }.auth-gate { padding: 84px 14px 76px; }.gate-header { top: 20px; left: 50%; }.gate-footer { right: auto; bottom: 20px; left: 50%; gap: 12px; } }

/* Sidebar destinations are full views inside the main content, not overlays. */
.nav-icon svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-icon svg { width: 16px; height: 16px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.main-content.show-section-page .page-grid, .main-content.show-section-page > .footer-links { display: none; }
.section-panel { position: static; display: none; min-height: calc(100vh - 88px); padding: 0; background: var(--surface); opacity: 1; pointer-events: auto; }
.section-panel.open { display: block; }
.section-panel-inner { width: min(980px, 100%); min-height: calc(100vh - 88px); max-height: none; margin: 0 auto; overflow: auto; padding: 54px 6%; border-radius: 0; background: var(--surface); box-shadow: none; }
.panel-close { top: 22px; left: 6%; right: auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; color: var(--blue); font-size: 13px; font-weight: 700; }
.panel-close span { font-size: 11px; }
.action-icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.post-actions button { display: inline-flex; align-items: center; gap: 6px; }
.message-profile-button { display: inline-flex; align-items: center; gap: 5px; }
.message-profile-button .action-icon { width: 14px; height: 14px; }
