/* =====================================
   READABLE RIGHT COLUMN FINAL TUNE
===================================== */

/* right column: compact but not over-squished */
body.home-page .retro-right {
  gap: 5px !important;
  row-gap: 5px !important;
}

body.home-page .retro-right .retro-box {
  margin: 0 !important;
}

body.home-page .retro-right .retro-title {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  min-height: 18px !important;
  line-height: 1.05 !important;
}

/* =========================
   HELLO KITTY / TRIP BOX
   readable, icon visible
========================= */

body.home-page .trip-panel .trip-list,
body.home-page .trip-panel-fixed .trip-list {
  padding: 5px 7px !important;
  gap: 4px !important;
}

body.home-page .trip-panel .trip-row,
body.home-page .trip-panel-fixed .trip-row {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) 43px !important;
  align-items: center !important;
  column-gap: 6px !important;

  min-height: 36px !important;
  height: 36px !important;
  padding: 3px 6px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body.home-page .trip-panel .trip-icon,
body.home-page .trip-panel-fixed .trip-icon {
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.home-page .trip-panel .trip-icon img,
body.home-page .trip-panel-fixed .trip-icon img {
  max-width: 25px !important;
  max-height: 25px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

body.home-page .trip-label-final,
body.home-page .trip-label-clean,
body.home-page .trip-label-superlock {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 100% !important;

  font-size: 9px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  color: #5f688e !important;

  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.home-page .trip-count-final,
body.home-page .trip-count-clean,
body.home-page .trip-count-superlock {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  align-self: center !important;

  width: 41px !important;
  height: 17px !important;
  padding: 0 !important;
  margin: 0 !important;

  font-size: 8px !important;
  line-height: 1 !important;
}

/* =========================
   SOCCER DIVIDER
========================= */

body.home-page .soccer-divider-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;

  margin: 0 !important;
  padding: 2px 0 1px 0 !important;
}

body.home-page .soccer-divider-strip img {
  width: 12px !important;
  height: 12px !important;
  object-fit: contain !important;
  opacity: 0.95 !important;
}

/* =========================
   WORLD CUP / TIME
========================= */

body.home-page .world-cup-panel,
body.home-page .world-cup-panel-fixed {
  margin-bottom: 0 !important;
}

body.home-page .clock-panel,
body.home-page .time-panel,
body.home-page .time-panel-fixed {
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 4px !important;
}

body.home-page .clock-panel [class*="time"],
body.home-page .clock-panel [class*="clock"],
body.home-page .time-panel [class*="time"],
body.home-page .time-panel [class*="clock"],
body.home-page .time-panel-fixed [class*="time"],
body.home-page .time-panel-fixed [class*="clock"] {
  margin: 3px 6px 0 6px !important;
  padding: 8px 6px !important;
}

/* =========================
   CALENDAR
   stretch a bit taller
========================= */

body.home-page .calendar-final-body,
body.home-page .hard-calendar-body {
  padding: 6px !important;
}

body.home-page .calendar-final-month,
body.home-page .hard-calendar-month {
  margin: 0 0 6px 0 !important;
  padding: 8px !important;
  background: #dfecc0 !important;   /* less neon */
  border: 1px solid #bfd19e !important;
  color: #64718d !important;
  font-size: 13px !important;
}

body.home-page .calendar-final-cell,
body.home-page .hard-calendar-cell {
  min-height: 23px !important;
  font-size: 9px !important;
}

/* =========================
   STARDew
   remove weird darker bottom strip only
========================= */

body.home-page .stardew-panel-fixed {
  overflow: hidden !important;
  position: relative !important;
}

body.home-page .stardew-panel-fixed::before,
body.home-page .stardew-panel-fixed::after {
  display: none !important;
  content: none !important;
}

/* remove patched-looking bottom strip */
body.home-page .stardew-panel-fixed > *:last-child {
  border-bottom: 0 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}

body.home-page .stardew-panel-fixed .retro-box-inner,
body.home-page .stardew-panel-fixed .content {
  padding-bottom: 0 !important;
}

/* don't touch center photos */
