body {
  margin: 0;
  padding: 12px;
  background: #bfbfbf;
  color: #000;
  font-family: "Times New Roman", serif;
}

.page-shell {
  width: min(980px, 100%);
  background: #d7d7d7;
  border-color: #000;
}

.header {
  background: #c8c8c8;
  border-bottom: 2px solid #000;
}

.logo-wide {
  max-width: 100%;
  height: auto;
  margin-bottom: 6px;
}

.logo-condensed {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 8px;
}

.tagline {
  font-style: italic;
  font-size: 14px;
}

.marquee {
  background: #000080;
  color: #fff;
  font-weight: bold;
  padding: 5px 0;
}

.event-banner {
  background: #ffff99;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 8px;
}

.wish-box {
  color: #fff;
  width: min(980px, 100%);
  margin: 6px 0px;
  padding: 6px;
  background: url(assets/stars.png);
  background-size: 100% 100%;
  background-position: center;
  /* border: 2px outset #888;
  border-spacing: 0px;
  border-width: 3px;
  outline: 1px solid #000; */
  text-align: left;
  font-family: Arial, Helvetica, sans-serif;
  /* border-collapse: collapse;
  border-spacing: 0; */
}

.wish-box td {
  width: 100%;
  border: none;
  padding: 0;
}

.wish-box-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  white-space: nowrap;
}

.wish-box.reveal-bounce {
  animation: wish-box-bounce-reveal 420ms ease-out;
}

@keyframes wish-box-bounce-reveal {
  0% { transform: scale(0.86) translateY(-6px); opacity: 0; }
  58% { transform: scale(1.06) translateY(0); opacity: 1; }
  78% { transform: scale(0.98); }
  100% { transform: scale(1); opacity: 1; }
}

/* Catch ripple – expanding ring that confirms a successful petal catch */
.catch-ripple {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  border: 2px solid rgba(255, 252, 200, 0.92);
  box-shadow: 0 0 6px 1px rgba(255, 240, 120, 0.5);
  animation: catch-ripple-expand 620ms ease-out forwards;
}

@keyframes catch-ripple-expand {
  0%   { transform: scale(0.2); opacity: 1; }
  100% { transform: scale(var(--ripple-scale-end, 3.2)); opacity: 0; }
}

.wish-box-title {
  font-weight: bold;
  /* font-size: 12px; */
  letter-spacing: 0.6px;
}

.wish-box-sub {
  font-size: 11px;
  margin-top: 2px;
}

.wish-seed-row {
  overflow: visible;
  white-space: nowrap;
  width: 100%;
  flex: 1 1 auto;
  align-items: center;
}

.wish-seed-row img {
  display: inline-block;
  height: 14px;
  width: auto;
  margin-right: -3px;
  vertical-align: middle;
  pointer-events: none;
}

/* Dandelion (gentle sway) */
.dandelion-container {
  position: absolute;
  right: 18px;
  bottom: 0px;
  width: 120px;
  height: auto;
  z-index: 900;
  pointer-events: auto;
  user-select: none;
  opacity: 0.95;
}

/* Garden box: place below main tables and host the dandelion */
.garden-box {
  width: min(980px, 100%);
  height: 80px;
  position: relative;
  margin-top: 8px;
  background-image: url('assets/image.png');
  background-size: 100% 100%;
  background-position: center;
}

.garden-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.sidebar {
  background: #cecece;
  border-right: 1px dashed #000;
  font-size: 14px;
}

.content {
  background: #e3e3e3;
  font-size: 16px;
}

.footer {
  background: #c8c8c8;
  border-top: 2px solid #000;
  font-size: 12px;
}

h1, h2, h3 {
  margin: 0 0 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-style: italic;
}

a {
  color: #0000cc;
}


/* Dandelion seed line for RSVP wishes */
.seed-line {
  display: inline;
  width: 100%;
  /* white-space: nowrap; */
  overflow: visible;
  margin-left: 0;
  margin-top: 6px;
  align-items: center;
}

.seed-line img {
  display: inline-block;
  margin-right: -7px; /* pack seeds tighter */
  pointer-events: none;
  width: auto;
}

.attendee-info {
  display: block; /* keep info on its own line above the seed row */
}

/* Seed head styling and animations */
.seed-head {
  display: inline-block;
  margin-right: 6px;
  pointer-events: none;
  transition: transform 260ms ease, opacity 200ms ease;
}

.seed-head.swaying {
  animation: seed-sway 1.6s ease-in-out infinite;
}

