/**
 * Миниатюрная плашка в токенах main/css/base.css (светлая сетка, Inter + JetBrains Mono).
 * Рассчитана на встраивание в iframe: без полей документа, компактный блок.
 */
:root {
  --bg: #fcfcfc;
  --ink: #0a0a0a;
  --ink-soft: rgba(10, 10, 10, 0.55);
  --grid-stroke: rgba(0, 0, 0, 0.092);
  --grid-step: 14px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
  background: transparent;
  overflow-x: hidden;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

.studio-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 0.95rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(var(--grid-step) - 1px),
      var(--grid-stroke) calc(var(--grid-step) - 1px) var(--grid-step)
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 calc(var(--grid-step) - 1px),
      var(--grid-stroke) calc(var(--grid-step) - 1px) var(--grid-step)
    );
  background-size: var(--grid-step) var(--grid-step);
  border: 1px solid rgba(10, 10, 10, 0.1);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.studio-badge:hover {
  border-color: rgba(10, 10, 10, 0.22);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-0.5px);
}

.studio-badge:focus {
  outline: none;
}

.studio-badge:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.studio-badge__kicker {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.studio-badge__name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
