* { margin:0; padding:0; box-sizing:border-box; }
:root { --bg:#fefce8; --white:#fff; --yellow:#ca8a04; --yellow-d:#a16207; --dark:#1c1917; --text:#44403c; --dim:#a8a29e; --border:#e7e5e4; --green:#16a34a; --red:#dc2626; }
body { font-family:'Nunito',sans-serif; background:var(--bg); color:var(--text); min-height:100vh; }
.container { max-width:860px; margin:0 auto; padding:0 20px; }
.nav { background:var(--dark); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:54px; }
.brand { color:white; font-size:1.05rem; font-weight:700; }
.brand i { color:var(--yellow); margin-right:6px; }
.brand b { color:var(--yellow); }
.tag { font-size:0.7rem; color:var(--yellow); letter-spacing:0.08em; font-weight:600; }
.page { padding:48px 0 60px; }
.hero { text-align:center; margin-bottom:24px; }
.hero h1 { font-size:2.2rem; font-weight:800; color:var(--dark); }
.hl { color:var(--yellow); }
.hero p { color:var(--dim); font-size:0.9rem; margin-top:8px; max-width:520px; margin-left:auto; margin-right:auto; }
.hero code { background:rgba(202,138,4,0.08); color:var(--yellow); padding:2px 6px; border-radius:3px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.card { background:var(--white); border:1px solid var(--border); border-radius:14px; padding:20px; margin-bottom:14px; }
.card h3 { font-size:0.95rem; font-weight:700; color:var(--dark); margin-bottom:10px; }
.card h3 i { color:var(--yellow); margin-right:6px; }
.card.tip { border-left:3px solid var(--yellow); }
.card input,.card textarea { width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:8px; font-family:inherit; font-size:0.85rem; outline:none; margin-bottom:10px; resize:vertical; }
.card input:focus,.card textarea:focus { border-color:var(--yellow); }
.btn { padding:10px 20px; background:var(--yellow); color:white; border:none; border-radius:8px; font-weight:700; font-size:0.85rem; cursor:pointer; font-family:inherit; }
.btn.full { width:100%; }
.code-block { background:var(--dark); color:#fde68a; padding:14px; border-radius:8px; font-family:monospace; font-size:0.8rem; white-space:pre-wrap; overflow-x:auto; }
.flag-row { display:flex; gap:10px; }
.flag-row input { flex:1; margin-bottom:0; }
.ok { margin-top:10px; padding:10px; background:rgba(22,163,74,0.06); border:1px solid rgba(22,163,74,0.15); border-radius:8px; color:var(--green); font-size:0.82rem; }
.ok pre { white-space:pre-wrap; word-break:break-all; font-size:0.78rem; }
.fail { margin-top:10px; padding:10px; background:rgba(220,38,38,0.06); border:1px solid rgba(220,38,38,0.15); border-radius:8px; color:var(--red); font-size:0.82rem; }
@media(max-width:700px) { .grid-2{grid-template-columns:1fr;} .flag-row{flex-direction:column;} }
