.result {
  background: #f7f7f7;
  border-radius: 5px;
  padding: 16px;
  font-size: 14px;
  color: #444;
  margin-top: 8px;
  min-height: 40px;
  word-break: break-all;
  line-height: 1.8;
}
.error-message {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
}
.error-message.hidden {
  display: none;
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}
.loading.hidden {
  display: none;
}
.loading .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00a1d6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.announcement-scrollbar {
  max-width: 600px;
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}
.announcement-scrollbar::-webkit-scrollbar {
  height: 6px;
  background: #fff;
  border-radius: 4px;
}
.announcement-scrollbar::-webkit-scrollbar-thumb {
  background: #e3e5e7;
  border-radius: 4px;
}
.marquee-container {
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 36px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marquee-content {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee-scroll 18s linear infinite;
  height: 36px;
  line-height: 36px;
}
@keyframes marquee-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.footer-video-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 18px;
}
.footer-video-btn {
  display: inline-block;
  min-width: 140px;
  padding: 8px 18px;
  background: #00a1d6;
  color: #fff !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.03);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  outline: none;
}
.footer-video-btn:hover, .footer-video-btn:focus {
  background: #0080b8;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(0,161,214,0.10);
  transform: translateY(-2px) scale(1.03);
}
.friend-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 10px 0;
  font-size: 13px;
  color: #999;
}
.friend-link {
  color: #168aff;
  text-decoration: none;
}
.friend-link:hover,
.friend-link:focus {
  color: #0077b6;
  text-decoration: underline;
}
@media (max-width: 480px) {
  .footer-video-links { flex-direction: column; gap: 10px; }
  .footer-video-btn { min-width: 0; width: 100%; }
}
@media (max-width: 600px) {
  .footer-area-card>div { padding: 12px 2vw 8px 2vw !important; border-radius: 12px !important; }
  .footer-video-links { flex-direction: column; gap: 8px !important; }
  .d-flex.align-items-center.justify-content-center.flex-wrap { flex-direction: column !important; gap: 6px 0 !important; }
  .footer-area-card { margin-top: 16px !important; }
}
