* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, #173322 0%, #07150d 45%, #030906 100%);
  color: white;
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  width: 100%;
  min-height: 100vh;
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 24px 18px 40px;
}

.screen.active {
  display: block;
}

/* START */

#startScreen {
  display: none;
  align-items: center;
  justify-content: center;
}

#startScreen.active {
  display: flex;
}

.card {
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: rgba(10, 27, 17, 0.95);
  border: 1px solid #375443;
  border-radius: 28px;
  padding: 30px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.start-card {
  text-align: center;
}

.logo {
  font-size: 72px;
  margin-bottom: 8px;
}

h1 {
  font-size: 52px;
  line-height: 1;
  margin-bottom: 16px;
  color: #f1b74c;
}

.subtitle {
  color: #c9d3cc;
  line-height: 1.5;
  margin-bottom: 28px;
  font-size: 17px;
}

input {
  width: 100%;
  padding: 16px;
  border: 1px solid #425d4b;
  border-radius: 14px;
  margin-bottom: 12px;
  background: #102419;
  color: white;
  outline: none;
}

input:focus {
  border-color: #e8b24e;
}

#roomCodeInput {
  text-transform: uppercase;
  letter-spacing: 4px;
  text-align: center;
  font-weight: 800;
}

.primary,
.secondary {
  width: 100%;
  border-radius: 14px;
  padding: 16px;
  font-weight: 900;
}

.primary {
  border: none;
  background: #e8b24e;
  color: #211707;
}

.secondary {
  border: 1px solid #58705f;
  background: #15291d;
  color: white;
}

.primary:active,
.secondary:active {
  transform: scale(0.98);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: #829189;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #34463b;
}

/* LOBBY */

#lobbyScreen {
  max-width: 900px;
  margin: auto;
}

.lobby-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 18px;
}

.small-label {
  font-size: 12px;
  color: #92a59a;
  font-weight: 800;
  letter-spacing: 2px;
}

.room-code {
  color: #f2b94f;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 5px;
}

.player-count {
  background: #13281c;
  border: 1px solid #3c5846;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 800;
}

