/* /public/css/play.css
   ForeWay Play Page (mobile-first, premium, fast-tap UI)
*/

:root {
  --fw-bg: #fbf8f1;
  --fw-card: #ffffff;
  --fw-text: #171717;
  --fw-muted: rgba(23, 23, 23, 0.58);
  --fw-line: rgba(23, 23, 23, 0.10);

  --fw-gold-1: #d7b56d;
  --fw-gold-2: #b7892c;

  --fw-shadow: 0 14px 40px rgba(0, 0, 0, 0.10);
  --fw-radius: 18px;

  --fw-tap: 44px;
}

.fw-play {
  background: var(--fw-bg);
  color: var(--fw-text);
}

.fw-play__wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 14px 28px;
}

.fw-play__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.fw-play__h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.fw-play__sub {
  margin: 3px 0 0 0;
  font-size: 12px;
  color: var(--fw-muted);
}

.fw-play__mode {
  display: flex;
  border: 1px solid var(--fw-line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.70);
  flex-shrink: 0;
}

.fw-play__modeBtn {
  border: 0;
  background: transparent;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  color: var(--fw-muted);
  min-height: 34px;
}

.fw-play__modeBtn.is-active {
  background: #ffffff;
  color: var(--fw-text);
}

.fw-play__card {
  background: var(--fw-card);
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius);
  box-shadow: var(--fw-shadow);
  padding: 14px;
}

.fw-play__cardHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.fw-play__holeTitle {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.fw-play__holeMeta {
  font-size: 12px;
  color: var(--fw-muted);
  margin-top: 3px;
}

.fw-play__pill {
  border: 1px solid var(--fw-line);
  background: rgba(255, 255, 255, 0.70);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--fw-muted);
}

.fw-play__row {
  margin-top: 12px;
}

.fw-play__label {
  font-size: 12px;
  color: var(--fw-muted);
  margin-bottom: 8px;
}

.fw-play__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  border: 1px solid var(--fw-line);
  border-radius: 14px;
  padding: 10px;

  background: rgba(255, 255, 255, 0.65);
}

.fw-play__btn {
  width: var(--fw-tap);
  height: var(--fw-tap);
  border-radius: 12px;
  border: 1px solid var(--fw-line);
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.fw-play__btn:active {
  transform: translateY(1px);
}

.fw-play__value {
  font-size: 22px;
  font-weight: 900;
  min-width: 40px;
  text-align: center;
}

.fw-play__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fw-play__chip {
  border: 1px solid var(--fw-line);
  background: #ffffff;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 13px;
  cursor: pointer;
  min-height: var(--fw-tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.fw-play__chip:active {
  transform: translateY(1px);
}

.fw-play__chip.is-active {
  border-color: rgba(183, 137, 44, 0.55);
  box-shadow: 0 0 0 3px rgba(215, 181, 109, 0.25);
}

.fw-play__advanced.is-hidden {
  display: none;
}

.fw-play__status {
  margin-top: 12px;
  font-size: 12px;
  color: var(--fw-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fw-play__linkBtn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px 0;
  font-size: 12px;
  color: rgba(183, 137, 44, 0.95);
  font-weight: 700;
}

.fw-play__nav {
  margin-top: 14px;
  display: flex;
  gap: 10px;
}

.fw-play__navBtn {
  flex: 1;
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid var(--fw-line);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  min-height: 52px;
}

.fw-play__navBtn:active {
  transform: translateY(1px);
}

.fw-play__navBtn.is-primary {
  border: 0;
  background: linear-gradient(135deg, var(--fw-gold-1), var(--fw-gold-2));
  color: #1b1b1b;
}

.fw-play__holesStrip {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fw-play__hDot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--fw-line);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.fw-play__hDot.is-active {
  box-shadow: 0 0 0 3px rgba(215, 181, 109, 0.25);
  border-color: rgba(183, 137, 44, 0.55);
}

.fw-play__hDot.is-done {
  background: rgba(215, 181, 109, 0.18);
}

.fw-play__footerActions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fw-play__ghostLink {
  text-decoration: none;
  color: var(--fw-muted);
  font-weight: 700;
  font-size: 13px;
}

.fw-play__ghostBtn {
  border: 1px solid var(--fw-line);
  background: rgba(255, 255, 255, 0.70);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
}

.fw-play__ghostBtn:active {
  transform: translateY(1px);
}

/* Slightly roomier on wider screens */
@media (min-width: 720px) {
  .fw-play__wrap {
    padding: 26px 16px 40px;
  }
  .fw-play__card {
    padding: 18px;
  }
}
