/* BLOXWORK — black and white + Roblox red. Layout reserves space for
   images (fixed aspect ratios) so pages never jump while art or photos
   load. Every view opens at the top; the app never resets to Home on
   its own (place-keeping lives in app.js). */
:root { --ink:#111; --paper:#fff; --muted:#5b5b5b; --line:#e3e3e3; --red:#e2231a; --soft:#f5f5f5; }
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:var(--ink); background:var(--paper); }
a { color: var(--ink); }
.topbar { position: sticky; top:0; z-index: 40; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; background:#111; color:#fff; }
.logo { display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; }
.logo-mark { width:34px; height:34px; background:#fff; border-radius:7px; transform: rotate(12deg); display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; }
.logo-mark span { width:14px; height:14px; background:#111; border-radius:3px; display:block; }
.logo-word { font-weight:800; letter-spacing:.5px; font-size:20px; }
.logo-word b { color: var(--red); }
.logo-word.light { color:#fff; }
.topnav { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.topnav a { color:#fff; text-decoration:none; font-weight:600; font-size:14px; }
.btn { display:inline-block; border:2px solid #111; background:#111; color:#fff; padding:9px 16px; border-radius:10px; font-weight:700; cursor:pointer; text-decoration:none; font-size:15px; }
.btn-red { background:var(--red); border-color:var(--red); color:#fff; }
.btn-ghost { background:#fff; color:#111; }
.btn-small { padding:6px 12px; font-size:13px; border-radius:8px; }
.btn[disabled] { opacity:.55; cursor:default; }
.demo-banner { background:#fff3f2; border-bottom:2px solid var(--red); color:#7a130d; padding:9px 16px; font-size:14px; text-align:center; }
.app { max-width:1120px; margin:0 auto; padding:18px 16px 48px; min-height:60vh; }
.loading-card, .card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; }
.error-card { border:2px solid var(--red); border-radius:14px; padding:18px; background:#fff7f6; }
.back-row { margin:2px 0 12px; }
.back-btn { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:8px 14px; border:2px solid #111; background:#fff; border-radius:10px; font-weight:700; cursor:pointer; font-size:15px; }
.slim-line { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin:4px 0 10px; font-size:15px; color:var(--muted); }
.fee-badge { background:#111; color:#fff; border-radius:999px; padding:4px 12px; font-weight:700; font-size:13px; }
h1 { font-size:30px; margin:6px 0 10px; }
h2 { font-size:21px; margin:22px 0 10px; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; }
.controls { display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.controls input[type="search"], .controls select, .field input, .field textarea, .field select {
  width:100%; padding:11px 12px; border:1.5px solid #bbb; border-radius:10px; font-size:15px; background:#fff; color:var(--ink);
}
.controls input[type="search"] { flex:1 1 260px; width:auto; }
.controls select { flex:0 1 200px; width:auto; }
.chips { display:flex; gap:8px; flex-wrap:wrap; margin:6px 0 14px; }
.chip { border:1.5px solid #111; background:#fff; border-radius:999px; padding:7px 14px; font-weight:600; cursor:pointer; font-size:14px; }
.chip.on { background:#111; color:#fff; }
.grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap:16px; }
.dev-card { border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; display:flex; flex-direction:column; }
.dev-banner { position:relative; aspect-ratio: 4 / 1; background:#111; overflow:hidden; }
.dev-banner img.cover { width:100%; height:100%; object-fit:cover; display:block; }
.dev-banner .banner-fallback { width:100%; height:100%; background: repeating-linear-gradient(45deg, #111 0 18px, #1d1d1d 18px 36px); }
.dev-body { padding:12px 14px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.dev-idrow { display:flex; align-items:center; gap:10px; }
.avatar { width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid #111; background:#eee; flex:0 0 auto; aspect-ratio:1; }
.avatar-fallback { width:52px; height:52px; border-radius:50%; border:2px solid #111; object-fit:contain; background:#fff; padding:3px; flex:0 0 auto; }
.dev-name { font-weight:800; font-size:17px; text-decoration:none; }
.dev-name:hover { text-decoration:underline; }
.headline { color:var(--muted); font-size:14px; }
.meta-row { display:flex; gap:8px; flex-wrap:wrap; align-items:center; font-size:13px; }
.trust { background:#111; color:#fff; border-radius:6px; padding:2px 8px; font-weight:700; }
.stars { color:var(--red); font-weight:700; }
.price { margin-top:auto; font-weight:800; font-size:16px; }
.bio-snippet { font-size:14px; color:#333; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
table.pkgs { width:100%; border-collapse:collapse; }
table.pkgs th, table.pkgs td { border:1px solid var(--line); padding:10px; text-align:left; vertical-align:top; font-size:14px; }
table.pkgs th { background:var(--soft); }
.field { display:block; margin:12px 0; font-weight:600; font-size:14px; }
.field textarea { min-height:110px; }
.check { display:flex; gap:10px; align-items:flex-start; margin:12px 0; font-size:14px; }
.check input { width:20px; height:20px; margin-top:2px; flex:0 0 auto; }
.form-error { color:var(--red); font-weight:700; min-height:20px; }
.notice { background:var(--soft); border:1px solid var(--line); border-radius:10px; padding:12px 14px; font-size:14px; }
.fee-table { width:100%; border-collapse:collapse; font-size:14px; }
.fee-table th, .fee-table td { border:1px solid var(--line); padding:9px 10px; text-align:left; }
.fee-table th { background:#111; color:#fff; }
.steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap:14px; }
.step { border:1px solid var(--line); border-radius:14px; padding:16px; background:#fff; }
.step .n { font-size:22px; font-weight:800; color:var(--red); }
.order-card { border:1px solid var(--line); border-radius:14px; padding:16px; margin:12px 0; background:#fff; }
.status { font-weight:800; text-transform:uppercase; font-size:12px; letter-spacing:.4px; }
.actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.footer { background:#111; color:#ddd; margin-top:30px; }
.footer-inner { max-width:1120px; margin:0 auto; padding:26px 16px; display:flex; gap:34px; flex-wrap:wrap; }
.foot-links { display:flex; flex-direction:column; gap:7px; }
.foot-links a { color:#ddd; text-decoration:none; font-size:14px; }
.foot-links strong { color:#fff; margin-bottom:4px; }
.foot-note { font-size:14px; color:#bbb; }
.foot-legal { max-width:1120px; margin:0 auto; padding:0 16px 22px; font-size:13px; color:#999; }
.legal-doc h2 { font-size:17px; margin:18px 0 6px; }
.legal-doc p { line-height:1.6; }
.profile-head { border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.profile-banner { aspect-ratio: 5 / 1; background:#111; overflow:hidden; }
.profile-banner img { width:100%; height:100%; object-fit:cover; display:block; }
.profile-main { padding:16px; }
.big-avatar { width:92px; height:92px; border-radius:50%; object-fit:cover; border:3px solid #111; background:#eee; aspect-ratio:1; }
@media (max-width: 640px) {
  h1 { font-size:24px; }
  .topnav a:not(.btn) { display:none; }
  .topnav a.btn { display:inline-block; }
}
