@font-face { font-family: "LXGW"; src: local("LXGW WenKai"), local("STKaiti"); }
:root {
  --deep: #072b22;
  --deep-2: #0d3d30;
  --moss: #496b42;
  --cream: #f6efd9;
  --paper: #fffaf0;
  --orange: #ef8d32;
  --orange-2: #ffb15c;
  --ink: #18362d;
  --muted: #6e7f73;
  --line: rgba(7,43,34,.14);
  --shadow: 0 18px 45px rgba(7, 43, 34, .18);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(239,141,50,.28), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(73,107,66,.34), transparent 30%),
    linear-gradient(160deg, #05261e 0%, #0f4635 38%, #f2e5c4 39%, #f8eed7 100%);
  font-family: "LXGW", "PingFang SC", "Microsoft YaHei", serif;
}
button, select { font: inherit; }
.app-shell { width: min(100%, 460px); margin: 0 auto; padding: 14px 14px 28px; }
.brand-bar {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); padding: 8px 4px 12px;
}
.brand-mark { width: 5px; height: 34px; border-radius: 99px; background: linear-gradient(var(--orange), var(--orange-2)); box-shadow: 0 0 18px rgba(239,141,50,.5); }
.brand-name { margin: 0; font-weight: 900; letter-spacing: .08em; }
.brand-subtitle { margin: 2px 0 0; font-size: 12px; opacity: .78; }
.official-pill { margin-left: auto; font-size: 12px; color: #ffe8c5; border: 1px solid rgba(255,232,197,.35); border-radius: 999px; padding: 5px 9px; background: rgba(255,255,255,.08); }
.hero-card, .quick-section, .form-card, .result-card {
  background: rgba(255,250,240,.94); border: 1px solid rgba(255,255,255,.55); border-radius: 26px; box-shadow: var(--shadow);
}
.hero-card { padding: 22px 20px; position: relative; overflow: hidden; }
.hero-card:after { content:""; position:absolute; right:-42px; top:-36px; width:150px; height:150px; border-radius: 38% 62% 48% 52%; background: rgba(239,141,50,.14); border:1px solid rgba(239,141,50,.18); }
.eyebrow { margin: 0 0 8px; color: var(--orange); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-size: 29px; line-height: 1.13; color: var(--deep); letter-spacing: -.04em; }
.hero-copy { margin: 12px 0 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.hero-tags { display:flex; gap:8px; margin-top:16px; }
.hero-tags span { padding: 7px 10px; border-radius: 999px; background: #ecdfbf; color: var(--deep-2); font-weight: 800; font-size: 12px; }
.quick-section, .form-card, .result-card { margin-top: 12px; padding: 16px; }
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:10px; margin-bottom: 12px; }
.section-title-row h2 { margin:0; font-size:18px; color:var(--deep); }
.section-title-row span { font-size:12px; color:var(--muted); white-space:nowrap; }
.preset-list { display:flex; flex-wrap:wrap; gap:8px; }
.preset-chip { border:0; border-radius:999px; padding:8px 11px; background:#e9ddbf; color:var(--deep); font-size:13px; font-weight:800; }
.preset-chip.active { background: var(--deep); color: var(--cream); box-shadow: 0 8px 18px rgba(7,43,34,.2); }
.grid { display:grid; gap:10px; margin-bottom: 10px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display:flex; flex-direction:column; gap:6px; }
.field label { font-size:12px; font-weight:900; color:var(--moss); }
select {
  width:100%; min-height: 43px; border:1px solid var(--line); border-radius:15px; padding: 0 11px;
  background: #fffaf0; color: var(--deep); outline:none; font-weight:800;
}
.primary-btn, .secondary-btn { border:0; border-radius:18px; width:100%; font-weight:900; }
.primary-btn { margin-top: 4px; min-height: 50px; color:#fff7e6; background: linear-gradient(135deg, var(--deep), #155541); box-shadow: 0 12px 26px rgba(7,43,34,.25); }
.secondary-btn { min-height: 42px; color: var(--deep); background: #eadbb7; margin-top: 10px; }
.result-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.result-head h2 { margin:0; font-size:22px; color:var(--deep); }
.score-badge { width:64px; height:64px; border-radius:22px; display:grid; place-items:center; background:var(--deep); color:var(--cream); font-weight:900; font-size:18px; box-shadow: inset 0 -8px 18px rgba(0,0,0,.14); }
.warning-box { display:none; margin-top:12px; padding:10px 12px; border-radius:16px; color:#6f3a00; background:#fff1cc; border:1px solid rgba(239,141,50,.28); font-size:13px; line-height:1.5; }
.strategy-grid { display:grid; gap:10px; margin-top:12px; }
.strategy-panel { padding:14px; border-radius:20px; border:1px solid var(--line); background:#fffdf6; }
.primary-panel { background: linear-gradient(145deg, #0a3328, #165541); color:var(--cream); }
.panel-label { font-size:12px; color:var(--orange); font-weight:900; margin-bottom:7px; }
.strategy-panel h3 { margin:0 0 7px; font-size:18px; }
.strategy-panel p { margin:0; color:inherit; opacity:.82; line-height:1.55; font-size:13px; }
ul { margin:10px 0 0; padding-left: 18px; }
li { margin:5px 0; line-height:1.45; font-size:13px; }
.rig-chips { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:8px; margin: 8px 0 10px; }
.rig-chip { padding:9px 10px; border-radius:14px; background:#efe2c2; border:1px solid rgba(7,43,34,.1); }
.rig-chip span { display:block; font-size:11px; color:var(--muted); }
.rig-chip strong { display:block; margin-top:2px; color:var(--deep); font-size:15px; }
.summary-box { margin-top:12px; padding:13px; border-radius:20px; background:#efe3c4; }
.summary-title { margin:0 0 5px; font-weight:900; color:var(--deep); }
#shareText { margin:0; line-height:1.55; color:#425349; font-size:13px; }
.footer-brand { text-align:center; color:rgba(255,250,240,.78); font-size:12px; padding:18px 0 4px; }
@media (max-width: 370px) { h1{font-size:26px}.grid.two{grid-template-columns:1fr}.rig-chips{grid-template-columns:1fr} }
