:root {
  --bg: #14161c; --panel: #1e2230; --panel2: #262b3d; --text: #eef0f6;
  --muted: #9aa3b8; --accent: #d4a537; --accent2: #b8860b; --danger: #d05050;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
.container { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
header.site { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.logo { font-size: 22px; font-weight: 700; letter-spacing: 1px; color: var(--text); }
.logo span { color: var(--accent); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 16px; font-weight: 600;
  background: var(--accent); color: #1a1408; transition: filter .15s;
}
.btn:hover { filter: brightness(1.1); }
.btn.secondary { background: var(--panel2); color: var(--text); border: 1px solid #3a4158; }
.btn.danger { background: var(--danger); color: #fff; }
.btn.small { padding: 7px 14px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.card { background: var(--panel); border-radius: var(--radius); padding: 20px; margin: 14px 0; }
h1 { font-size: 32px; } h2 { font-size: 22px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 11px 14px; border-radius: 8px; border: 1px solid #3a4158;
  background: #12141c; color: var(--text); font-size: 16px;
}
label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 14px; }
.muted { color: var(--muted); }
.error { color: #ff8a8a; margin-top: 8px; min-height: 20px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.style-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.style-card {
  border: 2px solid #3a4158; border-radius: var(--radius); padding: 14px; cursor: pointer;
}
.style-card.active { border-color: var(--accent); background: var(--panel2); }
.style-card .swatchrow { display: flex; gap: 4px; margin-top: 8px; }
.swatch { width: 22px; height: 22px; border-radius: 5px; cursor: pointer; border: 2px solid transparent; }
.swatch.active { border-color: #fff; }
.dropzone {
  border: 2px dashed #4a5270; border-radius: var(--radius); padding: 36px; text-align: center;
  color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone.drag { border-color: var(--accent); background: rgba(212,165,55,.08); }
.filelist { margin-top: 14px; }
.fileitem { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #2a3044; }
.fileitem .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.progressbar { width: 140px; height: 8px; background: #2a3044; border-radius: 4px; overflow: hidden; }
.progressbar > div { height: 100%; background: var(--accent); width: 0; transition: width .2s; }
.fileitem .st { width: 90px; font-size: 13px; text-align: right; }
.st.ok { color: #7fce7f; } .st.err { color: #ff8a8a; }
.bigprogress { height: 14px; background: #2a3044; border-radius: 7px; overflow: hidden; margin: 18px 0; }
.bigprogress > div { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); width: 0; transition: width .4s; }
.center { text-align: center; }
.linkbox { background: #12141c; padding: 12px 16px; border-radius: 8px; font-family: monospace; word-break: break-all; }
.museum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mcard { background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.mcard .preview { height: 140px; background: #262b3d center/cover no-repeat; }
.mcard .body { padding: 14px; }
.mcard .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
table.simple { width: 100%; border-collapse: collapse; }
table.simple td, table.simple th { padding: 8px 10px; border-bottom: 1px solid #2a3044; text-align: left; font-size: 14px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; background: var(--panel2); }
.pill.trial { background: #4a3a10; color: var(--accent); }
.pill.full { background: #1e4a2a; color: #7fce7f; }
.toggle { position: relative; width: 46px; height: 26px; background: #3a4158; border-radius: 13px; cursor: pointer; transition: background .2s; }
.toggle.on { background: var(--accent); }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; }
.toggle.on::after { left: 23px; }
.hero { text-align: center; padding: 56px 16px 30px; }
.hero h1 { font-size: 42px; margin-bottom: 12px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 30px 0; }
.shots figure { margin: 0; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.shots img { width: 100%; height: 180px; object-fit: cover; display: block; }
.shots figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.plan { background: var(--panel); border-radius: var(--radius); padding: 24px; text-align: center; }
.plan .price { font-size: 34px; font-weight: 700; color: var(--accent); margin: 10px 0; }
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal { background: var(--panel); border-radius: var(--radius); padding: 24px; max-width: 420px; width: 92%; }
footer.site { padding: 32px 0; color: var(--muted); font-size: 14px; text-align: center; }