.ship-lobby {
  max-width: 700px;
  height: 430px;
  margin: 0 auto 22px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 2px solid #38516b;
  background:
    linear-gradient(90deg, #101d31 0%, #172a43 18%, #0b1729 50%, #172a43 82%, #101d31 100%);
  box-shadow:
    inset 0 0 45px rgba(0, 0, 0, 0.65),
    0 12px 30px rgba(0, 0, 0, 0.35);
}

.ship-window {
  position: absolute;
  width: 58%;
  height: 165px;
  top: 20px;
  left: 21%;
  overflow: hidden;
  border-radius: 28px 28px 45px 45px;
  border: 5px solid #60738b;
  background:
    radial-gradient(circle at 50% 130%, #225b91 0 38%, transparent 39%),
    linear-gradient(180deg, #020918, #071a35);
  box-shadow:
    inset 0 0 25px rgba(73, 214, 255, 0.25),
    0 0 14px rgba(79, 205, 255, 0.16);
}

.window-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #ffffff 1px, transparent 1.5px),
    radial-gradient(circle, #78e8ff 1px, transparent 1.5px);
  background-size: 55px 55px, 85px 85px;
  background-position: 5px 10px, 25px 20px;
  opacity: 0.8;
}

.earth {
  position: absolute;
  width: 190px;
  height: 190px;
  left: 50%;
  bottom: -115px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 30%, #82bc55 0 14%, transparent 15%),
    radial-gradient(circle at 65% 40%, #79ad4d 0 12%, transparent 13%),
    radial-gradient(circle at 48% 65%, #6aa349 0 15%, transparent 16%),
    #2877ad;
  box-shadow:
    0 0 20px rgba(86, 201, 255, 0.55),
    inset -20px -18px 30px rgba(0, 0, 0, 0.22);
}

.ship-title {
  position: absolute;
  top: 192px;
  left: 50%;
  transform: translateX(-50%);
  color: #8deaff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 0 12px rgba(81, 224, 255, 0.55);
}

/* PLAYER PODS */

.seat {
  position: absolute;
  width: 92px;
  height: 54px;
  z-index: 2;
  border-radius: 18px 18px 26px 26px;
  border: 3px solid #526780;
  background:
    linear-gradient(180deg, #32465d 0%, #19283a 65%, #101c2b 100%);
  box-shadow:
    inset 0 5px 8px rgba(255,255,255,0.08),
    0 7px 10px rgba(0,0,0,0.45);
}

.seat::before {
  content: "";
  position: absolute;
  width: 62px;
  height: 31px;
  left: 12px;
  top: -17px;
  border-radius: 45px 45px 13px 13px;
  background: #101b2a;
  border: 3px solid #526780;
}

.seat::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 7px;
  bottom: 7px;
  border-radius: 50%;
  background: #8cff65;
  box-shadow: 0 0 7px #8cff65;
}

/* LEFT SIDE */

.seat-1 { left: 5%; top: 60px; }
.seat-2 { left: 3%; top: 130px; }
.seat-3 { left: 2%; top: 200px; }
.seat-4 { left: 3%; top: 270px; }
.seat-5 { left: 5%; top: 340px; }

/* RIGHT SIDE */

.seat-6 { right: 5%; top: 60px; }
.seat-7 { right: 3%; top: 130px; }
.seat-8 { right: 2%; top: 200px; }
.seat-9 { right: 3%; top: 270px; }
.seat-10 { right: 5%; top: 340px; }

/* CONTROL PANEL */

.control-console {
  position: absolute;
  width: 270px;
  height: 92px;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  border: 3px solid #455d76;
  border-radius: 18px;
  background: linear-gradient(180deg, #26394f, #101c2c);
  box-shadow:
    inset 0 5px 10px rgba(255,255,255,0.08),
    0 10px 18px rgba(0,0,0,0.4);
}

.console-screen {
  position: absolute;
  width: 115px;
  height: 55px;
  left: 18px;
  top: 17px;
  border-radius: 9px;
  border: 2px solid #397a85;
  background:
    radial-gradient(circle at center, #71df78 0 3px, transparent 4px),
    repeating-radial-gradient(
      circle at center,
      transparent 0 12px,
      rgba(87, 224, 119, 0.25) 13px 14px
    ),
    #071c23;
}

.console-buttons {
  position: absolute;
  right: 24px;
  top: 25px;
  display: grid;
  grid-template-columns: repeat(2, 28px);
  gap: 9px;
}

.console-buttons span {
  width: 28px;
  height: 17px;
  border-radius: 5px;
  background: #ffbd42;
  box-shadow: 0 0 6px rgba(255, 189, 66, 0.35);
}

/* MOBILE */

@media (max-width: 520px) {
  .ship-lobby {
    height: 390px;
  }

  .ship-window {
    width: 54%;
    left: 23%;
    height: 135px;
  }

  .ship-title {
    top: 163px;
    font-size: 18px;
  }

  .seat {
    width: 72px;
    height: 45px;
  }

  .seat::before {
    width: 48px;
    left: 9px;
  }

  .seat-1,
  .seat-6 { top: 48px; }

  .seat-2,
  .seat-7 { top: 107px; }

  .seat-3,
  .seat-8 { top: 166px; }

  .seat-4,
  .seat-9 { top: 225px; }

  .seat-5,
  .seat-10 { top: 284px; }

  .control-console {
    width: 190px;
    height: 67px;
    bottom: 15px;
  }

  .console-screen {
    width: 80px;
    height: 39px;
    top: 12px;
  }

  .console-buttons {
    right: 17px;
    top: 17px;
  }
}

.players-area {
  position: absolute;
  inset: 0;
}

.monkey {
  position: absolute;
  font-size: 42px;
  text-align: center;
}

.monkey-name {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin-top: -5px;
  color: #281a0c;
}

.players-panel {
  max-width: 700px;
  margin: auto;
  background: #0d2116;
  border: 1px solid #344d3d;
  border-radius: 20px;
  padding: 18px;
}

.players-panel h2 {
  color: #f0b84e;
  font-size: 17px;
  margin-bottom: 12px;
}

.player-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  border-bottom: 1px solid #263b2e;
}

.player-row:last-child {
  border-bottom: 0;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-avatar {
  font-size: 30px;
}

.host-tag {
  background: #e8b24e;
  color: #211707;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 900;
}

.big {
  max-width: 700px;
  display: block;
  margin: 18px auto 0;
}

.waiting {
  text-align: center;
  color: #98a79e;
  padding: 20px;
}

/* ROLE */

#roleScreen,
#resultScreen {
  align-items: center;
  justify-content: center;
}

#roleScreen.active,
#resultScreen.active {
  display: flex;
}

.role-card {
  text-align: center;
}

.role-icon {
  font-size: 66px;
  margin-bottom: 12px;
}

.role-card h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.secret-place {
  font-size: 38px;
  font-weight: 900;
  color: #f1b74c;
  margin-bottom: 18px;
  word-break: break-word;
}

.role-card p {
  color: #cad4ce;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* ROUND */

#roundScreen {
  max-width: 850px;
  margin: auto;
}

.round-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 14px;
  padding: 10px 14px;

  border: 1px solid #36566b;
  border-radius: 14px;

  background: rgba(8, 29, 39, 0.9);

  color: #8faebc;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;

  box-shadow:
    inset 0 0 14px rgba(85, 215, 255, 0.05),
    0 5px 14px rgba(0, 0, 0, 0.2);
}

#roundNumber {
  color: #55d7ff;
  font-size: 16px;

  text-shadow: 0 0 8px rgba(85, 215, 255, 0.45);
}

#roundRoomCode {
  padding: 5px 9px;

  border: 1px solid #39738a;
  border-radius: 8px;

  background: rgba(85, 215, 255, 0.08);

  color: #55d7ff;
}

.round-card {
  text-align: center;
  margin-bottom: 20px;
}







#roundScreen .locations-box h3 {
  margin: 0 0 16px;

  color: #55d7ff;

  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;

  text-align: center;
  text-shadow: 0 0 10px rgba(85, 215, 255, 0.35);
}

#roundScreen .locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

#roundScreen .location {
  padding: 11px 8px;

  border: 1px solid #36566b;
  border-radius: 11px;

  background: rgba(17, 48, 63, 0.85);

  color: #cfe9f2;

  text-align: center;
  font-size: 13px;
  font-weight: 800;

  box-shadow:
    inset 0 0 12px rgba(85, 215, 255, 0.04),
    0 4px 10px rgba(0, 0, 0, 0.18);
}

