.opinions-section { gap: 6px; margin-top: 10px; }

.tge-grid { display: grid; grid-auto-flow: column; grid-auto-columns: min-content; gap: 6px; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 10px; scroll-padding-right: 10px; -webkit-overflow-scrolling: touch; align-items: center; }
.tge-grid > .tge-add-btn { width: 26px; min-width: 26px; max-width: 26px; justify-self: start; }
.tge-grid:has(.tge-add-btn:first-child) { grid-template-columns: 26px; grid-auto-columns: min-content; }
.tge-grid > .tge-add-btn:first-child { grid-column: 1; }
.tge-grid > .tge-item:first-child { margin-left: 0; }
.tge-item { display: grid; gap: 6px; justify-items: center; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,0.65); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); scroll-snap-align: start; overflow: hidden; min-width: 60px; width: fit-content; }
.tge-item > * { min-width: 0; }
.tge-add-btn { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; min-width: 26px; border-radius: 7px; border: 1px solid var(--border); background: rgba(255,255,255,0.65); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); cursor: pointer; transition: all 160ms ease; flex-shrink: 0; scroll-snap-align: start; position: relative; grid-column: span 1; justify-self: start; }
.tge-add-btn:hover { background: rgba(255,255,255,0.75); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(17,24,39,0.08); }
.tge-add-btn::before, .tge-add-btn::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); border-radius: 2px; }
.tge-add-btn::before { width: 12px; height: 1.5px; }
.tge-add-btn::after { width: 1.5px; height: 12px; }
.tge-icon { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-3), var(--accent-1)); box-shadow: 0 4px 12px rgba(52,211,153,0.3); position: relative; }
.tge-icon.plus { background: rgba(255,255,255,0.65); box-shadow: 0 6px 12px rgba(17,24,39,0.08); }
.tge-icon.plus::before, .tge-icon.plus::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); border-radius: 2px; }
.tge-icon.plus::before { width: 18px; height: 2px; }
.tge-icon.plus::after { width: 2px; height: 18px; }
.tge-name { font-size: 11px; color: var(--text); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
@media (orientation: landscape) { .tge-grid { gap: 6px; grid-auto-columns: min-content; } .tge-item { padding: 6px 10px; min-width: 65px; } .tge-icon { width: 32px; height: 32px; } .tge-name { font-size: 11px; } }
/* 手机端优化：提高重点关注板块展示密度 */
@media (max-width: 767px) {
  .tge-grid {
    gap: 5px;
    grid-auto-columns: 70px;
    padding: 6px 8px;
    align-items: center;
  }
  .tge-item {
    padding: 5px 7px;
    min-width: 58px;
    gap: 4px;
    border-radius: 10px;
  }
  .tge-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }
  .tge-name {
    font-size: 10px;
    line-height: 1.1;
  }
  .tge-add-btn {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 7px;
  }
  .tge-add-btn::before {
    width: 12px;
    height: 1.5px;
  }
  .tge-add-btn::after {
    width: 1.5px;
    height: 12px;
  }
}

#profile-follow-star { width: auto; height: auto; padding: 0; background: transparent; border: none; box-shadow: none; }
#profile-follow-star span { font-size: 18px; line-height: 1; color: var(--muted); }
#profile-follow-star[data-focused="true"] span { color: var(--accent-2); }
#profile-follow-star.loading span { animation: starPulse 800ms ease-in-out infinite; transform-origin: center; }
@keyframes starPulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); color: var(--accent-2); } 100% { transform: scale(1); } }
#profile-follow-star[disabled] { cursor: default; opacity: 0.95; }

#profile-modal .segmented .tab { align-items: center; padding: 0 10px; }
#profile-modal .segmented .tab span { line-height: 1; }
#profile-modal .segmented .tab .tab-count { margin-left: 3px; }

