/* web/css/settings.css - Settings Sliding Menu & Start.gg Auth Styling */
/* Strictly <= 200 lines, <= 100 chars per line. */

.btn-startgg {
  background: #ff3e55;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 62, 85, 0.28);
  transition: all 0.15s ease;
  min-height: 48px;
  width: 100%;
}
.btn-startgg:hover {
  background: #e02f45;
  box-shadow: 0 6px 18px rgba(255, 62, 85, 0.4);
}
.btn-startgg:active { transform: scale(0.97); }

.settings-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--brush-border);
}
.settings-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--brush-border);
  object-fit: cover;
  background: #fff;
}
.settings-user-info { flex: 1; text-align: left; }
.settings-tag {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sumi-ink);
}
.settings-rank {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hanko-red);
  margin-top: 2px;
}

.settings-section-title {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sumi-faded);
  margin: 1.2rem 0 0.6rem 0;
  text-align: left;
}

.account-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.6rem;
  background: #fff;
  border: 1px solid var(--brush-border);
  border-radius: 8px;
  transition: border-color 0.15s ease;
}
.account-link-item:hover { border-color: var(--accent-gold); }

.account-col-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}
.account-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.account-icon.startgg { background: rgba(255, 62, 85, 0.1); color: #ff3e55; }
.account-icon.discord { background: rgba(88, 101, 242, 0.1); color: #5865f2; }
.account-icon.twitch { background: rgba(145, 70, 255, 0.1); color: #9146ff; }

.account-name-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sumi-ink);
}
.account-status-sub {
  font-size: 0.74rem;
  color: var(--sumi-faded);
}
.account-status-sub.connected {
  color: #2e7d32;
  font-weight: 600;
}

.btn-link-action {
  min-height: 44px;
  min-width: 72px;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--washi-bg);
  border: 1px solid var(--brush-border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--sumi-ink);
  transition: all 0.15s ease;
}
.btn-link-action:hover {
  background: var(--hanko-red);
  color: #fff;
  border-color: var(--hanko-red);
}
.btn-link-action:active { transform: scale(0.96); }

.btn-unlink-action {
  min-height: 44px;
  min-width: 64px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(184, 51, 36, 0.3);
  border-radius: 6px;
  color: var(--hanko-red);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-unlink-action:hover {
  background: var(--hanko-dim);
}
.btn-unlink-action:active { transform: scale(0.96); }

.pref-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0.9rem; margin-bottom: 0.5rem; background: #fff;
  border: 1px solid var(--brush-border); border-radius: 8px; text-align: left;
}
.pref-label { font-size: 0.85rem; font-weight: 700; color: var(--sumi-ink); }
.pref-desc { font-size: 0.72rem; color: var(--sumi-faded); }

.startgg-input-box { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.startgg-input {
  flex: 1; min-height: 44px; padding: 0.5rem 0.75rem;
  border: 1px solid var(--brush-border); border-radius: 6px;
  font-size: 0.86rem; background: #fff; color: var(--sumi-ink); outline: none;
}
.startgg-input:focus { border-color: #ff3e55; }

.btn-connect-tag {
  min-height: 44px; min-width: 80px; padding: 0.5rem 1rem; background: #ff3e55;
  color: #fff; border: none; border-radius: 6px; font-weight: 700;
  font-size: 0.84rem; cursor: pointer; transition: all 0.15s ease;
}
.btn-connect-tag:hover { background: #e02f45; }
.btn-connect-tag:active { transform: scale(0.96); }

.btn-logout-settings {
  margin-top: 1.2rem; width: 100%; min-height: 44px; background: #fbf0ee;
  color: var(--hanko-red); border: 1px solid rgba(184, 51, 36, 0.3);
  border-radius: 8px; font-weight: 700; cursor: pointer;
  transition: all 0.15s ease;
}
.btn-logout-settings:hover { background: var(--hanko-dim); }
.btn-logout-settings:active { transform: scale(0.97); }

.settings-notice {
  display: none; padding: 0.6rem 0.8rem; margin-bottom: 0.8rem;
  border-radius: 6px; font-size: 0.82rem; background: #fde8e8;
  color: #c53030; border: 1px solid #f8b4b4;
}