/* MOBILE */

@media (min-width: 650px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .screen {
    padding-top: 40px;
  }
}
/* ==================================
   UNPLACED LOBBY - COMPACT COZY STYLE
   ================================== */

   #lobbyScreen {
    max-width: 620px;
    padding: 22px 16px 35px;
  }
  
  .lobby-top {
    max-width: 520px;
    margin-bottom: 12px;
  }
  
  .room-code {
    font-size: 25px;
    letter-spacing: 4px;
  }
  
  .player-count {
    padding: 8px 13px;
    font-size: 14px;
  }
  
  /* smaller cozy island */
  
  .island {
    max-width: 520px;
    height: 285px;
    margin-bottom: 14px;
    border-radius: 22px;
  
    background:
      linear-gradient(
        to bottom,
        #102d3d 0%,
        #102d3d 43%,
        #25869a 43%,
        #2e9aad 58%,
        #176b56 58%,
        #176b56 100%
      );
  
    box-shadow:
      inset 0 0 35px rgba(0,0,0,.18),
      0 10px 30px rgba(0,0,0,.25);
  }
  
  .sun {
    width: 48px;
    height: 48px;
    top: 26px;
    right: 34px;
  }
  
  .palm {
    font-size: 70px;
    left: 24px;
    bottom: 70px;
  }
  
  .water {
    bottom: 78px;
    height: 58px;
  }
  
  .sand {
    left: 6%;
    right: 6%;
    bottom: -72px;
    height: 180px;
    border-top-width: 5px;
  }
  
  .campfire {
    top: 27px;
    font-size: 39px;
  }
  
  /* monkeys closer around fire */
  
  .monkey {
    font-size: 34px;
  }
  
  .monkey-name {
    color: #191009;
    font-size: 10px;
    background: rgba(244, 200, 127, .75);
    padding: 2px 5px;
    border-radius: 7px;
    width: max-content;
    margin: -3px auto 0;
  }
  
  /* compact player list */
  
  .players-panel {
    max-width: 520px;
    padding: 15px 17px;
    border-radius: 17px;
  
    background:
      linear-gradient(
        180deg,
        #0c2115,
        #091a11
      );
  }
  
  .players-panel h2 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 7px;
  }
  
  .player-row {
    padding: 8px 2px;
  }
  
  .player-avatar {
    font-size: 25px;
  }
  
  .host-tag {
    font-size: 9px;
  }
  
  /* start button */
  
  .big {
    max-width: 520px;
    margin-top: 13px;
    padding: 14px;
  }
  
  .waiting {
    padding: 14px;
    font-size: 14px;
  }
  
  /* make lobby feel less stretched on phones */
  
  @media (max-width: 500px) {
    #lobbyScreen {
      padding-top: 18px;
    }
  
    .island {
      height: 270px;
    }
  
    .room-code {
      font-size: 23px;
    }
  }
  /* --------------------
   ALIENS IN SHIP SEATS
-------------------- */

