:root { color-scheme: dark; font: 16px system-ui, sans-serif; background: #101416; color: #edf3ef; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px max(5vw, 20px); border-bottom: 1px solid #303a37; }
.brand { font-weight: 750; letter-spacing: -.03em; }
.brand span { color: #8de0ad; margin-right: 8px; }
main { width: min(1120px, calc(100% - 40px)); margin: 48px auto 72px; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.05; margin: 0 0 12px; letter-spacing: -.05em; }
p, small { color: #aebcb6; }
p { margin: 0; }
.heading, .filters, .upload, .pager { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.heading { justify-content: space-between; margin-bottom: 26px; gap: 20px; }
.upload { align-items: center; max-width: 100%; }
.upload input { max-width: 100%; }
.upload-name { display: grid; gap: 4px; font-size: .9rem; }
.upload p { flex-basis: 100%; }
.filters { padding: 14px; border: 1px solid #303a37; border-radius: 12px; margin-bottom: 22px; }
.filters label { display: grid; gap: 5px; font-size: .85rem; color: #c6d3ca; }
.search { flex: 1 1 180px; }
button, .button, select, input:not([type=file]) {
  display: inline-flex; align-items: center; font: inherit; padding: 9px 13px;
  border: 1px solid #3c4944; border-radius: 8px; background: #1b2521; color: #edf3ef;
}
button, .button { cursor: pointer; }
.primary { background: #90e2b0; color: #14241b; border-color: #90e2b0; font-weight: 700; }
.quiet { background: transparent; }
:focus-visible { outline: 2px solid #90e2b0; outline-offset: 3px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 14px; }
.card { min-width: 0; overflow: hidden; border: 1px solid #303a37; border-radius: 12px; background: #171d1b; }
.card:hover { border-color: #90e2b0; }
.thumb { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #212b27; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.format { position: absolute; bottom: 8px; right: 8px; background: #101416; padding: 3px 6px; border-radius: 5px; font-size: .75rem; }
.video-mark { font-size: 2rem; color: #90e2b0; }
.card-info { display: grid; gap: 4px; padding: 11px; }
.card-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.pager { margin-top: 18px; }
.intro { max-width: 620px; }
.intro p { margin-bottom: 16px; }
.detail { max-width: 860px; margin: 0 auto; }
.detail-head { overflow-wrap: anywhere; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px max(5vw, 20px); background: #161d1b; border-bottom: 1px solid #303a37; }
.tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid #394641; border-radius: 8px; color: #dde7e0; font-size: .9375rem; font-weight: 550; white-space: nowrap; }
.tabs a:hover { background: #26332d; border-color: #638474; }
.tabs a[aria-current="page"] { background: #a4edbf; border-color: #a4edbf; color: #14241b; font-weight: 700; }
.skill-picker .tabs { padding: 0 0 14px; border: 0; background: transparent; }
.card-main { display: block; }
.card-actions, .detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.card-actions { padding: 0 11px 11px; }
.card-actions .button, .card-actions button { font-size: .875rem; min-height: 38px; }
.danger { background: transparent; color: #ffb9b6; border-color: #71423f; }
.danger:hover { background: #512d2b; border-color: #ffb9b6; }
#library-status:not(:empty) { margin-bottom: 14px; }
.management { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; margin-top: 24px; }
.panel { min-width: 0; background: #171d1b; border: 1px solid #303a37; border-radius: 12px; padding: 18px; }
.panel h2 { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.panel p { margin-top: 8px; }
.markdown { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: .95rem; }
#rename-status { flex-basis: 100%; }
#rename-status:empty { display: none; }
.viewer { display: grid; justify-content: center; border: 1px solid #303a37; border-radius: 14px; background: #090b0b; padding: 12px; }
.viewer img, .viewer video { display: block; max-width: 100%; max-height: min(68vh, 650px); height: auto; border-radius: 8px; }
#player-status { margin-top: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.studio-frame { display:block; width:100%; min-height:max(720px, 80vh); border:1px solid #303a37; border-radius:12px; background:#141a18; } .studio-settings { margin-bottom:12px; } .studio-settings summary { cursor:pointer; } .studio-settings .filters { margin:14px 0 0; }
.social-form{display:grid;gap:12px;margin-top:14px}.social-form label{display:grid;gap:6px}.social-form label:has(input[type=checkbox]){display:flex;align-items:center}.social-form input:not([type=checkbox]),.social-form textarea{width:100%;font:inherit}.social-form textarea{padding:9px 13px;border:1px solid #3c4944;border-radius:8px;background:#1b2521;color:inherit}.social-form .card-actions{padding:0}.panel code{overflow-wrap:anywhere}.panel dl{display:grid;grid-template-columns:1fr auto;gap:6px}.panel dd{margin:0}
.render-list { display: grid; gap: 12px; margin-top: 16px; }
.render-card h2 a:hover { text-decoration: underline; }
.render-card .detail-actions:not(:empty) { margin-top: 12px; }
.render-events { margin: 12px 0 0; padding-left: 24px; }
.render-events li { margin: 8px 0; }
.render-publishing { margin-top: 34px; }
.render-review-video{display:block;width:min(100%,290px);aspect-ratio:9/16;background:#0e1116;border-radius:12px}

.folder-group { margin-bottom: 32px; }
.folder-group h2 { font-size: 1rem; margin-bottom: 12px; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.folder-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 4px 12px; padding: 16px; min-height: 80px; text-decoration: none; border: 1px solid #303a37; border-radius: 12px; background: #171d1b; }
.folder-card:hover, .folder-card:focus-visible { border-color: #90e2b0; }
.folder-name { font-weight: 600; overflow-wrap: anywhere; }
.folder-card small { grid-column: 2; overflow-wrap: anywhere; }
.folder-card small:empty { display: none; }
.folder-symbol { display: block; position: relative; grid-row: span 2; height: 19px; background: #90e2b0; border-radius: 3px; }
.folder-symbol::before { content: ""; position: absolute; width: 13px; height: 5px; top: -3px; left: 0; border-radius: 3px 3px 0 0; background: inherit; }
.folder-breadcrumb { margin-bottom: 16px; }
