:root { --orange:#f26722; --orange2:#ff8a3d; --ink:#22252a; --bg:#fff7f1; --card:#fff; --line:#f0ddd0; }
* { box-sizing:border-box; }
body { margin:0; font-family:-apple-system,'Segoe UI',Roboto,sans-serif; background:var(--bg); color:var(--ink); }
header { display:flex; justify-content:space-between; align-items:center; padding:14px 18px; background:linear-gradient(90deg,var(--orange),var(--orange2)); color:#fff; position:sticky; top:0; z-index:5; }
.logo { font-size:22px; font-weight:800; } .logo span { font-weight:600; }
#userbar { font-size:14px; display:flex; gap:10px; align-items:center; }
#userbar button { background:#fff; color:var(--orange); border:0; border-radius:999px; padding:6px 14px; font-weight:700; cursor:pointer; }
main { max-width:640px; margin:0 auto; padding:16px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:18px; padding:20px; margin-bottom:16px; box-shadow:0 2px 10px rgba(242,103,34,.06); }
.hidden { display:none !important; }
h1 { font-size:24px; margin:4px 0 6px; } h2 { font-size:19px; margin:6px 0 12px; } h3 { margin-top:22px; }
.sub { color:#6b6f76; } .fineprint { color:#8a8f98; font-size:13px; text-align:center; }
input[type=email], input[type=password], input[type=text], input[type=number] { width:100%; padding:13px; border:1.5px solid var(--line); border-radius:12px; font-size:16px; margin-bottom:10px; }
.tabs { display:flex; gap:8px; margin-bottom:14px; }
.tab { flex:1; padding:10px; border-radius:999px; border:1.5px solid var(--orange); background:#fff; color:var(--orange); font-weight:700; cursor:pointer; }
.tab.active { background:var(--orange); color:#fff; }
button.big { width:100%; padding:16px; font-size:18px; font-weight:800; border:0; border-radius:14px; background:linear-gradient(90deg,var(--orange),var(--orange2)); color:#fff; cursor:pointer; }
button.big:disabled { opacity:.45; cursor:default; }
.error { color:#c0392b; min-height:18px; } .status { color:#2e7d32; min-height:18px; font-weight:600; }
#drop { display:flex; align-items:center; justify-content:center; text-align:center; min-height:150px; border:2.5px dashed var(--orange); border-radius:16px; color:var(--orange); font-weight:700; cursor:pointer; padding:12px; background:#fffaf6; }
#drop img { max-width:100%; max-height:280px; border-radius:10px; }
.effects { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.effect { padding:16px 10px; font-size:16px; font-weight:700; border:2px solid var(--line); background:#fff; border-radius:14px; cursor:pointer; }
.effect.sel { border-color:var(--orange); background:#fff1e8; color:var(--orange); }
.quota { text-align:center; color:#6b6f76; font-size:14px; }
#job-result { text-align:center; } #job-result img, #job-result video { max-width:100%; border-radius:12px; margin-top:10px; }
a.dl { display:inline-block; margin-top:10px; padding:12px 22px; background:var(--orange); color:#fff; border-radius:999px; font-weight:800; text-decoration:none; }
.gallery { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gitem { border:1px solid var(--line); border-radius:14px; padding:8px; text-align:center; }
.gitem img, .gitem video { width:100%; border-radius:10px; }
.gitem .cap { font-size:13px; color:#6b6f76; margin-top:6px; }
.gitem a { color:var(--orange); font-weight:700; font-size:14px; }
.totals { display:flex; gap:12px; flex-wrap:wrap; }
.totals div { background:#fff1e8; border-radius:12px; padding:12px 16px; font-weight:700; }
.setting input { width:90px; display:inline-block; margin:0 8px; } .setting button { padding:10px 16px; border:0; border-radius:10px; background:var(--orange); color:#fff; font-weight:700; cursor:pointer; }
.tablewrap { overflow-x:auto; }
table { border-collapse:collapse; width:100%; font-size:13px; }
th, td { border-bottom:1px solid var(--line); padding:7px 6px; text-align:left; vertical-align:top; }
footer { text-align:center; color:#8a8f98; padding:18px; font-size:13px; }
