/* Modern UI for Fish Typing Game */
.fish-typing-wrapper {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(11,22,40,0.08);
  background: linear-gradient(180deg,#e6f7ff 0%, #f7fbff 100%);
  padding: 14px;
  box-sizing: border-box;
}

.ft-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.ft-title { font-weight:700; font-size:16px; display:flex; gap:8px; align-items:center; color:#084c61; }
.ft-controls { display:flex; gap:8px; }

.ft-btn {
  border: none;
  padding:8px 12px;
  border-radius:8px;
  background:#08a0c6;
  color:white;
  cursor:pointer;
  font-weight:600;
}
.ft-btn:active{ transform: translateY(1px); }

.ft-playarea { background: linear-gradient(180deg,#cfeefd 0%, #e6f7ff 100%); border-radius:10px; padding:12px; }

.ft-sky { position:relative; height:180px; overflow:hidden; border-radius:8px; background: linear-gradient(180deg,#dff6ff 0%, #bfeefc 100%); }

.ft-track { position:absolute; left:16px; right:64px; top:24px; bottom:24px; display:block; }

.ft-character { position:absolute; bottom:14px; left:0; width:80px; height:48px; transform: translateX(0); transition: transform 0.18s linear; filter: drop-shadow(0 6px 12px rgba(5,30,45,0.12)); }
.ft-character .ft-svg-char { width:100%; height:100%; }
.ft-character:nth-child(1) svg ellipse, .ft-character:nth-child(1) svg polygon, .ft-character:nth-child(1) svg circle {
  fill:#ff9f43;
  stroke:#de7b10;
  stroke-width:1;
}
.ft-character:nth-child(2) svg path, .ft-character:nth-child(2) svg circle {
  fill:#7cc7e8;
  stroke:#2b9bc1;
  stroke-width:1;
}

/* finish flag */
.ft-goal { position:absolute; right:12px; bottom:18px; font-size:28px; color:#0a4b6e; }

/* bottom area */
.ft-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:12px; gap:12px; }
.ft-wordbox { flex:1; }
.ft-word { background:rgba(255,255,255,0.9); padding:10px 14px; border-radius:10px; font-size:20px; font-weight:700; color:#073c4a; box-shadow: 0 4px 16px rgba(4,18,32,0.06); min-height:44px; display:flex; align-items:center; }
.ft-progress { display:flex; gap:8px; margin-top:6px; font-size:12px; color:#054a61; }
.ft-stats { width:200px; display:flex; gap:12px; align-items:center; justify-content:flex-end; }

.ft-score, .ft-wpm { background: white; padding:8px 12px; border-radius:10px; box-shadow:0 6px 14px rgba(4,18,32,0.06); display:flex; gap:8px; align-items:center; font-weight:600; color:#064a5f; }

.ft-footer { margin-top:10px; color:#2b5260; font-size:12px; }

@media (max-width:600px){
  .ft-stats { display:none; }
  .ft-character { width:68px; height:40px; }
  .ft-sky { height:140px; }
}
