@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');

body {
    font-family: 'Rock Salt', 'Caveat', cursive, Arial, sans-serif;
    background: #e2c290 url('https://www.transparenttextures.com/patterns/stone.png');
    margin: 0;
    padding: 0;
}
.container {
    max-width: 400px;
    margin: 20px auto;
    background: #f5e6c8;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(80,60,20,0.18);
    padding: 20px;
    border: 4px solid #bfa76a;
    border-style: dashed;
}
h1 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #6b4f1d;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #e2c290, 4px 4px 0 #bfa76a;
}
input, select, button {
    width: 100%;
    margin: 8px 0;
    padding: 12px;
    font-size: 1em;
    border-radius: 8px;
    border: 2px solid #bfa76a;
    box-sizing: border-box;
    font-family: inherit;
}
button {
    background: linear-gradient(90deg, #bfa76a 0%, #8d6e3f 100%);
    color: #fffbe6;
    border: 2px solid #6b4f1d;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 2px 2px 0 #6b4f1d;
    text-shadow: 1px 1px 0 #6b4f1d;
}
button:hover {
    background: linear-gradient(90deg, #8d6e3f 0%, #bfa76a 100%);
    transform: scale(1.04) rotate(-1deg);
}
#phrase {
    font-size: 1.5em;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
    color: #6b4f1d;
    text-shadow: 2px 2px 0 #e2c290;
    letter-spacing: 1px;
}
#timer {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #8d6e3f;
    font-family: 'Rock Salt', cursive, Arial, sans-serif;
}
#gameInfo {
    margin-bottom: 10px;
    text-align: center;
    color: #6b4f1d;
    font-family: 'Rock Salt', cursive, Arial, sans-serif;
}
#adminStatus {
    color: #388e3c;
    font-family: 'Rock Salt', cursive, Arial, sans-serif;
    text-align: center;
    margin-top: 1em;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1.1em;
  z-index: 9999;
  opacity: 0.95;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s;
  pointer-events: none;
}
.teamA-indicator {
    background: #3a7bd5;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 0;
    text-align: center;
    margin-bottom: 10px;
    border: 2px solid #225599;
    letter-spacing: 1px;
    font-size: 1.1em;
    box-shadow: 1px 1px 0 #225599;
}
.teamB-indicator {
    background: #d53a3a;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    padding: 8px 0;
    text-align: center;
    margin-bottom: 10px;
    border: 2px solid #992222;
    letter-spacing: 1px;
    font-size: 1.1em;
    box-shadow: 1px 1px 0 #992222;
}
@media (max-width: 500px) {
    .container {
        max-width: 98vw;
        padding: 10px;
    }
    h1 {
        font-size: 1.2em;
    }
    #phrase {
        font-size: 1.1em;
    }
    input, select, button {
        padding: 8px;
        font-size: 0.95em;
    }
}
