/* Recognition page */
.rc-story {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* old way: the plaque */
.rc-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4.5vw, 4rem);
  border-radius: 32px;
  background: var(--stage-coral);
}
.rc-box-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 3.9vw, 3.3rem);
  line-height: 1.06;
}
.rc-box-copy > p:not(.label-pill) {
  max-width: 46ch;
  margin-top: 1rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--navy-2);
}
.rc-box-copy strong {
  font-weight: 600;
  color: var(--navy);
}
.rc-plaque-wrap {
  position: relative;
  padding-bottom: 2.25rem;
}
.rc-plaque {
  position: relative;
  padding: 1.4rem;
  border-radius: 22px;
  background: var(--surface);
  box-shadow:
    0 1px 2px rgb(12 21 34 / 0.05),
    0 24px 44px -30px rgb(12 21 34 / 0.4);
  transform: rotate(1deg);
}
.rc-plaque-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rc-plaque-top b {
  font: 700 1.15rem / 1.25 var(--display);
}
.rc-plaque-top .i {
  width: 1.3rem;
  height: 1.3rem;
}
.rc-plaque ul {
  display: grid;
  gap: 0.25rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}
.rc-plaque li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--navy-2);
}
.rc-plaque li b {
  font-weight: 600;
  color: var(--navy);
}
.rc-plaque .is-now {
  background: var(--active-bg);
}
.rc-note-dave {
  right: 1.1rem;
  bottom: -0.25rem;
}

/* step 1 */
.rc-send-to {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.rc-send-to small {
  display: block;
  font-size: 0.76rem;
  color: var(--navy-2);
}
.rc-send-to b {
  font: 700 1.05rem / 1.2 var(--display);
}
.rc-kinds {
  display: inline-flex;
  gap: 0.25rem;
  margin-top: 0.7rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f3ede6;
}
.rc-kinds button {
  padding: 0.25rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy-2);
  font: 500 0.78rem / 1.3 var(--body);
  cursor: pointer;
}
.rc-kinds button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
}
.rc-kinds button:focus-visible {
  outline: 2px solid #c25400;
  outline-offset: 1px;
}
/* same height for all three, so switching doesn't jump */
.rc-preview {
  display: grid;
  height: 250px;
  margin-top: 0.7rem;
}
.rc-preview > [hidden] {
  display: none;
}
.rc-msg {
  padding: 0.7rem 0.8rem;
  border: 1px solid #eee6dd;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.rc-meme {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0.5rem;
  border-radius: 12px;
  background: var(--stage-sand);
}
.rc-meme img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  min-height: 0;
  border-radius: 6px;
  object-fit: contain;
}
/* spin: the app's tilted word tiles */
.rc-spin {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.1rem;
  border-radius: 12px;
  background: var(--stage-sand);
}
.rc-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding-inline: 0.5rem;
}
.rc-tiles span {
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  background: var(--orange);
  box-shadow: 0 4px 6px rgb(0 0 0 / 0.1);
  color: #fff3eb;
  font: 700 1.05rem / 1.1 var(--display);
}
.rc-tiles span:nth-child(1) { rotate: -2.5deg; }
.rc-tiles span:nth-child(2) { rotate: 1.5deg; }
.rc-tiles span:nth-child(3) { rotate: -1deg; }
.rc-spin-btn {
  min-height: 36px;
  padding: 0 0.9rem;
  border: 1px solid #e6dcd0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font: 500 0.8rem / 1 var(--body);
  cursor: pointer;
}
.rc-spin-btn:focus-visible {
  outline: 2px solid #c25400;
  outline-offset: 2px;
}
.rc-gif {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: var(--stage-peach);
}
.rc-gif span {
  font-size: 4rem;
  line-height: 1;
  animation: rc-party 0.9s ease-in-out infinite alternate;
}
.rc-gif i {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  background: var(--surface);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
}
@keyframes rc-party {
  from {
    transform: rotate(-12deg) scale(0.92);
  }
  to {
    transform: rotate(12deg) scale(1.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .rc-gif span {
    animation: none;
  }
}
.rc-send-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.rc-btn {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
}
.rc-note-name {
  left: 0.9rem;
  bottom: -2.35rem;
}

/* step 2 */
.rc-settings-title {
  font: 700 1.1rem / 1.2 var(--display);
}
.rc-settings-sub {
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--navy-2);
}
.rc-settings ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}
.rc-settings li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border: 1px solid #eee6dd;
  border-radius: 10px;
}
.rc-settings i {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 99px;
  background: #ff7300;
}
.rc-settings i::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
}
.rc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

/* step 3 */
.rc-tickets {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.6rem 0 0.9rem;
  text-align: center;
}
.rc-tickets .i {
  width: 2rem;
  height: 2rem;
}
.rc-tickets b {
  font: 700 2.6rem / 1 var(--display);
}
.rc-tickets span {
  font-size: 0.85rem;
  color: var(--navy-2);
}
.rc-draw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: #fbf8f4;
}
.rc-draw small {
  display: block;
  font-size: 0.75rem;
  color: var(--navy-2);
}
.rc-draw b {
  font-size: 0.88rem;
  font-weight: 600;
}
.rc-prize {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--active-bg);
  font-size: 0.76rem;
  font-weight: 600;
}
.rc-prize .i {
  width: 1.2em;
  height: 1.2em;
}

/* step 4 */
.rc-board-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: #f3ede6;
  font-size: 0.78rem;
}
.rc-board-tabs span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  color: var(--navy-2);
}
.rc-board-tabs .is-on {
  background: var(--surface);
  color: var(--navy);
  font-weight: 600;
}
.rc-board ol {
  display: grid;
  gap: 0.2rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}
.rc-board li {
  display: grid;
  grid-template-columns: 1.1rem auto minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.4rem 0.3rem;
  font-size: 0.92rem;
}
.rc-board .rank {
  font-size: 0.82rem;
  color: var(--navy-2);
}
.rc-board li b {
  font-variant-numeric: tabular-nums;
}
.rc-note-sorry {
  right: 3rem;
  bottom: -2.35rem;
}
@media (max-width: 960px) {
  .rc-box {
    grid-template-columns: minmax(0, 1fr);
  }
  .moment-media:has(.rc-note-name, .rc-note-sorry) {
    padding-bottom: 3.5rem;
  }
}
@media (max-width: 560px) {
  .rc-plaque {
    padding: 1rem;
    transform: none;
  }
}

/* badges, as the dashboard draws them: a tint of the badge's own colour */
.rc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--b) 25%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--b) 12%, transparent);
  color: var(--b);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}
.rc-pill .i {
  width: 1.15em;
  height: 1.15em;
  color: inherit;
}
.rc-pill--team { --b: #0e7490; }
.rc-pill--above { --b: #6d28d9; }
.rc-pill--solve { --b: #047857; }

/* hero: the recognition feed */
.rc-feed {
  display: grid;
  gap: 0.7rem;
}
.rc-feed-item {
  display: grid;
  justify-items: start;
  gap: 0.5rem;
}
.rc-feed-item + .rc-feed-item {
  padding-top: 0.8rem;
  border-top: 1px solid #f1ebe4;
}
.rc-feed-msg {
  font-size: 0.9rem;
  line-height: 1.45;
}

