/**
 * Gantomo SNS — BuddyBoss / ReadyLaunch オーバーライド（ニュートラル）
 */

body.gantomo-sns-theme.gantomo-sns-readylaunch.bb-readylaunch-template {
  background: var(--gs-bg) !important;
  font-family: var(--gs-font-sans) !important;
}

body.gantomo-sns-readylaunch .bb-readylaunch {
  background: transparent !important;
}

body.gantomo-sns-readylaunch .bb-rl-header {
  background: rgba(251, 250, 248, 0.92) !important;
  border-bottom: 1px solid var(--gs-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}

body.gantomo-sns-readylaunch .bb-rl-header .bb-rl-site-branding .logo--community .gs-community-logo__name {
  font-size: 1.5rem !important;
}

body.gantomo-sns-readylaunch .bb-rl-header .bb-rl-site-branding .logo--community .gs-community-logo__tagline {
  font-size: 0.8rem !important;
  max-height: none !important;
}

body.gantomo-sns-readylaunch .bb-rl-header .bb-rl-site-branding a,
body.gantomo-sns-readylaunch .bb-readylaunch-menu a {
  color: var(--gs-ink) !important;
  font-weight: 600 !important;
}

body.gantomo-sns-readylaunch .bb-readylaunch-menu .current-menu-item > a,
body.gantomo-sns-readylaunch .bb-readylaunch-menu a:hover {
  color: var(--gs-accent) !important;
}

body.gantomo-sns-readylaunch .bb-rl-left-panel,
body.gantomo-sns-readylaunch .bb-rl-left-sidebar {
  background: var(--gs-surface) !important;
  border-color: var(--gs-line) !important;
}

body.gantomo-sns-readylaunch .bb-rl-left-panel .bb-readylaunchpanel-menu li.selected > a,
body.gantomo-sns-readylaunch .bb-rl-left-panel .bb-readylaunchpanel-menu li > a:hover,
body.gantomo-sns-readylaunch .bb-rl-left-panel .bb-readylaunchpanel-menu .current-menu-item > a {
  background: var(--gs-accent-soft) !important;
  color: var(--gs-accent) !important;
  border-radius: var(--gs-radius-sm) !important;
}

body.gantomo-sns-readylaunch .bb-rl-left-panel .bb-readylaunchpanel-menu a {
  font-size: 0.92rem !important;
  padding: 0.5rem 0.65rem !important;
}

body.gantomo-sns-readylaunch .bb-rl-main,
body.gantomo-sns-readylaunch .bb-rl-content-area,
body.gantomo-sns-readylaunch .bb-rl-panel,
body.gantomo-sns-readylaunch .bb-rl-card,
body.gantomo-sns-readylaunch .widget,
body.gantomo-sns-readylaunch .bp-widget {
  background: var(--gs-surface) !important;
  border: 1px solid var(--gs-line) !important;
  border-radius: var(--gs-radius) !important;
  box-shadow: none !important;
}

body.gantomo-sns-readylaunch .bb-rl-button,
body.gantomo-sns-readylaunch .bb-rl-btn-primary,
body.gantomo-sns-readylaunch a.bb-rl-btn-primary,
body.gantomo-sns-readylaunch button.bb-rl-btn-primary,
#buddypress .button:not(.acomment-reply):not(.bp-like-button):not(.bp-primary-action),
#buddypress input[type="submit"]:not(.acomment-reply),
#buddypress a.button:not(.acomment-reply):not(.bp-like-button):not(.bp-primary-action) {
  background: var(--gs-accent) !important;
  border-color: var(--gs-accent) !important;
  color: #fff !important;
  border-radius: var(--gs-radius-pill) !important;
  font-weight: 600 !important;
}

body.gantomo-sns-readylaunch .bb-rl-button--secondaryFill,
body.gantomo-sns-readylaunch .bb-rl-button--tertiaryLink,
#buddypress .button.bp-secondary-action {
  background: var(--gs-surface) !important;
  color: var(--gs-accent) !important;
  border-color: var(--gs-line-strong) !important;
}

body.gantomo-sns-readylaunch a:not(.gs-btn):not(.logo) {
  color: var(--gs-accent);
}

body.gantomo-sns-readylaunch .activity-header a,
body.gantomo-sns-readylaunch .bp-list .item-title a {
  color: var(--gs-ink);
  font-weight: 600;
}

body.gantomo-sns-readylaunch input[type="text"],
body.gantomo-sns-readylaunch input[type="search"],
body.gantomo-sns-readylaunch input[type="email"],
body.gantomo-sns-readylaunch textarea,
body.gantomo-sns-readylaunch select,
#buddypress .standard-form input,
#buddypress .standard-form textarea {
  border: 1px solid var(--gs-line-strong) !important;
  border-radius: var(--gs-radius-sm) !important;
  background: #fff !important;
  font-size: 0.95rem !important;
}

body.gantomo-sns-readylaunch input:focus,
body.gantomo-sns-readylaunch textarea:focus,
#buddypress .standard-form input:focus {
  border-color: var(--gs-accent) !important;
  box-shadow: 0 0 0 3px var(--gs-focus-ring) !important;
  outline: none;
}

body.gantomo-sns-readylaunch #item-header,
body.gantomo-sns-readylaunch .groups-header {
  background: var(--gs-surface) !important;
  border: 1px solid var(--gs-line) !important;
  border-radius: var(--gs-radius) !important;
}

body.gantomo-sns-readylaunch .activity-list .activity-item,
body.gantomo-sns-readylaunch .bp-list li {
  border-color: var(--gs-line) !important;
  background: var(--gs-surface) !important;
}

body.gantomo-sns-readylaunch .activity-list .activity-item {
  padding: 1.15rem 1.25rem !important;
  margin-bottom: 0.65rem !important;
  border-radius: var(--gs-radius) !important;
  box-shadow: none !important;
}

body.gantomo-sns-readylaunch #buddypress .activity-list .activity-content {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  letter-spacing: 0.015em;
}

body.gantomo-sns-readylaunch .bb-rl-activity-form,
body.gantomo-sns-readylaunch #whats-new-form {
  border-radius: var(--gs-radius) !important;
  border: 1px solid var(--gs-line) !important;
  box-shadow: none !important;
  background: var(--gs-surface) !important;
}

body.gantomo-sns-readylaunch .bb-rl-notification-dropdown,
body.gantomo-sns-readylaunch .bb-rl-messages-dropdown {
  border-radius: var(--gs-radius) !important;
  border: 1px solid var(--gs-line) !important;
  box-shadow: var(--gs-shadow-lg) !important;
}

body.gantomo-sns-readylaunch .bb-rl-right-sidebar,
body.gantomo-sns-readylaunch .bb-rl-right-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
