:root {
  --bg: #040404; --section: #292534; --surface: #363247; --card: #25222f; --input: #19171e;
  --text: #ffffff; --tint: #a090ab; --dim: #6c6378; --pink: #fb51c7; --pink-2: #ff2a7d;
  --cta: linear-gradient(108deg, #fb51c7 10%, #ff2a7d 120%);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: Poppins, Montserrat, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 16px; }
.top { position: sticky; top: 0; z-index: 2; background: rgba(4, 4, 4, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand b { color: var(--pink); font-weight: 700; }
.top__link { font-size: 12px; font-weight: 700; padding: 10px 14px; border-radius: 8px; background: #443d58; }
.top__link:hover { background: #4f4766; }
.hero { padding: 32px 0 8px; }
.hero h1 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--pink); }
.hero p { margin: 0; color: var(--tint); font-size: 14px; }
.grid { list-style: none; margin: 0; padding: 24px 0 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; }
.card__link { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--card); outline: 1px solid transparent; transition: outline-color .15s ease, transform .15s ease; }
.card__link:hover, .card__link:focus-visible { outline: 2px solid var(--text); }
.card__img { width: 100%; height: 100%; display: block; object-fit: cover; }
.card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 9px 18px; border-radius: 8px; background: var(--cta); font-size: 12px; font-weight: 700; opacity: 0; transition: opacity .15s ease; }
.card__link:hover .card__play, .card__link:focus-visible .card__play { opacity: 1; }
.card__title { margin: 0; font-size: 15px; font-weight: 600; }
.card__tag { margin: 0; color: var(--tint); font-size: 12px; line-height: 1.4; }
.foot { color: var(--dim); font-size: 11px; padding: 16px 16px 28px; border-top: 1px solid rgba(255, 255, 255, .06); }
@media (hover: none) { .card__play { opacity: 1; } }

/* embed guide */
.doc { max-width: 860px; padding: 28px 16px 64px; }
.doc h1 { font-size: 30px; margin: 0 0 8px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; }
.doc p, .doc li { color: #d9d2e0; font-size: 14px; line-height: 1.65; }
.doc code { font-size: 12.5px; background: var(--input); border: 1px solid #363247; border-radius: 4px; padding: 1px 5px; }
.doc pre { background: var(--input); border: 1px solid #363247; border-radius: 12px; padding: 14px 16px; overflow: auto; font-size: 12.5px; line-height: 1.55; }
.doc pre code { background: none; border: 0; padding: 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 13px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #363247; }
.doc th { color: var(--tint); font-weight: 500; }
.live { margin-top: 12px; display: grid; gap: 10px; }
.live select { font: inherit; font-size: 13px; color: var(--text); background: var(--input); border: 1px solid #363247; border-radius: 12px; padding: 10px 12px; width: max-content; }
.live iframe { width: 100%; aspect-ratio: 16 / 10; min-height: 520px; border: 0; border-radius: 12px; background: #0d0c11; }
