* { box-sizing: border-box; }
html { background: #fff; }
body { margin: 0; background: #fff; color: #111; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 24px; padding-bottom: 48px; min-height: 60vh; }
a { color: #111; }
.top { border-bottom: 1px solid #e5e5e5; background: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 800; letter-spacing: 0.08em; text-decoration: none; color: #111; }
nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.foot { border-top: 1px solid #e5e5e5; padding: 16px 0; font-size: 14px; color: #111; }
.foot a { margin-right: 14px; }
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: 20px; margin: 28px 0 8px; }
.hero { padding: 40px 0; }
.hero h1 { font-size: 34px; }
.stack { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
#upload-form { max-width: none; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
input[type=email], input[type=password], input[type=text], input[type=number] { font: inherit; padding: 10px; border: 1px solid #bbb; border-radius: 6px; background: #fff; color: #111; }
input[type=file] { font: inherit; font-weight: 400; }
.btn { display: inline-block; background: #e11d2e; color: #fff; border: 0; border-radius: 6px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.ghost { background: #fff; color: #111; border: 1px solid #111; }
.btn.danger { background: #e11d2e; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #111; text-decoration: none; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
form.inline { display: inline; margin: 0; }
.error { color: #b00020; font-weight: 600; }
.ok { color: #111; background: #f3f3f3; padding: 8px 12px; border-radius: 6px; }
.muted { color: #555; }
fieldset { border: 1px solid #ddd; border-radius: 8px; padding: 12px; margin: 0; }
legend { font-weight: 700; padding: 0 6px; }
.choice { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.choice.disabled { color: #777; }
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.look { display: block; font-weight: 400; cursor: pointer; position: relative; }
.look input { position: absolute; opacity: 0; }
.lookbody { display: flex; flex-direction: column; gap: 4px; border: 2px solid #ddd; border-radius: 8px; padding: 10px; height: 100%; }
.look input:checked + .lookbody { border-color: #e11d2e; }
.look input:focus-visible + .lookbody { outline: 2px solid #111; }
.lookbody em { color: #777; font-size: 13px; }
.meter { height: 14px; background: #eee; border-radius: 7px; overflow: hidden; }
.fill { height: 100%; width: 0; background: #e11d2e; }
.joblist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.joblist a { display: flex; gap: 12px; align-items: center; text-decoration: none; border: 1px solid #ddd; border-radius: 8px; padding: 10px; }
.thumb { width: 54px; height: 96px; object-fit: cover; background: #eee; border-radius: 4px; display: inline-block; }
.player { width: 100%; max-width: 360px; max-height: 62vh; object-fit: contain; background: #000; border-radius: 8px; display: block; margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; border-bottom: 1px solid #e5e5e5; padding: 6px 8px; vertical-align: top; }
[hidden] { display: none !important; }
