/* src/client/site.css */
:root {
  --site-bg: #0e1f35;
  --site-card: #112a48;
  --site-card-soft: #15365d;
  --site-text: #f5fbff;
  --site-subtext: #cde4ff;
  --site-accent: #ffd44d;
  --site-accent-2: #38f2b8;
}
* {
  box-sizing: border-box;
}
html,
body,
#root {
  min-height: 100%;
  background: #1d5e8c;
}
body {
  margin: 0;
  font-family:
    "Trebuchet MS",
    "Segoe UI",
    sans-serif;
  background-image: none;
  color: var(--site-text);
}
.site-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px;
  padding-bottom: 132px;
}
.ad-slot {
  margin: 0 0 16px;
  border: 2px dashed #5c81ad;
  border-radius: 14px;
  background: rgba(14, 36, 64, 0.65);
  color: #cde4ff;
  text-align: center;
  padding: 14px;
}
.ad-slot span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9cc5f0;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  background:
    linear-gradient(
      150deg,
      #1d3b67 0%,
      #15375c 100%);
  border: 2px solid #2d5688;
  border-radius: 20px;
  padding: 20px;
}
.site-logo-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  margin-bottom: 10px;
}
.site-logo {
  width: min(100%, 430px);
  height: auto;
  display: block;
}
.hero h1 {
  margin: 6px 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.hero p {
  margin: 0;
  color: var(--site-subtext);
  line-height: 1.4;
}
.cta,
.game-link,
.back-link {
  display: inline-block;
  margin-top: 14px;
  background:
    linear-gradient(
      180deg,
      #ffe370,
      #ffc72e);
  color: #17263c;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.game-link,
.back-link {
  margin-top: 8px;
  font-size: 0.92rem;
}
.hero-art,
.crew {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.mascot {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.18);
}
.mascot-spark {
  background:
    linear-gradient(
      160deg,
      #ffe57f,
      #ff9f44);
}
.mascot-bolt {
  background:
    linear-gradient(
      160deg,
      #93ffcf,
      #26c9a1);
}
.mascot-bloop {
  background:
    linear-gradient(
      160deg,
      #9fbcff,
      #7a76ff);
}
.eye {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #101820;
  position: absolute;
  top: 34px;
}
.eye.left {
  left: 30px;
}
.eye.right {
  right: 30px;
}
.smile {
  position: absolute;
  width: 30px;
  height: 15px;
  border: 3px solid #101820;
  border-top: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  left: 50%;
  transform: translateX(-50%);
  top: 52px;
}
.featured,
.character-panel,
.game-route-header {
  background: var(--site-card);
  border-radius: 16px;
  border: 2px solid #28507d;
  padding: 16px;
  margin-top: 14px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.game-card {
  background: var(--site-card-soft);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #3f6590;
}
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #1d2e46;
  color: #7ff7c9;
  font-size: 0.75rem;
  text-transform: uppercase;
}
.soon,
.character-panel p,
.game-route-header p {
  color: var(--site-subtext);
}
.sticky-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 24, 44, 0.95);
  border-top: 1px solid #3b5f87;
  padding: 10px 16px;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.footer-center-text {
  margin: 0;
  color: #cde4ff;
  font-size: 0.92rem;
  text-align: center;
  white-space: nowrap;
}
.footer-ads-col {
  display: flex;
  gap: 8px;
}
.footer-ads-col:last-child {
  justify-content: flex-end;
}
.footer-ad-inline {
  border: 1px dashed #6f95bf;
  border-radius: 10px;
  background: rgba(15, 43, 78, 0.7);
  color: #dcedff;
  padding: 8px 10px;
  min-width: 132px;
  text-align: center;
}
.footer-ad-inline span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9cc5f0;
}
.footer-ad-inline strong {
  font-size: 0.82rem;
}
@media (max-width: 1080px) {
  .sticky-footer {
    grid-template-columns: 1fr;
  }
  .footer-ads-col,
  .footer-ads-col:last-child {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-center-text {
    white-space: normal;
  }
  .site-wrap {
    padding-bottom: 188px;
  }
}
@media (max-width: 920px) {
  .hero,
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    justify-content: flex-start;
    padding-top: 52px;
  }
  .top-mini-ad {
    top: 6px;
    right: 6px;
  }
}
.hero-art {
  position: relative;
}
.top-mini-ad {
  position: absolute;
  top: -8px;
  right: 0;
}
.hero-art {
  padding-top: 22px;
}
.logo-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.logo-card {
  background: var(--site-card);
  border-radius: 16px;
  border: 2px solid #2d5688;
  padding: 14px;
}
.logo-card h3 {
  margin: 8px 0 4px;
}
.logo-card p {
  margin: 0;
  color: var(--site-subtext);
}
.logo-preview-stage {
  border: 1px dashed #5d89b5;
  border-radius: 12px;
  padding: 12px;
  background: rgba(12, 30, 55, 0.35);
  overflow-x: auto;
}
.logo-svg {
  width: min(100%, 520px);
  height: auto;
  display: block;
}

/* src/games/stack-wars/styles.css */
:root {
  color-scheme: light;
  --bg-top: #f5e9b6;
  --bg-bottom: #c8d9f2;
  --panel: #fff8de;
  --ink: #112033;
  --toy-blue: #0f62c8;
  --toy-blue-dark: #0a3f86;
  --toy-yellow: #f5c400;
}
* {
  box-sizing: border-box;
}
.game-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
}
.title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3.6vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0b3a77;
  text-shadow: 1px 1px 0 #fff;
}
.control-panel,
.board-panel {
  background: var(--panel);
  border: 3px solid #f3d86f;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(17, 32, 51, 0.18);
  margin-bottom: 14px;
}
.row {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}
.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #112033;
}
input,
select,
button {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #bdc8d7;
  padding: 9px 10px;
  margin-top: 6px;
  font-size: 1rem;
}
button {
  border: 0;
  background:
    linear-gradient(
      180deg,
      #1a73d8,
      #0a4fa5);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
button:hover {
  filter: brightness(1.05);
}
.subtle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #27456f;
}
.status {
  margin: 0 0 10px;
  font-weight: 900;
  color: #0b3a77;
}
.toy-frame {
  display: grid;
  justify-content: center;
  gap: 7px;
  background:
    linear-gradient(
      180deg,
      var(--toy-blue),
      var(--toy-blue-dark));
  border: 10px solid var(--toy-yellow);
  border-radius: 12px;
  padding: 10px;
}
.slot {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid #0f3a77;
  background:
    radial-gradient(
      circle at 35% 35%,
      #f8fbff 0%,
      #dce7f5 55%,
      #c7d7ec 100%);
  box-shadow: inset 0 2px 4px rgba(15, 58, 119, 0.25);
}
.piece-red {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ff8a84 0%,
      #dc2c24 55%,
      #8e130f 100%);
  border-color: #740f0b;
}
.piece-yellow {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ffe77d 0%,
      #f3c40c 55%,
      #ab7f00 100%);
  border-color: #825f00;
}
.piece-green {
  background:
    radial-gradient(
      circle at 35% 35%,
      #8ff4b2 0%,
      #1fae56 55%,
      #0e6a34 100%);
  border-color: #0b582a;
}
.piece-purple {
  background:
    radial-gradient(
      circle at 35% 35%,
      #d8b6ff 0%,
      #7b36d9 55%,
      #4f1f95 100%);
  border-color: #3d1577;
}
.piece-orange {
  background:
    radial-gradient(
      circle at 35% 35%,
      #ffd09a 0%,
      #e8801b 55%,
      #a95606 100%);
  border-color: #894504;
}
.piece-teal {
  background:
    radial-gradient(
      circle at 35% 35%,
      #9cf4ec 0%,
      #1caea0 55%,
      #0d6c63 100%);
  border-color: #095952;
}
.win-cell {
  outline: 4px solid #27c66f;
  outline-offset: -4px;
}
.drop-anim {
  animation: drop-in 360ms ease-out;
}
@keyframes drop-in {
  0% {
    transform: translateY(calc(var(--drop-distance, 120px) * -1)) scale(0.94);
  }
  70% {
    transform: translateY(6px) scale(1.02);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.how-to-play {
  margin-top: 12px;
  background: #fff2bf;
  border: 2px solid #f0d26b;
  border-radius: 10px;
  padding: 10px;
}
.how-title {
  margin: 0 0 6px;
  font-weight: 900;
  color: #0b3a77;
}
.how-to-play p {
  margin: 4px 0;
  font-size: 0.95rem;
  color: #0b3a77;
}
@media (max-width: 860px) {
  .two-col,
  .three-col {
    grid-template-columns: 1fr;
  }
  .slot {
    width: 44px;
    height: 44px;
  }
}
.actions {
  display: flex;
  justify-content: flex-start;
}
.actions button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
}
.actions {
  gap: 10px;
  flex-wrap: wrap;
}
.mp-lobby {
  margin-top: 10px;
  padding: 14px;
  background: #fff2bf;
  border: 2px solid #f0d26b;
  border-radius: 10px;
  color: #112033;
}
.mp-lobby label {
  color: #112033;
}
.mp-heading {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: #0b3a77;
}
.mp-code-display {
  text-align: center;
  padding: 14px 0;
}
.mp-label {
  margin: 0 0 6px;
  font-weight: 700;
  color: #27456f;
}
.mp-code {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #0b3a77;
  margin: 8px 0;
  word-break: break-all;
}
.mp-waiting {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #7a5f1e;
  animation: mp-pulse 1.5s ease-in-out infinite;
}
@keyframes mp-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.mp-form label {
  margin-bottom: 10px;
}
.mp-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.mp-btn {
  flex: 1;
  padding: 10px;
  font-weight: 800;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  background:
    linear-gradient(
      180deg,
      #1a73d8,
      #0a4fa5);
  color: #fff;
}
.mp-btn-secondary {
  background:
    linear-gradient(
      180deg,
      #6b7a8d,
      #4a5766);
}
.mp-btn:hover {
  filter: brightness(1.05);
}
.mp-color-form {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.mp-color-form label {
  flex: 1;
}
.mp-cancel {
  margin-top: 8px;
  width: auto;
  padding: 8px 16px;
  background:
    linear-gradient(
      180deg,
      #6b7a8d,
      #4a5766);
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.mp-error {
  color: #cc3333;
  font-weight: 700;
}
.mp-connected-bar {
  margin-top: 8px;
  padding: 8px 12px;
  background: #d4edda;
  border: 2px solid #7cc47c;
  border-radius: 10px;
}
.mp-connected-info {
  font-size: 0.95rem;
  color: #155724;
}
.mp-leave {
  background:
    linear-gradient(
      180deg,
      #d94a4a,
      #a52a2a) !important;
}
/*# sourceMappingURL=app.css.map */