.alien-player {
  position: absolute;
  left: 50%;
  bottom: 3px;
transform: translateX(-50%) scale(0.8);
  width: 52px;
  height: 58px;
  z-index: 6;
  pointer-events: none;
}

.alien-head {
  position: absolute;
  width: 44px;
  height: 40px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: var(--alien-color);
  border-radius: 52% 52% 45% 45%;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow:
    inset 0 5px 8px rgba(255,255,255,0.25),
    0 0 12px var(--alien-color);
  z-index: 2;
}

.alien-eye {
  position: absolute;
  width: 10px;
  height: 15px;
  top: 11px;
  background: #07101c;
  border-radius: 60% 40% 60% 40%;
}

.alien-eye-left {
  left: 8px;
  transform: rotate(15deg);
}

.alien-eye-right {
  right: 8px;
  transform: rotate(-15deg);
}

.alien-body {
  position: absolute;
  width: 30px;
  height: 27px;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--alien-color);
  border-radius: 45% 45% 35% 35%;
  z-index: 1;
}

.alien-name {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  background: #0a1727;
  border: 1px solid #526b87;
  border-radius: 8px;
  padding: 2px 6px;
  color: white;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  z-index: 8;
}
/* MINI ALIEN IN PLAYER LIST */

.player-list-alien {
  position: relative;
  width: 38px;
  height: 32px;
  flex-shrink: 0;
  background: var(--alien-color);
  border-radius: 52% 52% 45% 45%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 8px var(--alien-color);
}

.mini-eye {
  position: absolute;
  top: 8px;
  width: 8px;
  height: 13px;
  background: #07101c;
  border-radius: 60% 40% 60% 40%;
}

.mini-eye-left {
  left: 7px;
  transform: rotate(15deg);
}

.mini-eye-right {
  right: 7px;
  transform: rotate(-15deg);
}
/* LOCATION CARDS */

#gameLocationsGrid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 10px !important;
  align-items: flex-start;
  align-content: flex-start;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 10px;
  padding-bottom: 50px;
}


.location-card {
  width: calc(50% - 5px) !important;
  flex: 0 0 calc(50% - 5px);
  min-width: 0;
  text-align: center;
  margin-bottom: -50px !important;
  padding: 0 !important;
  height: 85px !important;
  min-height: 85px !important;
}


.location-card-image {
  display: block;
  width: 100%;
  height: 85px;
  object-fit: contain;
  border-radius: 12px;
}

.location-card-placeholder {
  width: 100%;
  height: 85px;
  border-radius: 12px;
  background: #10271c;
}

.location-card-name {
  display: none;
}

/* =========================
   ALIEN VOTING PANEL
========================= */

#votingPanel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #36566b;
  background: rgba(8, 29, 39, 0.96);
  box-shadow:
    inset 0 0 25px rgba(63, 214, 255, 0.05),
    0 8px 22px rgba(0, 0, 0, 0.25);
}

#votingPanel h3 {
  margin: 0 0 15px;
  text-align: center;
  font-size: 21px;
  letter-spacing: 1.5px;
  color: #f2b84b;
}

#votingPlayerList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

#votingPlayerList button {
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
  padding: 10px 8px !important;

  border: 2px solid #385b6d;
  border-radius: 14px;

  background: #102c31;
  color: white;

  font-size: 16px;
  font-weight: 800;

  box-shadow:
    inset 0 0 12px rgba(255,255,255,0.03),
    0 4px 10px rgba(0,0,0,0.2);
}

