.profile-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 20px}
.profile-tab{display:inline-flex;align-items:center;min-height:30px;font-size:13px;padding:0 16px;border:1px solid #d6d6d6;border-radius:999px;background:#fff;color:#222;text-decoration:none}
.profile-tab:hover{border-color:#2f69b3;color:#2f69b3}
.profile-tab--active{border-color:#2f69b3;color:#2f69b3;box-shadow:0 6px 18px rgba(47,105,179,.08)}

.profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.profile-empty{padding:18px;border:1px dashed #d0d0d0;border-radius:12px;background:#fafafa;color:#444}
.profile-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;z-index:999}
.profile-action-btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border:1px solid #d6d6d6;border-radius:999px;background:#fff;color:#222;text-decoration:none;cursor:pointer;transition:all .2s ease}
.profile-action-btn--active{border-color:#2f69b3;background:#2f69b3;color:#fff;font-weight:700}
.profile-comments-list{display:grid;gap:16px}
.profile-comment-card{padding:16px;border:1px solid #e2e2e2;border-radius:12px;background:#fff}
.profile-comment-card__meta{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;color:#666;font-size:13px}
.profile-comment-card__target{margin-bottom:10px;font-weight:700}
.profile-comment-card__text{line-height:1.5;color:#222}
.profile-comment-card__notice{margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff3cd;color:#7a5a00}
.follow-box {margin-bottom: 18px;}
.follow-box__title {margin: 0 0 10px;font-size: 16px;font-weight: 700;color: #1f2d3d;}
.follow-source-list {display: grid;gap: 10px;}
.follow-source-item {display: flex;flex-wrap: wrap;gap: 8px 12px;align-items: center;padding: 12px 14px;border: 1px solid #e5e9f2;border-radius: 14px;background: #fff;text-decoration: none;}
.follow-source-item__name {font-size: 15px;font-weight: 700;color: #2f5f9f;}
.follow-source-item__date {font-size: 13px;color: #7a8599;}
.follow-switcher { position: relative; display: inline-block; margin-bottom: 24px; z-index: 20; }
.follow-switcher__top {display: inline-flex;align-items: center;gap: 8px;}
.follow-switcher__title { margin: 0; display: inline-block; font-size: 18px; font-weight: 700; line-height: 1; color: #1f2d3d; vertical-align: middle; }
.follow-switcher__toggle { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; flex: 0 0 18px; vertical-align: middle; position: relative; top: 1px; }
.follow-switcher__toggle-link {width: 18px;height: 18px;display: inline-flex;align-items: center;justify-content: center;text-decoration: none;}
.follow-switcher__toggle-icon { width: 14px; height: 14px; display: block; }
.follow-switcher__toggle-icon path { fill: none; stroke: #1f2d3d; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.follow-switcher.is-open .follow-switcher__toggle { transform: rotate(180deg); }
.follow-switcher__menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; background: #fff; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 10px 0; z-index: 50; }
.follow-switcher__item { display: block; padding: 14px 22px; font-size: 16px; font-weight: 600; color: #2f5f9f; text-decoration: none; white-space: nowrap; }
.follow-switcher__item:hover { background: #f5f7fb; }
.follow-switcher--link {margin-bottom: 18px;}
.follow-feed-list{display:grid;gap:12px}
.follow-feed-item{padding:0;border-radius:12px}
.follow-feed-item__meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:6px;color:#5f6b76;font-size:13px}
.follow-feed-item__label{font-weight:700;color:#2d3d4f}
.follow-feed-item__meta a{color:#2f69b3;text-decoration:none}
.follow-feed-item__date{color:#7c8791}
.profile-pagination{margin-top:16px}
@media (max-width: 640px){.profile-actions{flex-direction:column;align-items:stretch}.profile-action-btn{width:100%}}
