.rice-buy-pulse {
  animation: pulse 0.25s ease;
}

@keyframes pulse {
  0%   { transform: scale(1.0); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1.0); }
}

.flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff4d4d;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  animation: none;
}

.flash-overlay.flash-active {
  animation: flash-red 0.4s ease;
}

@keyframes flash-red {
  0%   { opacity: 0.8; }
  100% { opacity: 0; }
}

.consortium-bar .progress-bar-fill.affordable {
  background-color: #da0000;
}

.riceResearchImg {
   border-bottom-left-radius: 0;
   border-bottom-right-radius: 0;
   border-bottom: 2px solid var(--color-primary);
}

.riceLockOverlay {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   background: rgba(255,255,255,0.8);
   color: var(--color-darker);
   font-size: 13px;
   font-weight: bold;
   padding: 6px 10px;
   border-radius: 6px;
   text-align: center;
   white-space: nowrap; 
   z-index: 2;
}

.riceResearchInfo {
   padding: 6px;
   background-color: #fff7e6;
   color: var(--color-darker);
   font-size: 13px;
   text-align: center;
   line-height: 1.4;
}

.scientistBusyLabel {
   position: absolute;
   top: 6px;
   left: 6px;
   background: rgba(255,255,255,0.8);
   color: #b80000;
   font-size: 14px;
   font-weight: bold;
   padding: 2px 6px;
   border-radius: 6px;
}

.gummy-snack-meter{
   width: 100%;
   height: 20px;
   background: var(--color-lighter);
   border: 2px solid rgb(218, 153, 104);
   position: relative;
   text-align: center;
   font-weight: bold;
   font-size: 12px;
   line-height: 20px;
   overflow: hidden;
   border-radius: 8px;
}

.gummy-snack-meter-fill {
   height: 100%;
   width: 0%;
   background: rgb(218, 153, 104);
   transition: width 0.2s;
   position: absolute;
   left: 0;
   top: 0;
   z-index: 1;
}

.faction-container {
   color: var(--color-darker);
   font-size: 14px; 
   line-height: 1.4
}

.tick-activity-log {
   height: 320px;
   width: 234px;
   max-width: 234px;
   color: #ddd;
   font-size: 12px;
   border: 2px solid var(--color-primary);
   border-radius: 8px;
   overflow: hidden;
   overflow-anchor: none;
}