:root{color:#1f2937;background:#f5f5f5;font-family:Segoe UI,Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:#1f2937;background:#f5f5f5;margin:0}.top-nav{z-index:1000;background:#fff;border-bottom:1px solid #ddd;gap:10px;padding:14px 20px;display:flex;position:sticky;top:0;overflow-x:auto}.top-nav a{color:#222;white-space:nowrap;background:#f2f2f2;border-radius:8px;padding:10px 14px;font-weight:600;text-decoration:none}.top-nav a:hover{background:#e7e7e7}.page{width:min(1100px,100% - 24px);margin:0 auto;padding:24px 0 40px}.panel,.subpanel{background:#fff;border:1px solid #ddd;border-radius:14px;padding:18px;box-shadow:0 1px 4px #0000000a}.panel{margin-bottom:18px}.panel h1,.panel h2,.subpanel h2{margin-top:0}.muted{color:#6b7280}.content-block{line-height:1.65}.card-list{gap:12px;display:grid}.card{background:#fafafa;border:1px solid #e3e3e3;border-radius:12px;padding:14px}.card-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.card-title{font-size:1.05rem;font-weight:700}.card-meta{color:#666;margin-top:4px;font-size:.95rem}.card-image{border-radius:10px;max-height:250px;margin-top:12px;overflow:hidden}.card-image img{width:100%;height:auto;display:block}.card-section{color:#333;background:#f9f9f9;border-radius:8px;margin-top:12px;padding:10px;font-size:.95rem}.card-links{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.card-links a{color:#3b3b99;background:#e8e8ff;border-radius:6px;padding:8px 12px;font-size:.9rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-block}.card-links a:hover{color:#1a1a66;background:#d0d0ff}.rank-pill{color:#222;background:#ededed;border-radius:999px;padding:6px 10px;font-weight:700;display:inline-block}.form{gap:14px;display:grid}.field{gap:6px;display:grid}label{font-weight:600}input,textarea{color:#111;width:100%;font:inherit;background:#fff;border:1px solid #d4d4d4;border-radius:10px;padding:12px 14px}textarea{resize:vertical}button{color:#111;width:fit-content;font:inherit;cursor:pointer;background:#f2f2f2;border:1px solid #d0d0d0;border-radius:10px;padding:11px 15px;font-weight:700}button:hover{background:#e8e8e8}.toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.admin-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.status{color:#4b5563;min-height:24px;margin-top:14px}.hidden{display:none}.empty{color:#6b7280;background:#fafafa;border:1px dashed #cfcfcf;border-radius:10px;padding:14px}.checkbox-group{background:#fafafa;border:1px solid #d4d4d4;border-radius:10px;gap:10px;max-height:300px;padding:8px;display:grid;overflow-y:auto}.checkbox-item{align-items:center;gap:8px;display:flex}.checkbox-item input[type=checkbox]{cursor:pointer;width:auto;margin:0}.checkbox-item label{cursor:pointer;margin:0;font-weight:500}.item-list{gap:10px;max-height:400px;display:grid;overflow-y:auto}.item-card{cursor:pointer;background:#fafafa;border:1px solid #e3e3e3;border-radius:10px;padding:12px;transition:all .2s}.item-card:hover{background:#f0f0f0;border-color:silver;box-shadow:0 2px 6px #00000014}.item-card-title{margin:0 0 4px;font-weight:600}.item-card-meta{color:#666;margin:0;font-size:.9rem}.form-actions{flex-wrap:wrap;gap:8px;display:flex}.form-actions button{flex:1;min-width:120px}.btn-danger{color:#991b1b;background:#fee2e2;border-color:#fca5a5}.btn-danger:hover{background:#fecaca}.subpanel{margin-bottom:16px}@media (width<=800px){.admin-grid{grid-template-columns:1fr}.form-actions{flex-direction:column}.form-actions button{width:100%}}
