﻿:root {
  --bg: #f2f7f3;
  --card: #ffffff;
  --text: #0f2d1f;
  --muted: #5d766a;
  --line: #d7e4dc;
  --primary: #0e8a4d;
  --primary-2: #14a85f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #e4f7ea, var(--bg) 40%);
}
.page { max-width: 820px; margin: 0 auto; padding: 28px 16px 36px; }
.hero { text-align: center; margin-bottom: 20px; }
.app-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 12px 24px rgba(17, 95, 58, 0.2); }
h1 { margin: 12px 0 8px; font-size: 34px; }
.subtitle { margin: 0; color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
.tab.active { background: linear-gradient(180deg, #e9f8ef, #ddf3e6); border-color: #bde4cd; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.hidden { display: none !important; }
h2 { margin: 0 0 8px; }
p { margin: 0 0 12px; }
.hint { font-size: 13px; color: var(--muted); }
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  background: #fbfffc;
  margin-top: 10px;
}
label { display: block; font-weight: 700; margin: 10px 0 6px; }
input, textarea {
  width: 100%;
  border: 1px solid #cfe0d6;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
}
input:focus, textarea:focus { outline: 2px solid #c2edd3; }
.btn {
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 10px;
  text-decoration: none;
  display: inline-block;
}
.btn.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.btn.ghost { background: #eef6f1; color: #17573a; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.muted { color: var(--muted); font-size: 13px; }
.bold { font-weight: 700; }
.win-badge { margin-right: 6px; }
.latest {
  margin-top: 12px;
  border: 1px dashed #8fc9a9;
  background: #effbf3;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
}
.copy-key-btn {
  margin-left: 8px;
  border: 1px solid #b6d6c3;
  background: #fff;
  color: #17573a;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
}
.copy-key-btn i { width: 14px; height: 14px; vertical-align: middle; }
.price-wrap {
  margin-top: 10px;
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-old {
  color: #111111;
  text-decoration: line-through;
  font-weight: 600;
  font-size: 15px;
}
.price-new {
  color: #d30000;
  font-weight: 800;
  font-size: 22px;
}
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 42px; }
.eye-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #5d766a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.eye-btn i { width: 16px; height: 16px; }
.ui-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  background: #143d2b;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
}
.ui-toast.error { background: #a60f0f; }
@media (max-width: 700px) {
  h1 { font-size: 28px; }
}
