/* Studysphere case page: pieces only this case uses. Shared layout
   (deck, bento, core, dock) lives in case.css; colors come from ui-kit tokens. */

/* Idea bento (Figma frame 80:225956) ----------------------------------- */
.ss-tile--brand {
  background: var(--color-studysphere-blue);
}
.ss-tile--gray {
  background: var(--color-gray-100);
}
/* The 96px mark sits centered; its SVG includes a glow beyond that box */
.ss-mark {
  filter: var(--shadow-logo);
  position: absolute;
  left: 11.33px;  /* 29 - 17.67 overhang */
  top: 12.58px;   /* 29 - 16.42 overhang */
  max-width: none;
}
/* Selected photo: blue 2px border inside the tile + a soft 4px halo */
.ss-tile--selected {
  border: 2px solid var(--color-studysphere-blue);
  box-shadow: 0 0 0 4px var(--color-studysphere-blue-25);
  overflow: visible;
}
.ss-tile--selected .bento__fill {
  object-fit: cover;
}

/* Collaboration cursors with name tags */
.ss-cursor {
  position: absolute;
}
.ss-name {
  position: absolute;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-white);
  white-space: nowrap;
}

/* Badge card: name tag above a 112px rounded artwork */
.ss-badge-name {
  position: absolute;
  left: 23px;
  top: 22px;
  display: flex;
  align-items: center;
  height: 24px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--color-studysphere-ink);
  color: var(--color-white);
  white-space: nowrap;
}
.ss-badge {
  position: absolute;
  left: 21px; /* (154 - 112) / 2 */
  top: 54px;  /* centered 33px below the middle */
  width: 112px;
  height: 112px;
  border-radius: 14px;
  overflow: clip;
}
.ss-badge img {
  position: absolute;
  left: 7px;
  top: 7px;
}

/* Results bento (Figma frame 89:267268): a single stat tile */
.ss-tile--stat {
  background: var(--color-studysphere-rose);
  color: var(--color-white);
  text-align: center;
}
.ss-stat__value,
.ss-stat__label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.ss-stat__value {
  top: 50px; /* 77 - 27 */
  white-space: nowrap;
}
.ss-stat__label {
  top: 106px; /* 77 + 29 */
  width: 130px;
}