#votingPlayerList button:active {
  transform: scale(0.96);
  border-color: #f2b84b;
  background: #183d40;
}

#votingStatus {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #9db8b5;
}

#voteRequestsStatus {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  color: #d8e4df;
}

/* =========================
   ROUND RESULT SCREEN
========================= */

#resultScreen .role-card {
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin: 35px auto;
  padding: 34px 24px;

  border: 2px solid #36566b;
  border-radius: 26px;

  background:
    radial-gradient(circle at 50% 0%, rgba(43, 188, 255, 0.12), transparent 45%),
    #081d27;

  box-shadow:
    inset 0 0 35px rgba(52, 196, 255, 0.06),
    0 15px 35px rgba(0, 0, 0, 0.35);

  text-align: center;
}

#resultScreen .role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 3px;

  background: #55d7ff;
  box-shadow: 0 0 14px #55d7ff;
}

#resultScreen .role-icon {
  font-size: 64px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(242, 184, 75, 0.35));
}

#resultScreen h2 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 2px;
}

#resultText {
  margin: 0 0 25px;
  padding: 20px 14px;

  border: 1px solid #36566b;
  border-radius: 16px;

  background: #102c31;

  color: #f2b84b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}

#nextRoundBtn {
  width: 100%;
  min-height: 58px;
  margin-top: 8px;

  border-radius: 15px;

  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;
}
/* =========================
   MATCH WINNER
========================= */

#resultScreen.match-over .role-card {
  border: 2px solid #f2b84b;

  background:
    radial-gradient(circle at 50% 10%, rgba(255, 211, 78, 0.20), transparent 42%),
    #081d27;

  box-shadow:
    inset 0 0 40px rgba(255, 211, 78, 0.08),
    0 0 28px rgba(242, 184, 75, 0.20),
    0 15px 35px rgba(0, 0, 0, 0.38);
}

#resultScreen.match-over .role-card::before {
  background: #ffd34e;
  box-shadow:
    0 0 10px #ffd34e,
    0 0 24px rgba(255, 211, 78, 0.55);
}

#resultScreen.match-over .role-icon {
  font-size: 78px;
  filter:
    drop-shadow(0 0 10px rgba(255, 211, 78, 0.7))
    drop-shadow(0 0 24px rgba(255, 180, 40, 0.3));
}

#resultScreen.match-over h2 {
  color: #ffd34e;
  font-size: 34px;
  text-shadow: 0 0 15px rgba(255, 211, 78, 0.35);
}

#resultScreen.match-over #resultText {
  border-color: #f2b84b;
  background: rgba(74, 52, 10, 0.32);
  color: #ffd34e;

  font-size: 24px;

  box-shadow:
    inset 0 0 18px rgba(255, 211, 78, 0.08),
    0 0 16px rgba(242, 184, 75, 0.10);
}

#resultScreen.match-over #nextRoundBtn {
  background: #f2b84b;
  color: #122026;
  border-color: #ffd56a;
}
/* =========================
   ALIEN LOCATION CONSOLE
========================= */

.locations-box {
  margin-top: 20px;
  padding: 18px;

  border: 2px solid #36566b;
  border-radius: 20px;

  background:
    radial-gradient(circle at 50% 0%, rgba(76, 215, 255, 0.10), transparent 45%),
    #081d27;

  box-shadow:
    inset 0 0 28px rgba(66, 209, 255, 0.05),
    0 8px 22px rgba(0, 0, 0, 0.25);
}

.locations-box h3 {
  margin: 0 0 14px;

  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;

  color: #55d7ff;
  text-shadow: 0 0 10px rgba(85, 215, 255, 0.3);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.location {
  min-height: 46px;
  padding: 9px 6px;

  border: 1px solid #36566b;
  border-radius: 11px;

  background: #102c31;
  color: white;

  text-align: center;
  font-size: 13px;
  font-weight: 800;

  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    background 0.12s ease;
}

.location:active {
  transform: scale(0.96);

  background: #183d40;
  border-color: #f2b84b;
  color: #ffd34e;
}
/* =========================
   CURRENT TURN PANEL
========================= */

#roundScreen .round-card {
  position: relative;
  overflow: hidden;

  margin-top: 18px;
  padding: 22px 18px 18px;

  border: 2px solid #36566b;
  border-radius: 22px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(85, 215, 255, 0.14),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #0d2230,
      #081822
    );

  box-shadow:
    inset 0 0 30px rgba(85, 215, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.35);

  text-align: center;
}

