/*
 * MTG Hunt ? Shared Site Styles
 *
 * Common styling used across site pages.
 * Extracted from existing inline CSS.
 *
 * Do not modify hunting algorithms or JavaScript here.
 */

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 0 0;
  min-width: 0;
}

.header-search input {
  width: 205px;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 205px;
  padding: 10px 12px;
  background: #0f172a;
  color: #f3f4f6;
  border: 1px solid #374151;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.header-search button:hover {
  background: #1d4ed8;
}


/* MTG Hunt ? Consistent Desktop Header Alignment */
@media (min-width: 601px) {
  .site-header {
    align-items: center;
  }

  .site-brand {
    flex: 0 0 auto;
  }

  .site-nav {
    margin-left: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .header-search {
    flex: 0 0 auto;
    width: auto;
  }
}


/* MTG Hunt ? Stable Scrollbar Layout */
html {
  scrollbar-gutter: stable;
}

/* MTG Hunt ? Responsive Header Search */
@media (max-width: 600px) {
  .header-search {
    flex: 1 1 100%;
    width: 100%;
    margin: 0 0 8px;
  }

  .header-search input {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* MTG Hunt - Shared Version Label */
.app-version {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  vertical-align: middle;
  white-space: nowrap;
}

/* MTG Hunt - Shared Footer */
.site-footer {
  padding: 22px 20px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  border-top: 1px solid #1e293b;
}


/* MTG Hunt brand home link */
.brand-home-link {
  color: inherit;
  text-decoration: none;
}
.brand-home-link:hover {
  color: #93c5fd;
}
.brand-home-link:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 4px;
  border-radius: 3px;
}


/* Official MTG Hunt logo */
.brand-home-link,
.brand-home-link:visited {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.site-brand h1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: nowrap;
  margin: 0 0 6px;
}

.site-brand .brand-home-link {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
}

.site-brand .brand-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.site-brand .app-version {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #cbd5e1;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.18);
  transform: translateY(8px);
}

@media (max-width: 600px) {
  .site-brand .brand-logo {
    width: 205px;
  }

  .site-brand .app-version {
    font-size: 12px;
  }
}


/* MTG Hunt developer signature */
.developer-signature {
  display: inline-block;
  color: #ff3030;
  font-weight: 700;
  font-style: oblique 6deg;
  -webkit-text-stroke: 0;
  transform: none;
  text-shadow:
    -0.5px 0 #000,
     0.5px 0 #000,
     0 -0.5px #000,
     0 0.5px #000;
}
