:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #243044; background: #edf2f7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #fff9f3 0, #edf2f7 34rem); }
button, a { font: inherit; }
button { cursor: pointer; }
.uploads-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1rem; min-height: 70px; padding: .75rem max(1rem, calc((100vw - 1120px) / 2)); border-bottom: 1px solid #fed7aa; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); }
.uploads-header button { width: 40px; height: 40px; border: 1px solid #fed7aa; border-radius: 50%; color: #c2410c; background: #fff7ed; font-size: 1.2rem; }
.uploads-header a { color: #f46113; font-size: 1.45rem; font-weight: 900; text-decoration: none; }
.uploads-header sup { font-size: .38em; }
.uploads-header span { margin-left: auto; color: #64748b; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
main { width: min(1120px, calc(100% - 2rem)); margin: 2rem auto 5rem; }
.uploads-intro, .uploads-library { border: 1px solid #dbe3ec; border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 15px 40px rgba(15,23,42,.07); }
.uploads-intro { padding: clamp(1.25rem, 4vw, 2.4rem); border-top: 4px solid #f97316; }
.eyebrow { margin: 0 0 .25rem; color: #ea580c; font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1 { display: flex; align-items: center; gap: .65rem; margin: 0; color: #172033; font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 3.2rem); }
.uploads-private-lock { display: inline-grid; width: 1.15em; height: 1.15em; flex: 0 0 auto; place-items: center; border-radius: .3em; color: #c2410c; background: #ffedd5; font-family: system-ui, sans-serif; font-size: .62em; }
.uploads-intro > p:not(.eyebrow) { max-width: 760px; color: #64748b; line-height: 1.65; }
.uploads-notice { display: flex; align-items: center; gap: .8rem; max-width: 760px; padding: .85rem 1rem; border-left: 4px solid #10b981; border-radius: 8px; background: #ecfdf5; }
.uploads-notice strong { color: #047857; white-space: nowrap; }
.uploads-notice span { color: #48635a; font-size: .84rem; }
.uploads-library { margin-top: 1rem; padding: 1.25rem; }
.uploads-library-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.uploads-library-head h2 { margin: 0; color: #1e293b; }
.uploads-library-head p { margin: .2rem 0 0; color: #64748b; font-size: .84rem; }
.uploads-library-head button { padding: .55rem .8rem; border: 1px solid #fdba74; border-radius: 9px; color: #c2410c; background: #fff7ed; font-weight: 800; }
.uploads-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.upload-card { overflow: hidden; border: 1px solid #dbe3ec; border-radius: 14px; background: #fff; }
.upload-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e2e8f0; }
.upload-card-body { padding: .8rem; }
.upload-card time { color: #64748b; font-size: .72rem; }
.upload-state { margin: .55rem 0; color: #334155; font-size: .78rem; line-height: 1.4; }
.upload-state strong { color: #047857; }
.upload-card button { width: 100%; min-height: 38px; border: 1px solid #fecdd3; border-radius: 8px; color: #be123c; background: #fff1f2; font-size: .78rem; font-weight: 850; }
.upload-card button:disabled { border-color: #dbe3ec; color: #64748b; background: #f1f5f9; cursor: not-allowed; }
.uploads-empty { padding: 4rem 1rem; text-align: center; color: #64748b; }
.uploads-empty span { font-size: 2.5rem; }
.uploads-empty h2 { margin-bottom: .2rem; color: #334155; }
.uploads-toast { position: fixed; right: 1rem; bottom: 1rem; max-width: min(360px, calc(100% - 2rem)); padding: .85rem 1rem; border-radius: 10px; color: #fff; background: #334155; box-shadow: 0 12px 30px rgba(15,23,42,.25); }
@media (max-width: 820px) { .uploads-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 600px) { main { width: calc(100% - 1rem); margin-top: .75rem; } .uploads-header { min-height: 60px; } .uploads-header a { font-size: 1.25rem; } .uploads-intro, .uploads-library { border-radius: 15px; } .uploads-notice { align-items: flex-start; flex-direction: column; gap: .2rem; } .uploads-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; } .uploads-library { padding: .8rem; } }
