* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 1.5rem;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.article-card h3 a {
  color: #333;
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #0066cc;
}

.article-card .summary {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.article-card .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.article-card .tags {
  display: flex;
  gap: 0.25rem;
}

.article-card .tag {
  background: #eee;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.article-card .actions {
  display: flex;
  gap: 0.5rem;
}

.article-card .actions button {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.article-card .actions button:hover {
  background: #f0f0f0;
}

/* Settings */
.setting-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.setting-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.setting-icon {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 50%;
  flex-shrink: 0;
}

.setting-content {
  flex: 1;
}

.setting-content h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.setting-content p {
  font-size: 0.85rem;
  color: #666;
}

.setting-arrow {
  color: #999;
  font-size: 1.5rem;
}

/* Login */
.login-container {
  max-width: 400px;
  margin: 4rem auto;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #666;
  font-size: 0.9rem;
}

.login-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.login-button:active {
  transform: translateY(0);
}

.login-icon {
  font-size: 1.25rem;
}

.error-message {
  padding: 0.875rem;
  background: #fee;
  color: #c33;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Add Article Modal */
.add-article-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: calc(100% - 2rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modal-fade-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
}

.add-article-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: backdrop-fade-in 0.2s ease-out;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes backdrop-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  padding: 1.5rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #666;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background-color: #f3f4f6;
  color: #111;
}

.modal-form {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-hint {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.modal-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.modal-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e5e7eb;
}

.modal-divider span {
  position: relative;
  background: white;
  padding: 0 1rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.modal-help {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 12px;
  align-items: flex-start;
}

.help-icon {
  flex-shrink: 0;
  color: #6b7280;
}

.help-text strong {
  display: block;
  font-size: 0.875rem;
  color: #111;
  margin-bottom: 0.25rem;
}

.help-text p {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.help-text .help-link {
  margin-top: 0.5rem;
}

.help-text .help-link a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.help-text .help-link a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive: モバイルでは中央配置 */
@media (max-width: 640px) {
  .add-article-modal {
    width: calc(100% - 2rem);
    margin: auto;
    border-radius: 16px;
  }

  .modal-content {
    padding: 1.25rem;
  }
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  animation: fade-in 0.3s ease-out;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

.loading-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111;
  text-align: center;
}

.loading-subtext {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Hide native clear button on search inputs to prevent overlap */
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/* Discovery Queue Modal */
.discovery-modal {
  border: none;
  border-radius: 20px;
  padding: 0;
  max-width: 480px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  animation: modal-fade-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
  background: linear-gradient(135deg, #fefefe 0%, #f8f9fa 100%);
}

.discovery-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: backdrop-fade-in 0.2s ease-out;
}

.discovery-modal-content {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 90vh;
}

.discovery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.discovery-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.discovery-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.discovery-modal-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

/* Discovery Card Stack */
.discovery-card-stack {
  position: relative;
  min-height: 380px;
}

.discovery-card {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border: 1px solid #e5e7eb;
}

.discovery-card.saving {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #10b981;
}

.discovery-card.skipping {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-color: #ef4444;
}

.discovery-progress {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.discovery-progress-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.discovery-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.discovery-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border-radius: 8px;
}

.discovery-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.discovery-card-title a {
  color: #111;
  text-decoration: none;
  transition: color 0.2s;
}

.discovery-card-title a:hover {
  color: #2563eb;
}

.discovery-card-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.discovery-card-summary {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.discovery-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.discovery-reason span {
  font-size: 0.8rem;
  color: #92400e;
  line-height: 1.5;
}

.discovery-actions {
  display: flex;
  gap: 0.75rem;
}

.discovery-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
}

.discovery-btn-save {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.discovery-btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.discovery-btn-save:active {
  transform: translateY(0);
}

.discovery-btn-skip {
  background: #f3f4f6;
  color: #6b7280;
}

.discovery-btn-skip:hover {
  background: #e5e7eb;
  color: #374151;
}

.discovery-btn-close {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  max-width: 200px;
  margin: 0 auto;
}

.discovery-btn-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Completion State */
.discovery-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 300px;
}

.discovery-complete-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 0.6s ease-out;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.discovery-complete-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.discovery-complete-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .discovery-modal {
    width: calc(100% - 2rem);
    max-width: 100%;
    border-radius: 16px;
    margin: auto;
    max-height: 85vh;
  }

  .discovery-modal-content {
    padding: 1.25rem;
  }
}

/* Loading State */
.discovery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: 300px;
}

/* Empty State */
.discovery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  min-height: 300px;
}

.discovery-empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.discovery-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
}

.discovery-empty-text {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.discovery-btn-generate {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  max-width: 200px;
}

.discovery-btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Error State */
.discovery-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  min-height: 300px;
}

.discovery-error-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.discovery-error-text {
  font-size: 0.9rem;
  color: #dc2626;
  line-height: 1.6;
}

/* Announcements Modal */
body:has(dialog[open]) {
  overflow: hidden;
}

.announcements-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 500px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modal-fade-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: auto;
  overflow: hidden;
}

.announcements-modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: backdrop-fade-in 0.2s ease-out;
}