#roundScreen .round-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 3px;

  background: #55d7ff;

  box-shadow:
    0 0 10px rgba(85, 215, 255, 0.9),
    0 0 22px rgba(85, 215, 255, 0.45);
}

#roundScreen .small-label {
  color: #8faebc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

#currentTurn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 70%;

  margin: 14px 0 12px;
  padding: 12px 18px;

  border: 1px solid #39738a;
  border-radius: 999px;

  background: rgba(37, 105, 130, 0.22);

  color: #55d7ff;
  font-size: 25px;
  font-weight: 900;

  text-shadow: 0 0 12px rgba(85, 215, 255, 0.35);

  box-shadow:
    inset 0 0 18px rgba(85, 215, 255, 0.08),
    0 0 14px rgba(85, 215, 255, 0.08);
}

#currentTurn::before {
  content: "●";
  margin-right: 10px;
  color: #7cff5b;
  font-size: 13px;
  text-shadow: 0 0 8px #7cff5b;
}

#roundScreen .round-card p {
  margin: 6px 0 14px;
  color: #c7d5d9;
  font-size: 15px;
  line-height: 1.5;
}

#nextTurnBtn {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;

  border: 2px solid #55d7ff;
  border-radius: 15px;

  background:
    linear-gradient(
      180deg,
      #2ac8f3,
      #1596c1
    );

  color: #06151d;

  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;

  box-shadow:
    0 0 16px rgba(85, 215, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

#nextTurnBtn:active {
  transform: scale(0.97);
}
/* SELECTED GUESS */

.location-card.guess-selected {
  transform: scale(0.97);

  outline: 3px solid #ffd34e;
  outline-offset: 2px;

  border-radius: 12px;

  box-shadow:
    0 0 10px rgba(255, 211, 78, 0.8),
    0 0 24px rgba(255, 211, 78, 0.4);
}
/* =========================
   ACTIVE CURRENT TURN PANEL
========================= */

.game-turn-panel {
  position: relative;
  overflow: hidden;

  margin: 14px 0 18px;
  padding: 18px;

  border: 2px solid #36566b;
  border-radius: 20px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(85, 215, 255, 0.12),
      transparent 50%
    ),
    #081d27;

  box-shadow:
    inset 0 0 25px rgba(85, 215, 255, 0.05),
    0 8px 22px rgba(0, 0, 0, 0.25);

  text-align: center;
}

.game-turn-panel::before {
  content: "";
  position: absolute;

  top: 0;
  left: 15%;
  right: 15%;

  height: 3px;

  background: #55d7ff;

  box-shadow:
    0 0 10px #55d7ff,
    0 0 20px rgba(85, 215, 255, 0.4);
}

.game-turn-panel .small-label {
  color: #8faebc;

  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

#gameCurrentTurn {
  margin: 10px 0;

  color: #55d7ff;

  font-size: 24px;
  font-weight: 900;

  text-shadow:
    0 0 12px rgba(85, 215, 255, 0.35);
}

.game-turn-panel p {
  margin: 0 0 14px;

  color: #c7d5d9;

  font-size: 14px;
  line-height: 1.4;
}

#gameNextTurnBtn {
  width: 100%;
  min-height: 52px;

  margin: 0;

  border: 2px solid #55d7ff;
  border-radius: 14px;

  background:
    linear-gradient(
      180deg,
      #2ac8f3,
      #1596c1
    );

  color: #06151d;

  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

#gameNextTurnBtn:disabled {
  opacity: 0.35;
}
.game-notice {
  display: none;

  margin: 12px 0;
  padding: 12px 16px;

  text-align: center;

  background: rgba(255, 211, 78, 0.12);
  border: 2px solid #ffd34e;
  border-radius: 14px;

  color: #ffd34e;

  font-size: 17px;
  font-weight: 900;
  letter-spacing: 1px;

  box-shadow:
    0 0 14px rgba(255, 211, 78, 0.25),
    inset 0 0 12px rgba(255, 211, 78, 0.08);
}
.connection-lost {
  display: block;
  margin-top: 3px;
  color: #ff6b57;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
}