.seed-head.released {
  animation: none;
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

@keyframes seed-sway {
  0% { transform: translateY(0px) rotate(-4deg); }
  40% { transform: translateY(-6px) rotate(2deg); }
  70% { transform: translateY(-3px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(-4deg); }
}

.feature-table {
  background: #f5f5f5;
  margin: 12px 0;
  font-size: 8pt;
}

.feature-table th {
  background: #000;
  color: #fff;
}

.small-print {
  font-size: 12px;
}

.counter {
  background: #000;
  color: #00ff00;
  font-family: "Courier New", monospace;
  display: inline-block;
  padding: 2px 4px;
  border: 1px inset #666;
}

.construction {
  width: 80px;
  height: auto;
  margin-top: 8px;
}

.tiny {
  font-size: 11px;
}

.hidden-link {
  color: #c8c8c8;
  text-decoration: none;
  font-size: 10px;
}

.hidden-link:hover {
  color: #777;
}

label, input, textarea, select, button {
  font-family: "Times New Roman", serif;
  font-size: 15px;
}

input, textarea, select {
  width: 96%;
  box-sizing: border-box;
  border: 2px inset #bbb;
  background: #fff;
}

button {
  border: 2px outset #bbb;
  padding: 4px 8px;
  background: #ddd;
  cursor: pointer;
}

button:active {
  border-style: inset;
}

.status {
  min-height: 20px;
  margin-top: 8px;
  font-size: 14px;
}

.plusone-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  line-height: 1;
}

.plusone-text {
  letter-spacing: 0.2px;
}

input.plusone-checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
  border: 3px outset #9a9a9a;
  background: #e8e8e8;
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

input.plusone-checkbox:checked {
  border-style: inset;
  background: #f4f4f4;
}

input.plusone-checkbox:checked::after {
  content: "+";
  font-family: "Times New Roman", serif;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
}

.list-box {
  border: 1px solid #000;
  background: #f4f4f4;
  list-style: square;
  padding: 8px 8px 8px 24px;
  max-height: 280px;
  overflow: auto;
}

.blink {
  animation: blinker 0.8s linear infinite;
}

.sluggy-runner {
  position: fixed;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: auto;
  transform-origin: 50% 100%;
  z-index: 999;
  pointer-events: none;
  user-select: none;
}

.sluggy-hitbox {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 60px;
  z-index: 998;
  pointer-events: auto;
  cursor: pointer;
}

.sluggy-bubble {
  position: fixed;
  left: 12px;
  bottom: 80px;
  max-width: min(280px, calc(100vw - 20px));
  padding: 7px 9px;
  background: #fffff0;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #666;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.3;
  z-index: 1000;
  display: none;
  pointer-events: none;
}

.sluggy-bubble.show {
  display: block;
}

.sluggy-bubble::after {
  content: "";
  position: absolute;
  left: 24px;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #000;
}

.sluggy-bubble::before {
  content: "";
  position: absolute;
  left: 25px;
  bottom: -7px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fffff0;
  z-index: 1;
}

.download-banner {
  background: #ffff00;
  border-top: 3px double #000;
  border-bottom: 3px double #000;
  padding: 12px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

.retro-btn-large {
  display: inline-block;
  margin-left: 15px;
  padding: 8px 16px;
  background: #000080;
  color: #fff !important;
  text-decoration: none;
  font-weight: bold;
  border: 3px outset #0000ff;
}

.retro-btn-large:active {
  border-style: inset;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.employee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: #f5f5f5;
  border: 2px solid #000;
  margin: 12px 0;
  font-size: 9pt;
}

.employee-card {
  box-sizing: border-box;
  text-align: center;
  padding: 12px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  background: #fff;
}

.employee-card:last-child {
  border-right: none;
}

.employee-card:nth-child(2n) {
  border-right: none;
}

@media (max-width: 600px) {
  .employee-grid {
    grid-template-columns: 1fr;
  }
  .employee-card {
    border-right: none;
    border-bottom: 1px solid #000;
  }
  .employee-card:last-child {
    border-bottom: none;
  }
}

.employee-photo {
  display: block;
  margin: 6px auto 8px;
  max-width: 160px;
  width: 100%;
  height: auto;
  border: 2px inset #bbb;
  transition: opacity 180ms ease, transform 200ms ease;
}

.employee-card h3 {
  margin: 6px 0 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.employee-card .years {
  font-size: 12px;
  font-style: italic;
  color: #333;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .employee-grid {
    flex-direction: column;
  }
  .employee-card {
    border-right: none;
    border-bottom: 1px solid #000;
  }
  .employee-card:last-child {
    border-bottom: none;
  }
}
