body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  background: #ffffff;
  color: #111;
}

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.muted { 
  color:#111; 
  opacity:.65; 
  font-size: 12px; 
  margin-top: 10px; 
}

.lang { display:flex; gap:8px; }

.lang button {
  padding: 6px 10px;
  border: 1px solid #111;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.lang button.active {
  background: #111;
  color: #fff;
}

.card {
  background: #fff;
  border: 1px solid #111;
  padding: 32px;
  border-radius: 0;
  box-shadow: none;
}

h1 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
}

p {
  font-size: 14px;
  line-height: 1.5;
  margin: 6px 0;
}

.stars {
  display:flex;
  gap:16px;
  justify-content:center;
  margin: 32px 0 16px;
  padding: 0;
}

.star {
  width: 44px;
  height: 44px;
  border-radius: 0;
  display:grid;
  place-items:center;
  cursor:pointer;
  background:#fff;
  border: 1px solid #111;
  font-size: 22px;
  user-select:none;
  transition: transform .05s ease, background .12s ease;
}

.star:hover { transform: translateY(-1px); }
.star.selected { background:#111; color:#fff; }

textarea, input {
  width:100%;
  box-sizing:border-box;
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 0;
  border:1px solid #111;
  background:#fff;
  font: inherit;
  outline: none;
}

textarea:focus, input:focus { box-shadow: 0 0 0 2px rgba(17,17,17,.15); }

.row { display:flex; gap:12px; }
.row > * { flex: 1; }

.actions { display:flex; gap:12px; margin-top: 16px; flex-wrap: wrap; }

.btn {
  flex: 1 1 200px;
  text-align:center;
  padding: 12px 14px;
  border-radius: 0;
  text-decoration:none;
  font-weight: 700;
  border: 1px solid #111;
  background:#fff;
  color:#111;
  cursor:pointer;
}

.btn.primary { background:#111; color:#fff; border-color:#111; }

.hidden { display:none; }

.hr { height:1px; background:#111; opacity:.15; margin: 18px 0; }

.badge {
  display:inline-block;
  padding: 4px 10px;
  border-radius: 0;
  border:1px solid #111;
  font-size:12px;
  color:#111;
  background:#fff;
}

.success {
  margin-top: 16px;
  padding: 14px;
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-align:center;
}

.error {
  margin-top: 16px;
  padding: 14px;
  border-radius: 0;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-weight: 700;
  text-align:center;
}

/* modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.modal-backdrop.show { display: flex; }

.modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 0;
  border: 1px solid #111;
  box-shadow: none;
  padding: 18px;
}

.modal h2 { margin: 0 0 6px; font-size: 18px; }
.modal textarea { margin-top: 10px; }
.modal .actions { margin-top: 12px; }

/* 4–5⭐: OK-only modal (shows only the primary button) */
.modal-backdrop.simple-ok .hide-on-ok { display: none; }

.modal-backdrop.simple-ok .actions {
  justify-content: center;
}

.modal-backdrop.simple-ok .btn.primary {
  min-width: 160px;
}
