/* Liquid Glass clair, iOS / macOS 27 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --text: #1d1d1f;
  --text-2: rgba(60, 60, 67, 0.62);
  --tint: #007aff;
  --pink: #ff2d55;
  --purple: #af52de;
  --orange: #ff9500;
  --green: #34c759;
  --indigo: #5856d6;
  --radius: 30px;
  --spring: cubic-bezier(0.2, 1.25, 0.35, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

html,
body {
  margin: 0;
  background: transparent;
}

/* Le flou n'agit que sur ce qui est dans la page : en source OBS transparente
   le verre repose surtout sur le dégradé + les reflets. */
.glass {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56));
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -2px 6px rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(31, 38, 70, 0.18);
}
/* reflet spéculaire en haut à gauche */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, 0.7), transparent 55%);
  mix-blend-mode: soft-light;
}

.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-2);
}

.icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 24px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.k-follow { background: linear-gradient(160deg, #ff6b8b, var(--pink)); }
.k-sub, .k-gift { background: linear-gradient(160deg, #c77dff, var(--purple)); }
.k-cheer { background: linear-gradient(160deg, #6ac4ff, var(--tint)); }
.k-raid { background: linear-gradient(160deg, #ffb340, var(--orange)); }
.k-reward { background: linear-gradient(160deg, #5be37d, var(--green)); }
.k-info { background: linear-gradient(160deg, #7d7bff, var(--indigo)); }

.emote {
  height: 1.4em;
  vertical-align: -0.35em;
}