.announcements-modal-content {
  background: white;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.announcements-modal-content .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcements-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.announcements-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Unused or replaced by footer link */

.announcements-mark-all-btn {
  font-size: 0.75rem;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.announcements-mark-all-btn:hover {
  background-color: #eff6ff;
}

.announcements-list {
  overflow-y: auto;
  flex: 1;
  margin-bottom: 1rem;
}

.announcements-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f3f4f6;
}

.announcements-item:last-child {
  border-bottom: none;
}

.announcements-item:hover {
  background-color: #f9fafb;
}

.announcements-item-indicator {
  flex-shrink: 0;
  width: 0.5rem;
  padding-top: 0.375rem;
}

.announcements-unread-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #3b82f6;
  border-radius: 50%;
}

.announcements-item-content {
  flex: 1;
  min-width: 0;
}

.announcements-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.375rem;
}

.announcement-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.announcement-badge-release {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
}

.announcement-badge-info {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}

.announcement-badge-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #d97706;
}

.announcement-badge-feature {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
}

.announcement-badge-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  color: #dc2626;
}

.announcement-badge-version {
  background: #f3f4f6;
  color: #4b5563;
}

.announcements-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.announcements-item-title {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.announcements-item-title.unread {
  color: #111;
  font-weight: 600;
}

.announcements-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.announcements-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: #f3f4f6;
  border-radius: 50%;
  margin-bottom: 1rem;
  color: #9ca3af;
}

.announcements-empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 0 0 0.25rem;
}

.announcements-empty-text {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 1rem;
}

.announcements-empty-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.announcements-empty-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.announcements-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  background: white;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.announcements-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.announcements-footer-link:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

/* Announcement Detail Page */
.announcement-detail {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.announcement-detail-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.announcement-detail-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.announcement-detail-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.4;
}

.announcement-detail-body {
  padding: 1.5rem;
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.announcement-detail-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  background: #fafafa;
}

.announcement-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.announcement-detail-link:hover {
  color: #2563eb;
}

/* Announcements List Page */
.announcements-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}

.announcements-list-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.announcements-list-item-indicator {
  flex-shrink: 0;
  width: 0.5rem;
  padding-top: 0.375rem;
}

.announcements-list-item-content {
  flex: 1;
  min-width: 0;
}

.announcements-list-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.announcements-list-item-title.unread {
  color: #111;
  font-weight: 700;
}

/* Mobile optimization */
@media (max-width: 640px) {
  .announcements-modal {
    width: calc(100% - 2rem);
    max-width: 100%;
    border-radius: 16px;
    margin: auto;
    max-height: 90vh;
  }

  .announcements-modal-content .modal-header {
    padding: 1.25rem;
  }

  .announcements-item {
    padding: 1rem;
  }

  .announcements-list-item {
    padding: 1rem;
  }
}

/* Prose formatting for announcement bodies */
.prose {
  white-space: pre-wrap;
  word-break: break-word;
}