@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../../assets/fonts/barlow-condensed-800.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/instrument-serif.woff2") format("woff2");
}
@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/silkscreen.woff2") format("woff2");
}

:root {
  --ob-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ob-move: cubic-bezier(0.77, 0, 0.175, 1);
  --ob-void: #05070f;
  --ob-ink: #eaf2ff;
  --ob-dim: #9db2cf;
  --ob-faint: rgba(206, 224, 250, 0.58);
  --ob-blue: #4ea8ff;
  --ob-glow: #8fd4ff;
  --ob-pink: #ff5c86;
  --ob-gold: #ffcb5c;
  --ob-mint: #9ff5c8;
  --ob-glass: rgba(9, 16, 33, 0.72);
  --ob-glass-deep: rgba(6, 11, 24, 0.88);
  --ob-line: rgba(126, 180, 255, 0.2);
  --ob-line-hot: rgba(126, 196, 255, 0.62);
  --ob-shadow: 0 18px 42px rgba(2, 5, 14, 0.5);
  --font-ob-hud: "Silkscreen", ui-monospace, SFMono-Regular, monospace;
  --font-ob-title: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-ob-display: "Instrument Serif", "Times New Roman", serif;
}

.ob-screen :focus-visible {
  outline: 2px solid var(--ob-glow);
  outline-offset: 2px;
}

.ob-label,
.ob-tag,
.ob-panel-head,
.ob-prompts,
.ob-stamp,
.ob-lockup small {
  font-family: var(--font-ob-hud);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ob-panel {
  position: relative;
  border: 1px solid var(--ob-line);
  border-radius: 10px;
  background: var(--ob-glass);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: var(--ob-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.ob-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  font-size: 9px;
  color: var(--ob-glow);
  background: linear-gradient(90deg, rgba(78, 168, 255, 0.22), rgba(78, 168, 255, 0.02));
  border-bottom: 1px solid var(--ob-line);
  border-radius: 9px 9px 0 0;
}

.ob-panel-head i {
  font-style: normal;
  font-size: 10px;
  line-height: 1;
  opacity: 0.9;
}

.ob-panel-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0.12em;
  color: var(--ob-faint);
}

.ob-panel-head.is-gold {
  color: #ffe3ab;
  background: linear-gradient(90deg, rgba(255, 203, 92, 0.24), rgba(255, 203, 92, 0.02));
  border-bottom-color: rgba(255, 203, 92, 0.24);
}

.ob-panel-head.is-pink {
  color: #ffc2d4;
  background: linear-gradient(90deg, rgba(255, 92, 134, 0.24), rgba(255, 92, 134, 0.02));
  border-bottom-color: rgba(255, 92, 134, 0.24);
}

.ob-tag {
  display: inline-block;
  align-self: start;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 7px;
  color: #08101f;
  background: var(--ob-glow);
}

.ob-mark {
  width: 1em;
  height: 1em;
  fill: currentColor;
  shape-rendering: crispEdges;
  flex: none;
}

.ob-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ob-ink);
}

.ob-lockup .ob-mark {
  font-size: 30px;
  filter: drop-shadow(0 2px 10px rgba(78, 168, 255, 0.45));
}

.ob-lockup-text {
  display: grid;
  gap: 3px;
}

.ob-lockup strong {
  font-family: var(--font-ob-title);
  font-weight: 800;
  font-size: 27px;
  line-height: 0.82;
  letter-spacing: 0.005em;
}

.ob-lockup small {
  font-size: 7px;
  color: var(--ob-faint);
}

.ob-script {
  margin: 0;
  font-family: var(--font-ob-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.25;
  color: rgba(224, 236, 255, 0.52);
  transform: rotate(-2.4deg);
  pointer-events: none;
}

.ob-badge {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(234, 242, 255, 0.9);
  color: #08101f;
  font: 9px/1 var(--font-ob-hud);
  font-style: normal;
}

.ob-badge.is-a { background: var(--ob-mint); }
.ob-badge.is-b { background: var(--ob-pink); color: #fff; }
.ob-badge.is-x { background: var(--ob-glow); }
.ob-badge.is-y { background: var(--ob-gold); }

.ob-prompts {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  color: var(--ob-faint);
}

.ob-prompts span,
.ob-prompts button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ob-prompts button:disabled {
  opacity: 0.4;
  cursor: default;
}

.ob-stamp {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  color: rgba(206, 224, 250, 0.4);
}

.ob-stamp .ob-mark {
  font-size: 15px;
}

.ob-stamp span {
  display: grid;
  gap: 3px;
}

/* Primary gold call to action, shared by the creation flow and the fight button. */
.ob-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  appearance: none;
  padding: 12px 22px 11px;
  border: 1px solid rgba(255, 203, 92, 0.5);
  border-radius: 9px;
  background: linear-gradient(180deg, #ffe3a4, var(--ob-gold));
  color: #221703;
  font-family: var(--font-ob-title);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  box-shadow: 0 0 26px rgba(255, 203, 92, 0.32);
  transition: box-shadow 180ms var(--ob-ease), transform 120ms var(--ob-ease);
}

.ob-cta .ob-badge {
  background: rgba(34, 23, 3, 0.82);
  color: #ffe3a4;
}

.ob-cta:disabled {
  border-color: var(--ob-line);
  background: rgba(9, 16, 33, 0.7);
  color: rgba(206, 224, 250, 0.34);
  box-shadow: none;
  cursor: default;
}

.ob-cta:disabled .ob-badge {
  background: rgba(206, 224, 250, 0.14);
  color: rgba(206, 224, 250, 0.4);
}

.ob-cta:not(:disabled):hover {
  box-shadow: 0 0 34px rgba(255, 203, 92, 0.5);
}

.ob-cta:not(:disabled):active {
  transform: translateY(2px);
}

@media (hover: hover) and (pointer: fine) {
  .ob-panel-head button:hover {
    color: #fff;
  }
}
