/* ============================================================
   Mangajs Doacoes - Publico
   ============================================================ */

/* --- Pagina de doacoes --- */
.mjs-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.mjs-hero {
  background: linear-gradient(135deg, #0f1218 0%, #1a0f14 55%, #2a0f18 100%);
  border-bottom: 1px solid #262c38;
  padding: 3.5rem 1rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mjs-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.mjs-hero-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  position: relative;
}

.mjs-title {
  font-family: inherit;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.04em;
  color: #f1f1f1;
  margin: 0 0 0.6rem;
  position: relative;
}

.mjs-title span {
  color: #dc2626;
  background: linear-gradient(135deg, #f87171, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mjs-subtitle {
  color: #9aa3b2;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
}

.mjs-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  position: relative;
}

.mjs-features span {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.mjs-support {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #161a22 0%, #1a1418 100%);
  border: 1px solid #262c38;
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.mjs-support-gif {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.mjs-support-content p { color: #9aa3b2; margin: 0 0 0.5rem; }

.mjs-support-suggestion { display: flex; align-items: center; gap: 0.6rem; }

.mjs-suggestion {
  background: #0f1218;
  border: 1px solid #2a3140;
  border-radius: 10px;
  color: #c3c9d4;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mjs-suggestion:hover { border-color: #dc2626; color: #f1f1f1; transform: translateY(-1px); }
.mjs-suggestion.is-active { background: #dc2626; border-color: #dc2626; color: #fff; }
.mjs-suggestion.is-featured {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.35);
}

.mjs-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: start; }

.mjs-form-card {
  background: linear-gradient(135deg, #161a22 0%, #1a1418 100%);
  border: 1px solid #262c38;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.mjs-form-card h2 { margin: 0 0 1rem; font-size: 1.4rem; }

.mjs-notice {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-left: 3px solid #dc2626;
  border-radius: 10px;
  color: #c3c9d4;
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
}

.mjs-notice strong { color: #fca5a5; }

.mjs-form { display: flex; flex-direction: column; gap: 1rem; }

.mjs-field { display: flex; flex-direction: column; gap: 0.4rem; }
.mjs-field span { font-size: 0.85rem; color: #c3c9d4; font-weight: 500; }
.mjs-field input, .mjs-field textarea {
  background: #0f1218;
  border: 1px solid #2a3140;
  border-radius: 10px;
  color: #f1f1f1;
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mjs-field input:focus, .mjs-field textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.mjs-field small { color: #7c8494; font-size: 0.75rem; }

.mjs-suggestions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.mjs-submit {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.mjs-submit:hover { background: linear-gradient(135deg, #ef4444, #dc2626); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4); }
.mjs-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mjs-form-msg { color: #fca5a5; font-size: 0.85rem; margin: 0; min-height: 1em; }
.mjs-form-msg.is-error { color: #fca5a5; }

.mjs-login-required {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 10px;
  padding: 1rem;
}
.mjs-login-required-icon { font-size: 1.6rem; }
.mjs-login-required strong { color: #f1f1f1; display: block; }
.mjs-login-required p { color: #9aa3b2; font-size: 0.82rem; margin: 0.2rem 0 0; }
.mjs-login-required-actions { display: flex; flex-direction: column; gap: 0.4rem; }

.mjs-login-btn {
  background: #dc2626;
  color: #fff;
  border: 1px solid #dc2626;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.mjs-login-btn.is-outline { background: transparent; color: #dc2626; }

.mjs-section { background: linear-gradient(135deg, #161a22 0%, #14171e 100%); border: 1px solid #262c38; border-radius: 16px; padding: 1.2rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); }
.mjs-section h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.mjs-section h3 { font-size: 1rem; margin: 1rem 0 0.5rem; }

.mjs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }

.mjs-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #0f1218;
  border: 1px solid #262c38;
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.mjs-item:hover { border-color: #2a3140; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

.mjs-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626, #7f1d1d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}
.mjs-body { flex: 1; min-width: 0; }
.mjs-body strong { color: #f1f1f1; display: block; font-size: 0.85rem; }
.mjs-body p { color: #9aa3b2; font-size: 0.75rem; margin: 0.1rem 0 0; }
.mjs-amount { color: #dc2626; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }

.mjs-top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mjs-top-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #262c38;
  border-radius: 12px;
  background: #0f1218;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mjs-top-item:hover { transform: translateY(-1px); border-color: #2a3140; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.mjs-top-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2530, #262c38);
  color: #f1f1f1;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mjs-top-body { flex: 1; min-width: 0; }
.mjs-top-name { display: flex; align-items: center; gap: 0.4rem; }
.mjs-top-name strong { color: #f1f1f1; font-size: 0.9rem; }
.mjs-top-medal { font-size: 1.1rem; line-height: 1; }
.mjs-top-count { color: #7c8494; font-size: 0.72rem; }

/* Podium (top 3) */
.mjs-top-item.is-podium {
  border-width: 1px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(34, 197, 94, 0.05));
}
.mjs-top-item.is-rank-1 {
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.12);
}
.mjs-top-item.is-rank-1 .mjs-top-avatar {
  background: linear-gradient(135deg, #ffd700, #f5c518);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}
.mjs-top-item.is-rank-2 {
  border-color: rgba(192, 192, 192, 0.5);
  box-shadow: 0 4px 18px rgba(192, 192, 192, 0.1);
}
.mjs-top-item.is-rank-2 .mjs-top-avatar {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}
.mjs-top-item.is-rank-3 {
  border-color: rgba(205, 127, 50, 0.5);
  box-shadow: 0 4px 18px rgba(205, 127, 50, 0.1);
}
.mjs-top-item.is-rank-3 .mjs-top-avatar {
  background: linear-gradient(135deg, #cd7f32, #b06a28);
  color: #fff;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}
.mjs-top-item.is-podium .mjs-top-name strong { font-weight: 700; }
.mjs-top-item.is-rank-1 .mjs-top-name strong { color: #ffd700; }
.mjs-top-item.is-rank-2 .mjs-top-name strong { color: #e0e0e0; }
.mjs-top-item.is-rank-3 .mjs-top-name strong { color: #e8a05a; }

/* Top doadores - abas */
.mjs-top-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.mjs-top-header h2 { margin: 0; }
.mjs-top-tabs { display: flex; gap: 0.3rem; background: #0f1218; border: 1px solid #2a3140; border-radius: 8px; padding: 0.2rem; }
.mjs-top-tab {
  background: transparent;
  border: none;
  color: #9aa3b2;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.mjs-top-tab:hover { color: #f1f1f1; }
.mjs-top-tab.is-active { background: #dc2626; color: #fff; }
.mjs-top-panel { display: none; }
.mjs-top-panel.is-active { display: block; }

/* PIX card */
.mjs-pix-card {
  background: linear-gradient(135deg, #161a22 0%, #1a1418 100%);
  border: 1px solid #262c38;
  border-radius: 18px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.mjs-pix-card::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.mjs-pix-amount {
  font-size: 2.2rem;
  color: #dc2626;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #f87171, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.mjs-pix-qr-wrap { background: #fff; border-radius: 14px; padding: 1rem; display: inline-block; margin-bottom: 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.3); position: relative; }
.mjs-pix-qr-wrap img { width: 200px; height: 200px; }
.mjs-pix-copy { display: flex; gap: 0.5rem; max-width: 420px; margin: 0 auto 1rem; position: relative; }
.mjs-pix-copy textarea { flex: 1; background: #0f1218; border: 1px solid #2a3140; color: #f1f1f1; border-radius: 10px; font-size: 0.8rem; resize: none; padding: 0.5rem; }
.mjs-copy-btn { background: #262c38; color: #f1f1f1; border: none; border-radius: 10px; padding: 0 1rem; cursor: pointer; transition: background 0.2s ease; }
.mjs-copy-btn:hover { background: #2f3644; }
.mjs-pix-status { color: #86efac; font-size: 0.9rem; position: relative; }
.mjs-pix-card.is-completed { border-color: #22c55e; box-shadow: 0 0 0 1px rgba(34,197,94,0.3); }
.mjs-pix-status.is-completed { color: #22c55e; font-weight: 600; }
.mjs-pix-status.is-completed::before { content: '✓ '; }

/* ============================================================
   Modal de sucesso (pagamento confirmado)
   ============================================================ */
.mjs-success-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mjs-success-modal.is-open { visibility: visible; opacity: 1; }
.mjs-success-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.75); }
.mjs-success-card {
  position: relative;
  background: linear-gradient(135deg, #161a22 0%, #14171e 100%);
  border: 1px solid #2a3140;
  border-radius: 18px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mjs-success-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}
.mjs-success-card h3 { margin: 0 0 0.6rem; color: #f1f1f1; font-size: 1.4rem; }
.mjs-success-text { color: #c3c9d4; font-size: 0.9rem; line-height: 1.5; margin: 0 0 0.8rem; }
.mjs-success-text strong { color: #86efac; }
.mjs-success-discord {
  display: block;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin: 1rem 0;
}
.mjs-success-discord:hover { background: #4752c4; }
.mjs-success-close {
  background: #262c38;
  color: #c3c9d4;
  border: 1px solid #2a3140;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.mjs-success-close:hover { background: #2f3644; }

/* ============================================================
   Modal de login/registro
   ============================================================ */
.mjs-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mjs-auth-modal.is-open { visibility: visible; opacity: 1; }
.mjs-auth-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.75); }
.mjs-auth-card {
  position: relative;
  background: #161a22;
  border: 1px solid #2a3140;
  border-radius: 16px;
  padding: 2rem;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mjs-auth-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: #9aa3b2;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.mjs-auth-close:hover { color: #f1f1f1; }
.mjs-auth-panel { display: none; }
.mjs-auth-panel.is-active { display: block; }
.mjs-auth-panel h3 { margin: 0 0 0.4rem; color: #f1f1f1; font-size: 1.4rem; }
.mjs-auth-sub { color: #9aa3b2; font-size: 0.85rem; margin: 0 0 1.2rem; }
.mjs-auth-form { display: flex; flex-direction: column; gap: 0.9rem; }
.mjs-auth-form .mjs-field span { display: block; color: #c3c9d4; font-size: 0.8rem; margin-bottom: 0.3rem; }
.mjs-auth-form input {
  width: 100%;
  background: #0f1218;
  border: 1px solid #2a3140;
  color: #f1f1f1;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mjs-auth-form input:focus { outline: none; border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }
.mjs-auth-msg { color: #fca5a5; font-size: 0.8rem; margin: 0; min-height: 1em; }
.mjs-auth-msg.is-success { color: #86efac; }
.mjs-auth-submit {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mjs-auth-submit:hover { background: linear-gradient(135deg, #ef4444, #dc2626); transform: translateY(-1px); }
.mjs-auth-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.mjs-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
  color: #6b7280;
  font-size: 0.75rem;
}
.mjs-auth-divider::before, .mjs-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #262c38;
}
.mjs-auth-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #5865F2, #4752c4);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mjs-auth-discord:hover { background: linear-gradient(135deg, #6b76f5, #5865F2); transform: translateY(-1px); }
.mjs-auth-switch { color: #9aa3b2; font-size: 0.82rem; text-align: center; margin: 1rem 0 0; }
.mjs-auth-link {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.mjs-auth-link:hover { color: #f87171; }

/* ============================================================
   Modal flutuante
   ============================================================ */
.mjs-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mjs-modal.is-open { visibility: visible; opacity: 1; }

.mjs-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 7, 10, 0.7); }

.mjs-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #161a22;
  border: 1px solid #2a3140;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mjs-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }
.mjs-modal-header h3 { margin: 0; font-size: 1.3rem; color: #f1f1f1; }
.mjs-modal-header p { margin: 0.2rem 0 0; color: #9aa3b2; font-size: 0.85rem; }

.mjs-modal-close-top {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: 1px solid #ef4444;
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.mjs-modal-close-top:disabled { opacity: 0.85; cursor: not-allowed; }
.mjs-modal-close-icon { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.5; fill: none; }

.mjs-modal-message { display: flex; align-items: center; gap: 0.6rem; background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.2); border-radius: 10px; padding: 0.5rem; margin-bottom: 0.6rem; }
.mjs-modal-gif { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.mjs-modal-message p { color: #c3c9d4; font-size: 0.72rem; line-height: 1.4; margin: 0; }
.mjs-modal-message strong { color: #86efac; }

.mjs-modal-tabs { display: flex; gap: 0.3rem; background: #0f1218; border: 1px solid #2a3140; border-radius: 8px; padding: 0.2rem; margin-bottom: 0.5rem; }
.mjs-modal-tab { flex: 1; background: transparent; border: none; color: #9aa3b2; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 0.8rem; border-radius: 6px; cursor: pointer; }
.mjs-modal-tab.is-active { background: #dc2626; color: #fff; }

.mjs-modal-panel { display: none; }
.mjs-modal-panel.is-active { display: block; }

.mjs-modal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }

.mjs-modal-item { display: flex; align-items: center; gap: 0.5rem; background: #0f1218; border: 1px solid #262c38; border-radius: 8px; padding: 0.4rem 0.5rem; }
.mjs-modal-avatar { width: 26px; height: 26px; border-radius: 50%; background: #262c38; color: #f1f1f1; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; overflow: hidden; flex-shrink: 0; }
.mjs-modal-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mjs-modal-body-text { flex: 1; min-width: 0; }
.mjs-modal-body-text strong { color: #f1f1f1; font-size: 0.85rem; display: block; }
.mjs-modal-body-text p { color: #9aa3b2; font-size: 0.75rem; margin: 0.1rem 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mjs-modal-time { color: #6b7280; font-size: 0.7rem; display: block; }
.mjs-modal-amount { color: #dc2626; font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.mjs-modal-medal { font-size: 0.9rem; }
.mjs-modal-name-row { display: flex; align-items: center; gap: 0.3rem; }
.mjs-modal-loading, .mjs-modal-empty { color: #7c8494; font-size: 0.8rem; padding: 0.4rem 0; }

.mjs-modal-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid #262c38; }
.mjs-modal-link { color: #dc2626; text-decoration: none; font-size: 0.8rem; }

.mjs-modal-snooze { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.mjs-modal-snooze-btn { background: #262c38; border: 1px solid #2a3140; color: #c3c9d4; border-radius: 8px; padding: 0.35rem 0.7rem; font-size: 0.75rem; cursor: pointer; }
.mjs-modal-snooze-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.mjs-modal-snooze-count { color: #7c8494; font-size: 0.7rem; }

.mjs-modal-notice { background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.3); border-left: 3px solid #dc2626; border-radius: 8px; color: #c3c9d4; font-size: 0.72rem; padding: 0.5rem 0.7rem; margin: 0.6rem 0; }
.mjs-modal-notice strong { color: #fca5a5; }

.mjs-modal-cta { text-align: center; }
.mjs-modal-donate-btn { display: block; background: #dc2626; color: #fff; border: none; border-radius: 8px; padding: 0.6rem 1rem; font-size: 0.9rem; font-weight: 600; text-align: center; text-decoration: none; }
.mjs-modal-donate-btn:hover { background: #b91c1c; }

@media (max-width: 700px) {
  .mjs-layout { grid-template-columns: 1fr; }
  .mjs-login-required { flex-direction: column; align-items: flex-start; }
}
