html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.card {
  position: relative;
  box-sizing: border-box;
  width: 240px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  color: #17141a;
}

.frameLine {
  position: absolute;
  inset: 0;
  border: 2px solid #17141a;
  border-radius: 16px;
  opacity: calc(0.14 + 0.5 * var(--glow, 0));
  pointer-events: none;
}

.avatarRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.avatar {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
}

.handle {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  opacity: 0.72;
}

.quoteBody {
  margin: 0 0 8px;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}

.meta {
  margin: 0;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.78;
}

.readout {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff7e6;
  color: #17141a;
}

.readoutLabel {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.84;
}

.readoutValue {
  font-family: "Space Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
}

@media (max-width: 340px) {
  .panel {
    gap: 8px;
  }
  .card {
    width: 200px;
    padding: 8px 12px;
  }
  .avatar {
    width: 26px;
    height: 26px;
  }
  .avatarRow {
    margin-bottom: 8px;
  }
  .name {
    font-size: 12px;
  }
  .handle {
    font-size: 11px;
  }
  .quoteBody {
    margin-bottom: 4px;
    font-size: 12px;
  }
  .meta {
    font-size: 10px;
  }
  .readoutLabel {
    font-size: 10px;
  }
  .readoutValue {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frameLine {
    opacity: 0.3;
  }
}
