/* OMEN crew kit: black field, white ink and the flat colors of the crew. Shared by the landing, the terminal
   and the docs. Badges, stickers, sparkles and the character slots come from crew.js; the characters
   themselves are artwork listed in crew-art.js. */
:root{--c-bg:#000;--c-surface:#0b0b0d;--c-raised:#111114;--c-hover:#17171b;--c-line:#1c1c21;--c-edge:#2a2a31;--c-ink:#fff;--c-text:#d6d6dd;--c-muted:#9b9ba7;--c-faint:#6c6c78;
  --blue:#2f6bff;--sky:#4cc3c9;--green:#3fc77a;--orange:#ff8a1f;--amber:#ffb21e;--red:#ff4a4a;--purple:#9a5cff;--pink:#ff3f9e;--brown:#b5793f;--white:#f4f4f6;
  --r-card:24px;--r-pill:999px;--font:Manrope,"Segoe UI",Arial,sans-serif;color-scheme:dark}

/* The supplied brand image is unchanged; the frame trims its original black margins. */
.brand-mark{position:relative;display:inline-block;flex:none;width:1em;height:1em;overflow:hidden;background:#000;font-size:30px}
.brand-mark>img{position:absolute;display:block;left:-25%;top:-25%;width:150%;height:150%;max-width:none;object-fit:contain}

/* Badges: a round colored tile with a line icon. */
.crew-badge{display:inline-grid;place-items:center;flex:none;width:1em;height:1em;border-radius:50%;background:var(--badge);color:var(--badge-ink,#fff);font-size:32px;box-shadow:inset 0 -.08em .16em #0000002e,inset 0 .06em .1em #ffffff40}
.crew-badge .crew-icon{width:52%;height:52%}
.crew-badge.is-forge{border-radius:32%}
.crew-icon{display:block;width:1em;height:1em;flex:none}
.crew-token{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;background:var(--badge);color:var(--badge-ink,#fff);font:800 15px/1 var(--font);box-shadow:inset 0 -3px 6px #0000002e,inset 0 2px 4px #ffffff33}
.crew-sparkle{display:block;width:1em;height:1em}
.crew-sparkle-anim{animation:crew-twinkle 3.2s ease-in-out infinite;animation-delay:var(--tw,0s)}
@keyframes crew-twinkle{0%,100%{transform:scale(1) rotate(0);opacity:1}50%{transform:scale(.55) rotate(45deg);opacity:.45}}

/* Character slots. Empty: the designed placeholder inside stays. With art: the image replaces it and floats. */
.crew-slot{position:relative;display:inline-grid;place-items:center}
.crew-slot>.crew-art{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 18px 24px #0009)}
.crew-slot.has-art>:not(.crew-art){display:none}
.crew-slot.is-mini.has-art{width:1.3em;height:1.3em}
.crew-slot.is-float>.crew-art{animation:crew-float 6s ease-in-out infinite;animation-delay:var(--fl,0s)}
@keyframes crew-float{50%{transform:translateY(-8px) rotate(2deg)}}

/* Buttons, chips and stickers. */
.c-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border:1px solid transparent;border-radius:var(--r-pill);background:var(--c-ink);color:#000;font:700 14px/1 var(--font);letter-spacing:-.01em;text-decoration:none;cursor:pointer;transition:transform .2s,background-color .2s,border-color .2s,color .2s}
.c-btn:hover{transform:translateY(-1px);background:#e9e9ee}
.c-btn.is-ghost{border-color:var(--c-edge);background:var(--c-raised);color:var(--c-ink)}.c-btn.is-ghost:hover{border-color:#44444d;background:var(--c-hover)}
.c-chip{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:1px solid var(--c-edge);border-radius:var(--r-pill);background:#0d0d10;color:var(--c-text);font:600 13px/1.2 var(--font)}
.c-chip i{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px #3fc77a26}
.c-sticker{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:var(--r-pill);background:var(--sticker,#fff);color:var(--sticker-ink,#000);font:800 12px/1 var(--font);letter-spacing:.01em;white-space:nowrap;transform:rotate(var(--tilt,-4deg));box-shadow:0 10px 24px -10px #000,inset 0 -2px 0 #00000026}
.c-sticker .crew-icon{width:14px;height:14px}

@media(prefers-reduced-motion:reduce){.crew-sparkle-anim,.crew-slot.is-float>.crew-art{animation:none}}

/* A token without a logo shows its letter; a real logo still covers it once it loads. */
.ti-glyph.has-face{position:relative;display:grid!important;place-items:center;overflow:hidden;background:transparent!important;border-color:transparent!important}
.ti-glyph.has-face>.crew-token{position:absolute;inset:0}
