/* ReelAutoCut: black, white and lime; one heavy grotesque */
:root { --bg: #101010; --ink: #fff; --lime: #ddfe65; --dim: #8a8a8a; --line: #2a2a2a; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 500 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; }
button, input { font: inherit; color: inherit; }
b { color: var(--lime); font-weight: inherit; }
main { width: min(960px, 100%); margin: 0 auto; padding: 24px 20px 80px; }
main[hidden], [hidden] { display: none !important; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.mark { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.link { padding: 0; border: 0; background: none; color: var(--dim); text-decoration: none; cursor: pointer; }
.link:hover { color: var(--ink); }
.go { padding: 14px 26px; border: 0; border-radius: 999px; background: var(--lime); color: #101010; font-weight: 800; cursor: pointer; }
.go:disabled { opacity: .4; cursor: default; }

#land h1 { margin: 6vh 0 24px; font-weight: 800; font-size: clamp(2.6rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.035em; }
.lead { max-width: 34em; margin: 0 0 28px; color: #cfcfcf; font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 64px 0 0; padding: 0; list-style: none; color: #bdbdbd; }
.facts b { display: block; margin-bottom: 4px; font-weight: 800; }

.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.head h1 { margin: 0; font-weight: 800; font-size: 2rem; letter-spacing: -.03em; }
.list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.card { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; }
.card:hover { border-color: var(--lime); }
.card strong { font-weight: 800; }
.card span { color: var(--dim); font-size: .9rem; }
.empty { color: var(--dim); }

.name { width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.8rem); letter-spacing: -.03em; outline: 0; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: none; cursor: pointer; }
.chip.on { border-color: var(--lime); background: var(--lime); color: #101010; font-weight: 800; }
section { margin-top: 32px; }
section h2 { margin: 0 0 12px; font-weight: 800; font-size: 1.1rem; }
section h2 span { color: var(--dim); font-weight: 500; }

.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.clip, .add { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #1c1c1c; }
.clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clip .v { position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .6); font-size: .75rem; }
.clip .x { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); cursor: pointer; line-height: 1; }
.clip.up { opacity: .5; }
.add { display: grid; place-content: center; justify-items: center; border: 1px dashed #444; background: none; color: var(--dim); cursor: pointer; }
.add span { font-size: 2rem; line-height: 1; color: var(--lime); }

#q { flex: 1; min-width: 200px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: #161616; outline: 0; }
#q:focus { border-color: var(--lime); }
#found { display: grid; gap: 4px; margin-top: 10px; }
.tune { display: flex; align-items: center; gap: 12px; padding: 8px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; }
.tune:hover, .tune.on { background: #1c1c1c; }
.tune img { width: 44px; height: 44px; border-radius: 8px; flex: none; }
.tune small { display: block; color: var(--dim); }
#song .tune { width: 100%; margin-bottom: 10px; border: 1px solid var(--lime); cursor: default; }

.state { min-height: 1.5em; margin: 32px 0 12px; color: var(--dim); }

.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, .92); }
.frame { overflow: hidden; border-radius: 12px; background: #000; }
.frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 2.2rem; line-height: 1; cursor: pointer; }

.dlg { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .8); }
.dlg form { display: grid; gap: 12px; width: min(360px, 100%); padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px; background: #161616; }
.dlg h2 { margin: 0 0 4px; font-weight: 800; letter-spacing: -.02em; }
.dlg input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #101010; outline: 0; }
.dlg input:focus { border-color: var(--lime); }
.dlg p { margin: 0; color: var(--dim); font-size: .9rem; }
.dlg .err { color: #ff8a7a; }
